Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antirez/disque
/ functions
Functions
1,943 in github.com/antirez/disque
⨍
Functions
1,943
◇
Types & classes
265
↓ 12 callers
Function
thd_create
deps/jemalloc/test/src/thd.c:4
↓ 12 callers
Function
thd_join
deps/jemalloc/test/src/thd.c:13
↓ 11 callers
Function
get_huge_size
deps/jemalloc/test/integration/xallocx.c:118
↓ 11 callers
Function
redisReaderGetReply
deps/hiredis/hiredis.c:617
↓ 11 callers
Function
sdsempty
Create an empty (zero length) sds string. Even in this case the string * always has an implicit null term. */
deps/hiredis/sds.c:139
↓ 10 callers
Function
base_alloc
* base_alloc() guarantees demand-zeroed memory, in order to make multi-page * sparse data structures such as radix tree nodes efficient with respect
deps/jemalloc/src/base.c:78
↓ 10 callers
Function
ckh_search
deps/jemalloc/src/ckh.c:514
↓ 10 callers
Function
dictDelete
src/dict.c:446
↓ 10 callers
Function
dictFetchValue
src/dict.c:510
↓ 10 callers
Function
dictGetIterator
src/dict.c:555
↓ 10 callers
Function
fini_gen_rand
deps/jemalloc/test/src/SFMT.c:714
↓ 10 callers
Function
gen_rand32
* This function generates and returns 32-bit pseudorandom number. * init_gen_rand or init_by_array must be called before this function. * @return 32
deps/jemalloc/test/src/SFMT.c:447
↓ 10 callers
Function
redisGetReply
deps/hiredis/hiredis.c:1210
↓ 10 callers
Function
sdscatrepr
Append to the sds string "s" an escaped string representation where * all the non-printable characters (tested with isprint()) are turned into * esc
src/sds.c:858
↓ 10 callers
Function
sdscatsds
Append the specified sds 't' to the existing sds 's'. * * After the call, the modified sds string is no longer valid and all the * references must
src/sds.c:399
↓ 10 callers
Function
sdsnewlen
Create a new sds string with the content specified by the 'init' pointer * and 'initlen'. * If NULL is used for 'init' the string is initialized wit
deps/hiredis/sds.c:81
↓ 10 callers
Function
zrealloc
src/zmalloc.c:132
↓ 9 callers
Function
a0dalloc
deps/jemalloc/src/jemalloc.c:329
↓ 9 callers
Function
addReplyString
src/networking.c:319
↓ 9 callers
Function
arena_mapbits_large_get
deps/jemalloc/include/jemalloc/internal/arena.h:752
↓ 9 callers
Function
connect
deps/hiredis/test.c:86
↓ 9 callers
Function
dictGenHashFunction
MurmurHash2, by Austin Appleby * Note - This code makes a few assumptions about how your machine behaves - * 1. We can read a 4-byte value from any
src/dict.c:103
↓ 9 callers
Function
extent_node_init
deps/jemalloc/include/jemalloc/internal/extent.h:195
↓ 9 callers
Function
extent_node_zeroed_get
deps/jemalloc/include/jemalloc/internal/extent.h:117
↓ 9 callers
Function
freeClient
src/networking.c:663
↓ 9 callers
Function
getLongLongFromObject
src/object.c:481
↓ 9 callers
Function
prof_bt_count
deps/jemalloc/src/prof.c:907
↓ 9 callers
Function
redisContextCloseFd
deps/hiredis/net.c:57
↓ 9 callers
Function
redisFormatCommand
Format a command according to the Redis protocol. This function * takes a format similar to printf: * * %s represents a C null terminated string yo
deps/hiredis/hiredis.c:925
↓ 9 callers
Function
redisReaderCreate
deps/hiredis/hiredis.c:556
↓ 9 callers
Function
redisReaderFree
deps/hiredis/hiredis.c:577
↓ 9 callers
Function
rewriteConfigRewriteLine
Rewrite the specified configuration option with the new "line". * It progressively uses lines of the file that were already used for the same * conf
src/config.c:985
↓ 9 callers
Function
sdsavail
deps/hiredis/sds.h:103
↓ 9 callers
Function
sdssetlen
src/sds.h:129
↓ 9 callers
Function
sdssetlen
deps/hiredis/sds.h:129
↓ 9 callers
Function
updateJobAwakeTime
Ask the system to update the time the job will be called again as an * argument of awakeJob() in order to handle delayed tasks for this job. * If 'a
src/job.c:384
↓ 9 callers
Function
ustime
Return the UNIX time in microseconds */
src/server.c:263
↓ 9 callers
Function
yesnotoi
src/config.c:123
↓ 8 callers
Function
SHA1Update
src/sha1.c:131
↓ 8 callers
Function
addReplyBulk
Add a Disque Object as a bulk reply */
src/networking.c:490
↓ 8 callers
Function
addReplyCommandFlag
Helper function for addReplyCommand() to output flags. */
src/server.c:1812
↓ 8 callers
Function
arena_mapbits_unallocated_set
deps/jemalloc/include/jemalloc/internal/arena.h:794
↓ 8 callers
Function
arena_miscelm_to_rpages
deps/jemalloc/include/jemalloc/internal/arena.h:605
↓ 8 callers
Function
clusterBuildMessageHdr
Build the message header */
src/cluster.c:1640
↓ 8 callers
Function
dictRelease
Clear & Release the hash table */
src/dict.c:482
↓ 8 callers
Function
extent_node_size_set
deps/jemalloc/include/jemalloc/internal/extent.h:160
↓ 8 callers
Function
getLongInfoField
Like the above function but automatically convert the result into * a long. On error (missing field) LONG_MIN is returned. */
src/disque-cli.c:1648
↓ 8 callers
Function
huge_node_get
deps/jemalloc/src/huge.c:6
↓ 8 callers
Function
mstime
src/disque-cli.c:120
↓ 8 callers
Function
redisAsyncCommand
deps/hiredis/async.c:644
↓ 8 callers
Function
redisContextInit
deps/hiredis/hiredis.c:989
↓ 8 callers
Function
rewriteConfigStringOption
Rewrite a string option. */
src/config.c:1059
↓ 8 callers
Function
rewriteConfigYesNoOption
Rewrite a yes/no option. */
src/config.c:1050
↓ 8 callers
Function
rtree_set
deps/jemalloc/include/jemalloc/internal/rtree.h:262
↓ 8 callers
Function
sdsHdrSize
src/sds.c:41
↓ 8 callers
Function
sdsHdrSize
deps/hiredis/sds.c:41
↓ 8 callers
Function
sdsMakeRoomFor
Enlarge the free space at the end of the sds string so that the caller * is sure that after calling this function can overwrite up to addlen * bytes
deps/hiredis/sds.c:194
↓ 8 callers
Function
sdsrange
Turn the string into a smaller (or equal) string containing only the * substring specified by the 'start' and 'end' indexes. * * start and end can
deps/hiredis/sds.c:714
↓ 8 callers
Function
tsd_nominal
deps/jemalloc/include/jemalloc/internal/tsd.h:631
↓ 8 callers
Function
usec
deps/hiredis/test.c:40
↓ 8 callers
Function
validate_fill
deps/jemalloc/test/integration/rallocx.c:46
↓ 7 callers
Function
__redisAsyncDisconnect
Helper function to make the disconnect happen and clean up. */
deps/hiredis/async.c:320
↓ 7 callers
Function
a0malloc
deps/jemalloc/src/jemalloc.c:322
↓ 7 callers
Function
arena_mapbitsp_get
deps/jemalloc/include/jemalloc/internal/arena.h:638
↓ 7 callers
Function
bitmap_full
deps/jemalloc/include/jemalloc/internal/bitmap.h:113
↓ 7 callers
Function
bitmap_get
deps/jemalloc/include/jemalloc/internal/bitmap.h:122
↓ 7 callers
Function
ckh_remove
deps/jemalloc/src/ckh.c:482
↓ 7 callers
Function
clusterLookupNode
Node lookup by name */
src/cluster.c:690
↓ 7 callers
Function
do_prof_reset
deps/jemalloc/test/unit/prof_reset.c:38
↓ 7 callers
Function
enqueueJob
Queue the job and change its state accordingly. If the job is already * in QUEUED state, or the job has retry set to 0 and the JOB_FLAG_DELIVERED *
src/queue.c:148
↓ 7 callers
Function
gen_rand64
* This function generates and returns 64-bit pseudorandom number. * init_gen_rand or init_by_array must be called before this function. * The functi
deps/jemalloc/test/src/SFMT.c:482
↓ 7 callers
Function
get_lg_prof_sample
deps/jemalloc/test/unit/prof_reset.c:27
↓ 7 callers
Function
malloc_init
deps/jemalloc/src/jemalloc.c:281
↓ 7 callers
Function
prof_active_get_unlocked
deps/jemalloc/include/jemalloc/internal/prof.h:350
↓ 7 callers
Function
prof_idump
deps/jemalloc/src/prof.c:1587
↓ 7 callers
Function
randomTimeError
Return a random time error between -(milliseconds/2) and +(milliseconds/2). * This is useful in order to desynchronize multiple nodes competing for t
src/server.c:281
↓ 7 callers
Function
setProtocolError
Helper function. Trims query buffer to make the function that processes * multi bulk requests idempotent. */
src/networking.c:914
↓ 7 callers
Function
skiplistPopTail
If the skip list is empty, NULL is returned, otherwise the element * at tail is removed and its pointed object returned. */
src/skiplist.c:255
↓ 7 callers
Function
unblockClient
Unblock a client calling the right function depending on the kind * of operation the client is blocking for. */
src/blocked.c:136
↓ 7 callers
Function
zmalloc_size
src/zmalloc.c:165
↓ 6 callers
Function
a0get
deps/jemalloc/src/jemalloc.c:297
↓ 6 callers
Function
addDeferredMultiBulkLength
Adds an empty object to the reply list that will contain the multi bulk * length, which is not known when this function is called. */
src/networking.c:372
↓ 6 callers
Function
addReplyBulkLongLong
Add a long long as a bulk reply */
src/networking.c:521
↓ 6 callers
Function
arena_mapbitsp_write
deps/jemalloc/include/jemalloc/internal/arena.h:770
↓ 6 callers
Function
arena_prof_promoted
deps/jemalloc/src/arena.c:2384
↓ 6 callers
Function
atomic_add_uint32
deps/jemalloc/include/jemalloc/internal/atomic.h:295
↓ 6 callers
Function
atomic_add_uint64
deps/jemalloc/include/jemalloc/internal/atomic.h:71
↓ 6 callers
Function
buferror
* glibc provides a non-standard strerror_r() when _GNU_SOURCE is defined, so * provide a wrapper. */
deps/jemalloc/src/util.c:79
↓ 6 callers
Function
chunk_hooks_get
deps/jemalloc/src/chunk.c:65
↓ 6 callers
Function
ckh_new
deps/jemalloc/src/ckh.c:349
↓ 6 callers
Function
clusterAddNode
Add a node to the nodes hash table */
src/cluster.c:660
↓ 6 callers
Function
clusterSendMessage
Put stuff into the send buffer. * * It is guaranteed that this function will never have as a side effect * the link to be invalidated, so it is saf
src/cluster.c:1604
↓ 6 callers
Function
crc64
src/crc64.c:173
↓ 6 callers
Function
createQueue
Crete a new queue, register it in the queue hash tables. * On success the pointer to the new queue is returned. If a queue with the * same name alre
src/queue.c:61
↓ 6 callers
Function
dequeueJob
Remove a job from the queue. Returns C_OK if the job was there and * is now removed (updating the job state back to ACTIVE), otherwise * C_ERR is re
src/queue.c:198
↓ 6 callers
Function
dictGetRandomKey
Return a random entry from the hash table. Useful to * implement randomized algorithms */
src/dict.c:623
↓ 6 callers
Function
disqueGitSHA1
src/release.c:40
↓ 6 callers
Function
do_recursion
deps/jemalloc/test/src/SFMT.c:244
↓ 6 callers
Function
double_eq_rel
deps/jemalloc/test/unit/math.c:12
↓ 6 callers
Function
getDecodedObject
Get a decoded version of an encoded object (returned as a new object). * If the object is already raw-encoded just increment the ref count. */
src/object.c:306
← previous
next →
101–200 of 1,943, ranked by callers