MCPcopy Create free account

hub / github.com/antirez/disque / functions

Functions1,943 in github.com/antirez/disque

↓ 201 callersFunctionserverLog
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 callersFunctionsdslen
src/sds.h:86
↓ 153 callersFunctionmalloc_mutex_unlock
deps/jemalloc/include/jemalloc/internal/mutex.h:90
↓ 127 callersFunctionmalloc_mutex_lock
deps/jemalloc/include/jemalloc/internal/mutex.h:71
↓ 105 callersFunctionsdsfree
Free an sds string. No operation is performed if 's' is NULL. */
src/sds.c:155
↓ 78 callersFunctionsdsnew
Create a new sds string starting from a null terminated C string. */
src/sds.c:144
↓ 77 callersFunctionzfree
src/zmalloc.c:175
↓ 71 callersFunctionaddReply
src/networking.c:269
↓ 67 callersFunctionsdscatprintf
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 callersFunctionsdsempty
Create an empty (zero length) sds string. Even in this case the string * always has an implicit null term. */
src/sds.c:139
↓ 57 callersFunctionzmalloc
src/zmalloc.c:104
↓ 55 callersFunctionsdscat
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 callersFunctionsdslen
deps/hiredis/sds.h:86
↓ 51 callersFunctionsdscatlen
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 callersFunctionfreeReplyObject
Free a reply object */
deps/hiredis/hiredis.c:72
↓ 48 callersFunctionmalloc_cprintf
deps/jemalloc/src/util.c:629
↓ 46 callersFunctionaddReplyError
src/networking.c:331
↓ 45 callersFunctioncreateObject
src/object.c:39
↓ 44 callersFunctionaddReplyBulkCString
Add a C nul term string as bulk reply */
src/networking.c:512
↓ 43 callersFunctionaddReplyLongLong
src/networking.c:447
↓ 42 callersFunctiontsd_fetch
deps/jemalloc/include/jemalloc/internal/tsd.h:611
↓ 41 callersFunctionmstime
Return the UNIX time in milliseconds */
src/server.c:274
↓ 41 callersFunctionredisCommand
deps/hiredis/hiredis.c:1345
↓ 38 callersFunctionsdsfree
Free an sds string. No operation is performed if 's' is NULL. */
deps/hiredis/sds.c:155
↓ 33 callersFunctionarena_mapbits_dirty_get
deps/jemalloc/include/jemalloc/internal/arena.h:719
↓ 30 callersFunctionidxof
deps/jemalloc/test/src/SFMT.c:145
↓ 26 callersFunctiondecrRefCount
src/object.c:174
↓ 26 callersFunctiondictAdd
Add an element to the target hash table */
src/dict.c:322
↓ 26 callersFunctionextent_node_size_get
deps/jemalloc/include/jemalloc/internal/extent.h:110
↓ 26 callersFunctiontcache_get
deps/jemalloc/include/jemalloc/internal/tcache.h:217
↓ 25 callersFunctionaddReplyMultiBulkLen
src/networking.c:456
↓ 24 callersFunctionanetSetError
src/anet.c:51
↓ 23 callersFunctiondictReleaseIterator
src/dict.c:610
↓ 23 callersFunctionsdsnewlen
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 callersFunctiondictNext
src/dict.c:575
↓ 22 callersFunctionextent_node_addr_get
deps/jemalloc/include/jemalloc/internal/extent.h:103
↓ 22 callersFunctionlistDelNode
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 callersFunctionmalloc_mutex_init
deps/jemalloc/src/mutex.c:71
↓ 22 callersFunctiontest_fail
deps/jemalloc/test/src/test.c:22
↓ 21 callersFunctionextent_node_arena_get
deps/jemalloc/include/jemalloc/internal/extent.h:96
↓ 21 callersFunctionll2string
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 callersFunctionsdscatlen
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 callersFunctionfreeJob
Free a job. Does not automatically unregister it. */
src/job.c:252
↓ 20 callersFunctionlistAddNodeTail
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 callersFunctionlookupQueue
Return the queue by name, or NULL if it does not exist. */
src/queue.c:91
↓ 18 callersFunction__redisSetError
deps/hiredis/hiredis.c:973
↓ 18 callersFunctionarena_miscelm_to_pageind
deps/jemalloc/include/jemalloc/internal/arena.h:592
↓ 18 callersFunctiondictFind
src/dict.c:489
↓ 18 callersFunctionmalloc_printf
deps/jemalloc/src/util.c:642
↓ 18 callersFunctionzstrdup
src/zmalloc.c:193
↓ 17 callersFunctionaddReplyErrorFormat
src/networking.c:335
↓ 17 callersFunctionarena_mapbits_decommitted_get
deps/jemalloc/include/jemalloc/internal/arena.h:741
↓ 17 callersFunctionarena_mapbits_unallocated_size_get
deps/jemalloc/include/jemalloc/internal/arena.h:675
↓ 17 callersFunctionarena_mapbits_unzeroed_get
deps/jemalloc/include/jemalloc/internal/arena.h:730
↓ 17 callersFunctiondictCreate
Create a new hash table */
src/dict.c:168
↓ 17 callersFunctionlistCreate
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 callersFunctionlookupJob
Lookup a job by ID. */
src/job.c:277
↓ 17 callersFunctionmalloc_write
* Wrapper around malloc_message() that avoids the need for * je_malloc_message(...) throughout the code. */
deps/jemalloc/src/util.c:65
↓ 17 callersFunctionredisFree
deps/hiredis/hiredis.c:1003
↓ 17 callersFunctionrefreshLine
Calls the two low level functions refreshSingleLine() or * refreshMultiLine() according to the selected mode. */
deps/linenoise/linenoise.c:584
↓ 17 callersFunctionset_errno
Set error code. */
deps/jemalloc/include/jemalloc/internal/util.h:289
↓ 17 callersFunctionstring2ll
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 callersFunctionarena_mapbits_get
deps/jemalloc/include/jemalloc/internal/arena.h:652
↓ 16 callersFunctioncreateStringObject
src/object.c:87
↓ 16 callersFunctionmalloc_initialized
deps/jemalloc/src/jemalloc.c:248
↓ 15 callersFunctionaddReplySds
src/networking.c:305
↓ 15 callersFunctionhash_rotl_32
/ Internal implementation. */
deps/jemalloc/include/jemalloc/internal/hash.h:34
↓ 15 callersFunctionlistNext
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 callersFunctionmalloc_mutex_postfork_child
deps/jemalloc/src/mutex.c:123
↓ 15 callersFunctionmalloc_mutex_postfork_parent
deps/jemalloc/src/mutex.c:116
↓ 15 callersFunctionmalloc_mutex_prefork
deps/jemalloc/src/mutex.c:109
↓ 15 callersFunctionsdsrange
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 callersFunctionabAppend
deps/linenoise/linenoise.c:446
↓ 14 callersFunctionaddReplyBulkCBuffer
Add a C buffer as bulk reply */
src/networking.c:497
↓ 14 callersFunctionarena_mapbits_allocated_get
deps/jemalloc/include/jemalloc/internal/arena.h:761
↓ 14 callersFunctionclusterDoBeforeSleep
src/cluster.c:2304
↓ 14 callersFunctionsdsdup
Duplicate an sds string. */
src/sds.c:150
↓ 14 callersFunctionzmalloc_used_memory
src/zmalloc.c:201
↓ 13 callersFunction__redisSetErrorFromErrno
deps/hiredis/net.c:64
↓ 13 callersFunctionarena_mapbits_large_size_get
deps/jemalloc/include/jemalloc/internal/arena.h:685
↓ 13 callersFunctiondictGetSafeIterator
src/dict.c:568
↓ 13 callersFunctionincrRefCount
src/object.c:170
↓ 13 callersFunctionlistRewind
Create an iterator in the list private iterator structure */
src/adlist.c:197
↓ 13 callersFunctionsdsMakeRoomFor
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 callersFunctionsdsnew
Create a new sds string starting from a null terminated C string. */
deps/hiredis/sds.c:144
↓ 13 callersFunctionunregisterJob
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 callersFunctionJEMALLOC_ATTR
deps/jemalloc/src/jemalloc.c:1416
↓ 12 callersFunctionaeCreateFileEvent
src/ae.c:135
↓ 12 callersFunctionaeDeleteFileEvent
src/ae.c:155
↓ 12 callersFunctionanetNonBlock
src/anet.c:84
↓ 12 callersFunctionarena_mapbits_large_set
deps/jemalloc/include/jemalloc/internal/arena.h:830
↓ 12 callersFunctionckh_count
deps/jemalloc/src/ckh.c:429
↓ 12 callersFunctioncliConnect
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 callersFunctionget_errno
Get last error code. */
deps/jemalloc/include/jemalloc/internal/util.h:301
↓ 12 callersFunctionlistRelease
Free the whole list. * * This function can't fail. */
src/adlist.c:58
↓ 12 callersFunctionredisReaderFeed
deps/hiredis/hiredis.c:585
↓ 12 callersFunctionrewriteConfigNumericalOption
Rewrite a numerical (long long range) option. */
src/config.c:1081
↓ 12 callersFunctionsdsavail
src/sds.h:103
↓ 12 callersFunctionsdsfreesplitres
Free the result returned by sdssplitlen(), or do nothing if 'tokens' is NULL. */
src/sds.c:845
↓ 12 callersFunctionstring2l
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