MCPcopy Create free account

hub / github.com/Snapchat/KeyDB / functions

Functions10,473 in github.com/Snapchat/KeyDB

↓ 747 callersFunctionszFromObj
src/server.h:1020
↓ 653 callersFunctionserverLog
src/fastlock.cpp:158
↓ 610 callersFunctionsdslen
src/sds.h:117
↓ 518 callersFunctionsdsfree
Free an sds string. No operation is performed if 's' is NULL. */
src/sds.c:221
↓ 483 callersFunctionptrFromObj
src/server.h:1006
↓ 477 callersFunctionzfree
src/zmalloc.cpp:295
↓ 437 callersFunctiontsd_tsdn
deps/jemalloc/include/jemalloc/internal/tsd.h:223
↓ 373 callersFunctiontsd_tsdn
deps/memkind/src/jemalloc/include/jemalloc/internal/tsd.h:134
↓ 337 callersFunctionrun_test
* Create threads and measure the cost of maintaining allocations from threads. * Allocations order is sequential (otherwise the results might be very
deps/memkind/src/test/memory_footprint_test.cpp:198
↓ 299 callersFunctionaddReplyError
See addReplyErrorLength for expectations from the input string. */
src/networking.cpp:616
↓ 258 callersFunctionsdsnew
Create a new sds string starting from a null terminated C string. */
src/sds.c:199
↓ 253 callersFunctiondecrRefCount
src/object.cpp:405
↓ 240 callersFunctionzmalloc
Allocate memory or panic */
src/zmalloc.cpp:130
↓ 224 callersFunctionfree
deps/memkind/src/autohbw/autohbw.c:454
↓ 223 callersFunctionaddReply
----------------------------------------------------------------------------- * Higher level functions to queue data on the client output buffer. *
src/networking.cpp:443
↓ 222 callersFunctionsdsempty
Create an empty (zero length) sds string. Even in this case the string * always has an implicit null term. */
src/sds.c:194
↓ 217 callersFunctionaddReplyBulkCString
Add a C null term string as bulk reply */
src/networking.cpp:1011
↓ 204 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:474
↓ 194 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:230
↓ 194 callersFunctionlistRewind
Create an iterator in the list private iterator structure */
src/adlist.c:206
↓ 189 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:656
↓ 179 callersFunctionaddReplyLongLong
src/networking.cpp:906
↓ 177 callersFunctionmalloc_mutex_unlock
deps/jemalloc/include/jemalloc/internal/mutex.h:229
↓ 173 callersFunctionfreeReplyObject
Free a reply object */
deps/hiredis/hiredis.c:90
↓ 173 callersFunctionmstime
Return the UNIX time in milliseconds */
src/server.cpp:1310
↓ 169 callersFunctionsdscat
Append the specified null terminated 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:489
↓ 160 callersFunctionmalloc_mutex_unlock
deps/memkind/src/jemalloc/include/jemalloc/internal/mutex.h:212
↓ 158 callersMethodend
deps/memkind/src/test/gtest_fused/gtest/gtest.h:9390
↓ 154 callersFunctionmalloc_cprintf
deps/memkind/src/jemalloc/src/malloc_io.c:660
↓ 151 callersFunctionmalloc_mutex_lock
deps/jemalloc/include/jemalloc/internal/mutex.h:216
↓ 144 callersMethodbegin
deps/memkind/src/test/gtest_fused/gtest/gtest.h:9386
↓ 139 callersFunctionmalloc_mutex_lock
deps/memkind/src/jemalloc/include/jemalloc/internal/mutex.h:200
↓ 131 callersFunctiondictReleaseIterator
src/dict.cpp:980
↓ 128 callersMethodsize
src/db.cpp:3091
↓ 123 callersFunctionaddReplyArrayLen
src/networking.cpp:920
↓ 119 callersFunctionmemkind_free
deps/memkind/src/src/memkind.c:661
↓ 117 callersFunctiondictNext
src/dict.cpp:945
↓ 114 callersMethodlevel
src/server.h:1774
↓ 112 callersFunctionmemkind_malloc
deps/memkind/src/src/memkind.c:565
↓ 111 callersFunctionmalloc
deps/memkind/src/autohbw/autohbw.c:409
↓ 101 callersFunctionnotifyKeyspaceEvent
The API provided to the rest of the Redis core is a simple function: * * notifyKeyspaceEvent(char *event, robj *key, int dbid); * * 'event' is a C
src/notify.cpp:101
↓ 99 callersFunctioncreateObject
src/object.cpp:44
↓ 96 callersFunctionsdsnewlen
src/sds.c:184
↓ 95 callersFunctionGlobalLocksAcquired
src/server.h:3958
↓ 91 callersFunctionmakeObjectShared
Set a special refcount in the object to make it "shared": * incrRefCount and decrRefCount() will test for this special refcount * and will not touch
src/object.cpp:77
↓ 89 callersFunctiondictGetIterator
src/dict.cpp:925
↓ 88 callersFunctioncheckType
src/object.cpp:440
↓ 85 callersFunctionaddReplyErrorFormat
See addReplyErrorLength for expectations from the formatted string. * The formatted string is safe to contain \r and \n anywhere. */
src/networking.cpp:631
↓ 85 callersFunctionlua_pushstring
deps/lua/src/lapi.c:454
↓ 82 callersMethodget
src/sds.h:388
↓ 81 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:115
↓ 81 callersFunctionraxStop
Free the iterator. */
src/rax.c:1807
↓ 80 callersFunctiondictAdd
Add an element to the target hash table */
src/dict.cpp:606
↓ 79 callersFunctionaddReplyBulkCBuffer
Add a C buffer as bulk reply */
src/networking.cpp:989
↓ 78 callersFunctionlistCreate
Create a new list. The created list can be freed with * listRelease(), but private value of every node need to be freed * by the user before to call
src/adlist.c:42
↓ 78 callersFunctionsdsdup
Duplicate an sds string. */
src/sds.c:205
↓ 77 callersFunctionlua_pushvalue
deps/lua/src/lapi.c:228
↓ 76 callersFunctionaddReplyErrorObject
The 'err' object is expected to start with -ERRORCODE and end with \r\n. * Unlike addReplyErrorSds and others alike which rely on addReplyErrorLength
src/networking.cpp:610
↓ 74 callersFunctiondictCreate
Create a new hash table */
src/dict.cpp:110
↓ 73 callersFunctioncreateStringObject
src/object.cpp:145
↓ 73 callersFunctionsignalModifiedKey
Note that the 'c' argument may be NULL if the key was modified out of * a context of a client. */
src/db.cpp:753
↓ 72 callersFunctionluaL_error
deps/lua/src/lauxlib.c:86
↓ 72 callersFunctionziplistIndex
Returns an offset to use for iterating with ziplistNext. When the given * index is negative, the list is traversed back to front. When the list * do
src/ziplist.c:1152
↓ 71 callersFunctiondictFind
src/dict.cpp:872
↓ 71 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:319
↓ 69 callersFunctionsdscatfmt
This function is similar to sdscatprintf, but much faster as it does * not rely on sprintf() family functions implemented by the libc that * are oft
src/sds.c:681
↓ 69 callersMethodsize
Returns the number of TestPartResult objects in the array.
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:10259
↓ 68 callersFunctionraxSeek
Seek an iterator at the specified element. * Return 0 if the seek failed for syntax error or out of memory. Otherwise * 1 is returned. When 0 is ret
src/rax.c:1510
↓ 67 callersFunctionlua_pushnumber
deps/lua/src/lapi.c:429
↓ 66 callersFunctiondictRelease
Clear & Release the hash table */
src/dict.cpp:839
↓ 65 callersMethodfind
src/t_nhash.cpp:64
↓ 64 callersFunctionValuesIn
deps/memkind/src/test/gtest_fused/gtest/gtest.h:18174
↓ 64 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:168
↓ 63 callersFunctioncreateBoolConfig
src/config.cpp:2056
↓ 63 callersFunctionredisCommand
deps/hiredis/hiredis.c:1163
↓ 62 callersFunctionarenas_i
deps/jemalloc/src/ctl.c:761
↓ 62 callersFunctionhi_free
deps/hiredis/alloc.c:82
↓ 61 callersFunctionemitter_json_kv
Shorthand for calling emitter_json_key and then emitter_json_value. */
deps/jemalloc/include/jemalloc/internal/emitter.h:262
↓ 60 callersFunctionlistRelease
Free the whole list. * * This function can't fail. */
src/adlist.c:77
↓ 60 callersFunctionsentinelEvent
Send an event to log, pub/sub, user notification script. * * 'level' is the log level for logging. Only LL_WARNING events will trigger * the execut
src/sentinel.cpp:696
↓ 58 callersFunctionquicklistRelease
Free entire quicklist. */
src/quicklist.c:161
↓ 58 callersFunctionraxNext
Go to the next element in the scope of the iterator 'it'. * If EOF (or out of memory) is reached, 0 is returned, otherwise 1 is * returned. In case
src/rax.c:1696
↓ 57 callersFunctionmalloc_printf
deps/jemalloc/src/malloc_io.c:658
↓ 56 callersFunctionraxStart
Initialize a Rax iterator. This call should be performed a single time * to initialize the iterator, and must be followed by a raxSeek() call, * oth
src/rax.c:1258
↓ 55 callersFunctionhi_sdslen
deps/hiredis/sds.h:101
↓ 55 callersFunctionldbLog
Append a log entry to the specified LDB log. */
src/scripting.cpp:1907
↓ 55 callersFunctionquicklistNew
Create a new quicklist with some default parameters. */
src/quicklist.c:138
↓ 54 callersFunctionarena_get
deps/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_a.h:84
↓ 54 callersFunctionextent_size_get
deps/jemalloc/include/jemalloc/internal/extent_inlines.h:139
↓ 54 callersFunctionsdsfreesplitres
Free the result returned by sdssplitlen(), or do nothing if 'tokens' is NULL. */
src/sds.c:955
↓ 53 callersFunctionaddReplyBulkLongLong
Add a long long as a bulk reply */
src/networking.cpp:1023
↓ 53 callersFunctionzrealloc
Reallocate memory and zero it or panic */
src/zmalloc.cpp:261
↓ 52 callersFunctionquicklistPushTail
Add new entry to tail node of quicklist. * * Returns 0 if used existing tail. * Returns 1 if new tail created. */
src/quicklist.c:516
↓ 52 callersFunctionziplistNext
Return pointer to next entry in ziplist. * * zl is the pointer to the ziplist * p is the pointer to the current element * * The element after 'p'
src/ziplist.c:1192
↓ 51 callersFunctionextent_size_get
deps/memkind/src/jemalloc/include/jemalloc/internal/extent_inlines.h:123
↓ 51 callersFunctionincrRefCount
src/object.cpp:392
↓ 50 callersFunctionlua_gettop
deps/lua/src/lapi.c:159
↓ 50 callersFunctionziplistPush
src/ziplist.c:1143
↓ 49 callersMethodarm
src/aelocker.h:12
↓ 49 callersMethoddata
src/compactvector.h:158
next →1–100 of 10,473, ranked by callers