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
↓ 201 callers
Function
serverLog
Like serverLogRaw() but with printf-alike support. This is the function that * is used across the code. The raw version is only used in order to dump
src/server.c:197
↓ 161 callers
Function
sdslen
src/sds.h:86
↓ 153 callers
Function
malloc_mutex_unlock
deps/jemalloc/include/jemalloc/internal/mutex.h:90
↓ 127 callers
Function
malloc_mutex_lock
deps/jemalloc/include/jemalloc/internal/mutex.h:71
↓ 105 callers
Function
sdsfree
Free an sds string. No operation is performed if 's' is NULL. */
src/sds.c:155
↓ 78 callers
Function
sdsnew
Create a new sds string starting from a null terminated C string. */
src/sds.c:144
↓ 77 callers
Function
zfree
src/zmalloc.c:175
↓ 71 callers
Function
addReply
src/networking.c:269
↓ 67 callers
Function
sdscatprintf
Append to the sds string 's' a string obtained using printf-alike format * specifier. * * After the call, the modified sds string is no longer vali
src/sds.c:554
↓ 67 callers
Function
sdsempty
Create an empty (zero length) sds string. Even in this case the string * always has an implicit null term. */
src/sds.c:139
↓ 57 callers
Function
zmalloc
src/zmalloc.c:104
↓ 55 callers
Function
sdscat
Append the specified null termianted C string to the sds string 's'. * * After the call, the passed sds string is no longer valid and all the * ref
src/sds.c:391
↓ 53 callers
Function
sdslen
deps/hiredis/sds.h:86
↓ 51 callers
Function
sdscatlen
Append the specified binary-safe string pointed by 't' of 'len' bytes to the * end of the specified sds string 's'. * * After the call, the passed
src/sds.c:376
↓ 50 callers
Function
freeReplyObject
Free a reply object */
deps/hiredis/hiredis.c:72
↓ 48 callers
Function
malloc_cprintf
deps/jemalloc/src/util.c:629
↓ 46 callers
Function
addReplyError
src/networking.c:331
↓ 45 callers
Function
createObject
src/object.c:39
↓ 44 callers
Function
addReplyBulkCString
Add a C nul term string as bulk reply */
src/networking.c:512
↓ 43 callers
Function
addReplyLongLong
src/networking.c:447
↓ 42 callers
Function
tsd_fetch
deps/jemalloc/include/jemalloc/internal/tsd.h:611
↓ 41 callers
Function
mstime
Return the UNIX time in milliseconds */
src/server.c:274
↓ 41 callers
Function
redisCommand
deps/hiredis/hiredis.c:1345
↓ 38 callers
Function
sdsfree
Free an sds string. No operation is performed if 's' is NULL. */
deps/hiredis/sds.c:155
↓ 33 callers
Function
arena_mapbits_dirty_get
deps/jemalloc/include/jemalloc/internal/arena.h:719
↓ 30 callers
Function
idxof
deps/jemalloc/test/src/SFMT.c:145
↓ 26 callers
Function
decrRefCount
src/object.c:174
↓ 26 callers
Function
dictAdd
Add an element to the target hash table */
src/dict.c:322
↓ 26 callers
Function
extent_node_size_get
deps/jemalloc/include/jemalloc/internal/extent.h:110
↓ 26 callers
Function
tcache_get
deps/jemalloc/include/jemalloc/internal/tcache.h:217
↓ 25 callers
Function
addReplyMultiBulkLen
src/networking.c:456
↓ 24 callers
Function
anetSetError
src/anet.c:51
↓ 23 callers
Function
dictReleaseIterator
src/dict.c:610
↓ 23 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
src/sds.c:81
↓ 22 callers
Function
dictNext
src/dict.c:575
↓ 22 callers
Function
extent_node_addr_get
deps/jemalloc/include/jemalloc/internal/extent.h:103
↓ 22 callers
Function
listDelNode
Remove the specified node from the specified list. * It's up to the caller to free the private value of the node. * * This function can't fail. */
src/adlist.c:159
↓ 22 callers
Function
malloc_mutex_init
deps/jemalloc/src/mutex.c:71
↓ 22 callers
Function
test_fail
deps/jemalloc/test/src/test.c:22
↓ 21 callers
Function
extent_node_arena_get
deps/jemalloc/include/jemalloc/internal/extent.h:96
↓ 21 callers
Function
ll2string
Convert a long long into a string. Returns the number of * characters needed to represent the number. * If the buffer is not big enough to store the
src/util.c:264
↓ 21 callers
Function
sdscatlen
Append the specified binary-safe string pointed by 't' of 'len' bytes to the * end of the specified sds string 's'. * * After the call, the passed
deps/hiredis/sds.c:376
↓ 20 callers
Function
freeJob
Free a job. Does not automatically unregister it. */
src/job.c:252
↓ 20 callers
Function
listAddNodeTail
Add a new node to the list, to tail, containing the specified 'value' * pointer as value. * * On error, NULL is returned and no operation is perfor
src/adlist.c:106
↓ 20 callers
Function
lookupQueue
Return the queue by name, or NULL if it does not exist. */
src/queue.c:91
↓ 18 callers
Function
__redisSetError
deps/hiredis/hiredis.c:973
↓ 18 callers
Function
arena_miscelm_to_pageind
deps/jemalloc/include/jemalloc/internal/arena.h:592
↓ 18 callers
Function
dictFind
src/dict.c:489
↓ 18 callers
Function
malloc_printf
deps/jemalloc/src/util.c:642
↓ 18 callers
Function
zstrdup
src/zmalloc.c:193
↓ 17 callers
Function
addReplyErrorFormat
src/networking.c:335
↓ 17 callers
Function
arena_mapbits_decommitted_get
deps/jemalloc/include/jemalloc/internal/arena.h:741
↓ 17 callers
Function
arena_mapbits_unallocated_size_get
deps/jemalloc/include/jemalloc/internal/arena.h:675
↓ 17 callers
Function
arena_mapbits_unzeroed_get
deps/jemalloc/include/jemalloc/internal/arena.h:730
↓ 17 callers
Function
dictCreate
Create a new hash table */
src/dict.c:168
↓ 17 callers
Function
listCreate
Create a new list. The created list can be freed with * AlFreeList(), but private value of every node need to be freed * by the user before to call
src/adlist.c:41
↓ 17 callers
Function
lookupJob
Lookup a job by ID. */
src/job.c:277
↓ 17 callers
Function
malloc_write
* Wrapper around malloc_message() that avoids the need for * je_malloc_message(...) throughout the code. */
deps/jemalloc/src/util.c:65
↓ 17 callers
Function
redisFree
deps/hiredis/hiredis.c:1003
↓ 17 callers
Function
refreshLine
Calls the two low level functions refreshSingleLine() or * refreshMultiLine() according to the selected mode. */
deps/linenoise/linenoise.c:584
↓ 17 callers
Function
set_errno
Set error code. */
deps/jemalloc/include/jemalloc/internal/util.h:289
↓ 17 callers
Function
string2ll
Convert a string into a long long. Returns 1 if the string could be parsed * into a (non-overflowing) long long, 0 otherwise. The value will be set t
src/util.c:321
↓ 16 callers
Function
arena_mapbits_get
deps/jemalloc/include/jemalloc/internal/arena.h:652
↓ 16 callers
Function
createStringObject
src/object.c:87
↓ 16 callers
Function
malloc_initialized
deps/jemalloc/src/jemalloc.c:248
↓ 15 callers
Function
addReplySds
src/networking.c:305
↓ 15 callers
Function
hash_rotl_32
/ Internal implementation. */
deps/jemalloc/include/jemalloc/internal/hash.h:34
↓ 15 callers
Function
listNext
Return the next element of an iterator. * It's valid to remove the currently returned element using * listDelNode(), but not to remove other element
src/adlist.c:221
↓ 15 callers
Function
malloc_mutex_postfork_child
deps/jemalloc/src/mutex.c:123
↓ 15 callers
Function
malloc_mutex_postfork_parent
deps/jemalloc/src/mutex.c:116
↓ 15 callers
Function
malloc_mutex_prefork
deps/jemalloc/src/mutex.c:109
↓ 15 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
src/sds.c:714
↓ 14 callers
Function
abAppend
deps/linenoise/linenoise.c:446
↓ 14 callers
Function
addReplyBulkCBuffer
Add a C buffer as bulk reply */
src/networking.c:497
↓ 14 callers
Function
arena_mapbits_allocated_get
deps/jemalloc/include/jemalloc/internal/arena.h:761
↓ 14 callers
Function
clusterDoBeforeSleep
src/cluster.c:2304
↓ 14 callers
Function
sdsdup
Duplicate an sds string. */
src/sds.c:150
↓ 14 callers
Function
zmalloc_used_memory
src/zmalloc.c:201
↓ 13 callers
Function
__redisSetErrorFromErrno
deps/hiredis/net.c:64
↓ 13 callers
Function
arena_mapbits_large_size_get
deps/jemalloc/include/jemalloc/internal/arena.h:685
↓ 13 callers
Function
dictGetSafeIterator
src/dict.c:568
↓ 13 callers
Function
incrRefCount
src/object.c:170
↓ 13 callers
Function
listRewind
Create an iterator in the list private iterator structure */
src/adlist.c:197
↓ 13 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
src/sds.c:194
↓ 13 callers
Function
sdsnew
Create a new sds string starting from a null terminated C string. */
deps/hiredis/sds.c:144
↓ 13 callers
Function
unregisterJob
Remove job references from the system, without freeing the job itself. * If the job was already unregistered, C_ERR is returned, otherwise * C_OK is
src/job.c:285
↓ 12 callers
Function
JEMALLOC_ATTR
deps/jemalloc/src/jemalloc.c:1416
↓ 12 callers
Function
aeCreateFileEvent
src/ae.c:135
↓ 12 callers
Function
aeDeleteFileEvent
src/ae.c:155
↓ 12 callers
Function
anetNonBlock
src/anet.c:84
↓ 12 callers
Function
arena_mapbits_large_set
deps/jemalloc/include/jemalloc/internal/arena.h:830
↓ 12 callers
Function
ckh_count
deps/jemalloc/src/ckh.c:429
↓ 12 callers
Function
cliConnect
Connect to the server. If force is not zero the connection is performed * even if there is already a connected socket. */
src/disque-cli.c:334
↓ 12 callers
Function
get_errno
Get last error code. */
deps/jemalloc/include/jemalloc/internal/util.h:301
↓ 12 callers
Function
listRelease
Free the whole list. * * This function can't fail. */
src/adlist.c:58
↓ 12 callers
Function
redisReaderFeed
deps/hiredis/hiredis.c:585
↓ 12 callers
Function
rewriteConfigNumericalOption
Rewrite a numerical (long long range) option. */
src/config.c:1081
↓ 12 callers
Function
sdsavail
src/sds.h:103
↓ 12 callers
Function
sdsfreesplitres
Free the result returned by sdssplitlen(), or do nothing if 'tokens' is NULL. */
src/sds.c:845
↓ 12 callers
Function
string2l
Convert a string into a long. Returns 1 if the string could be parsed into a * (non-overflowing) long, 0 otherwise. The value will be set to the pars
src/util.c:387
next →
1–100 of 1,943, ranked by callers