Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/KeyDB
/ functions
Functions
10,473 in github.com/Snapchat/KeyDB
⨍
Functions
10,473
◇
Types & classes
1,847
↓ 16 callers
Function
lua_call
deps/lua/src/lapi.c:776
↓ 16 callers
Function
lua_getstack
deps/lua/src/ldebug.c:84
↓ 16 callers
Function
lua_rawseti
deps/lua/src/lapi.c:684
↓ 16 callers
Function
memkind_calloc
deps/memkind/src/src/memkind.c:588
↓ 16 callers
Function
moduleGetReplyClient
Return the client object the `RM_Reply*` functions should target. * Normally this is just `ctx->client`, that is the client that called * the module
src/module.cpp:1506
↓ 16 callers
Function
nstime_ns
deps/jemalloc/src/nstime.c:21
↓ 16 callers
Function
redisConnectWithOptions
deps/hiredis/hiredis.c:787
↓ 16 callers
Function
rtree_extent_read
deps/memkind/src/jemalloc/include/jemalloc/internal/rtree.h:403
↓ 16 callers
Function
rtree_extent_read
deps/jemalloc/include/jemalloc/internal/rtree.h:415
↓ 16 callers
Function
sz_pind2sz
deps/memkind/src/jemalloc/include/jemalloc/internal/sz.h:102
↓ 16 callers
Function
tcache_get
deps/memkind/src/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_a.h:139
↓ 16 callers
Function
tcache_get
deps/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_a.h:141
↓ 16 callers
Function
usec
src/ziplist.c:1722
↓ 16 callers
Function
witness_assert_lockless
deps/memkind/src/jemalloc/include/jemalloc/internal/witness.h:268
↓ 16 callers
Function
ziplistCompare
Compare entry pointer to by 'p' with 'sstr' of length 'slen'. */ Return 1 if equal. */
src/ziplist.c:1321
↓ 16 callers
Function
zslValueLteMax
src/t_zset.cpp:307
↓ 15 callers
Function
Message
Copy constructor.
deps/memkind/src/test/gtest_fused/gtest/gtest.h:4394
↓ 15 callers
Function
aeThreadOffline
src/ae.cpp:871
↓ 15 callers
Function
aeThreadOnline
src/ae.cpp:849
↓ 15 callers
Function
background_thread_enabled
deps/memkind/src/jemalloc/include/jemalloc/internal/background_thread_inlines.h:4
↓ 15 callers
Function
cancelReplicationHandshake
This function aborts a non blocking replication attempt if there is one * in progress, by canceling the non-blocking connect attempt or * the initia
src/replication.cpp:3868
↓ 15 callers
Function
dictEmpty
src/dict.cpp:1421
↓ 15 callers
Function
dictGenHashFunction
src/dict.cpp:89
↓ 15 callers
Function
emitter_json_array_end
deps/jemalloc/include/jemalloc/internal/emitter.h:285
↓ 15 callers
Function
extent_state_get
deps/memkind/src/jemalloc/include/jemalloc/internal/extent_inlines.h:78
↓ 15 callers
Function
get_errno
Get last error code. */
deps/jemalloc/include/jemalloc/internal/util.h:56
↓ 15 callers
Function
hash_rotl_32
/ Internal implementation. */
deps/memkind/src/jemalloc/include/jemalloc/internal/hash.h:14
↓ 15 callers
Function
hash_rotl_32
/ Internal implementation. */
deps/jemalloc/include/jemalloc/internal/hash.h:14
↓ 15 callers
Function
hook_invoke_alloc
deps/jemalloc/src/hook.c:153
↓ 15 callers
Method
initialize_allocator
deps/memkind/src/test/allocator_perf_tool/AllocatorFactory.hpp:114
↓ 15 callers
Function
lpValidateNext
Validate the integrity of a single listpack entry and move to the next one. * The input argument 'pp' is a reference to the current record and is adv
src/listpack.c:877
↓ 15 callers
Function
luaL_addlstring
deps/lua/src/lauxlib.c:436
↓ 15 callers
Function
luaL_pushresult
deps/lua/src/lauxlib.c:447
↓ 15 callers
Function
lua_pcall
deps/lua/src/lapi.c:805
↓ 15 callers
Function
narenas_total_get
deps/memkind/src/jemalloc/src/jemalloc.c:304
↓ 15 callers
Method
next_prod
deps/concurrentqueue/concurrentqueue.h:1715
↓ 15 callers
Function
quicklistReleaseIterator
Release iterator. * If we still have a valid current node, then re-encode current node. */
src/quicklist.c:1113
↓ 15 callers
Function
rioWrite
src/rio.h:115
↓ 15 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:267
↓ 15 callers
Function
sdsdupshared
src/sds.c:209
↓ 15 callers
Function
sentinelGetMasterByName
Master lookup by name */
src/sentinel.cpp:1521
↓ 15 callers
Method
start
deps/memkind/src/test/allocator_perf_tool/Thread.hpp:35
↓ 15 callers
Function
streamDecodeID
This is the reverse of streamEncodeID(): the decoded ID will be stored * in the 'id' structure passed by reference. The buffer 'buf' must point * to
src/t_stream.cpp:381
↓ 15 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:474
↓ 15 callers
Function
sz_sa2u
* Compute usable size that would result from allocating an object with the * specified size and alignment. */
deps/memkind/src/jemalloc/include/jemalloc/internal/sz.h:261
↓ 15 callers
Function
tsdn_null
deps/memkind/src/jemalloc/include/jemalloc/internal/tsd.h:139
↓ 15 callers
Function
unblockClient
Unblock a client calling the right function depending on the kind * of operation the client is blocking for. */
src/blocked.cpp:192
↓ 15 callers
Function
ziplistDelete
Delete a single entry from the ziplist, pointed to by *p. * Also update *p in place, to be able to iterate over the * ziplist, while deleting entrie
src/ziplist.c:1265
↓ 14 callers
Function
_intsetValueEncoding
Return the required encoding for the provided value. */
src/intset.c:46
↓ 14 callers
Function
anetNonBlock
src/anet.c:89
↓ 14 callers
Function
catClientInfoString
Concatenate a string representing the state of a client in a human * readable format, into the sds string 's'. */
src/networking.cpp:2878
↓ 14 callers
Function
ctl_arena_stats_read_u64
Likewise: with ctl mutex synchronization, reading is simple. */
deps/jemalloc/src/ctl.c:664
↓ 14 callers
Function
extent_usize_get
deps/jemalloc/include/jemalloc/internal/extent_inlines.h:69
↓ 14 callers
Function
extents_npages_get
deps/jemalloc/src/extent.c:308
↓ 14 callers
Function
freeexp
deps/lua/src/lcode.c:223
↓ 14 callers
Method
gauge
src/modules/keydb_modstatsd/modmain.cpp:57
↓ 14 callers
Function
hasActiveChildProcessOrBGSave
src/server.cpp:1731
↓ 14 callers
Function
hashTypeLength
Return the number of elements in a hash. */
src/t_hash.cpp:314
↓ 14 callers
Function
hi_calloc
deps/hiredis/alloc.c:70
↓ 14 callers
Method
index
deps/memkind/src/test/gtest_fused/gtest/gtest.h:9876
↓ 14 callers
Function
init_exp
deps/lua/src/lparser.c:126
↓ 14 callers
Function
instanceLinkCloseConnection
Disconnect a hiredis connection in the context of an instance link. */
src/sentinel.cpp:1073
↓ 14 callers
Function
luaL_buffinit
deps/lua/src/lauxlib.c:472
↓ 14 callers
Function
luaL_checkstack
deps/lua/src/lauxlib.c:140
↓ 14 callers
Function
lua_remove
deps/lua/src/lapi.c:180
↓ 14 callers
Function
nstime_add
deps/jemalloc/src/nstime.c:51
↓ 14 callers
Function
rewriteClientCommandVector
Rewrite the command vector of the client. All the new objects ref count * is incremented. The old command vector is freed, and the old objects * ref
src/networking.cpp:3733
↓ 14 callers
Function
sdsZmallocSize
Return the size consumed from the allocator, for the specified SDS string, * including internal fragmentation. This function is used in order to comp
src/networking.cpp:48
↓ 14 callers
Function
sdssplitlen
Split 's' with separator in 'sep'. An array * of sds strings is returned. *count will be set * by reference to the number of tokens returned. * *
src/sds.c:904
↓ 14 callers
Function
sentinelFlushConfig
This function uses the config rewriting Redis engine in order to persist * the state of the Sentinel in the current configuration file. * * Before
src/sentinel.cpp:2319
↓ 14 callers
Function
sentinelInstanceMapCommand
This function is used in order to send commands to Redis instances: the * commands we send from Sentinel may be renamed, a common case is a master *
src/sentinel.cpp:1742
↓ 14 callers
Function
streamIteratorStop
Stop the stream iterator. The only cleanup we need is to free the rax * iterator, since the stream iterator itself is supposed to be stack * allocat
src/t_stream.cpp:1314
↓ 14 callers
Function
sz_sa2u
* Compute usable size that would result from allocating an object with the * specified size and alignment. */
deps/jemalloc/include/jemalloc/internal/sz.h:262
↓ 14 callers
Function
thd_create
deps/memkind/src/jemalloc/test/src/thd.c:4
↓ 14 callers
Function
thd_join
deps/memkind/src/jemalloc/test/src/thd.c:13
↓ 14 callers
Function
ziplistBlobLen
Return ziplist blob size in bytes. */
src/ziplist.c:1427
↓ 13 callers
Method
FRdbSaveInProgress
src/server.h:2766
↓ 13 callers
Function
Values
deps/memkind/src/test/gtest_fused/gtest/gtest.h:18217
↓ 13 callers
Function
__redisSetErrorFromErrno
deps/hiredis/net.c:95
↓ 13 callers
Function
addReplyNullArray
A null array is a concept that no longer exists in RESP3. However * RESP2 had it, so API-wise we have this call, that will emit the correct * RESP2
src/networking.cpp:965
↓ 13 callers
Function
addReplySds
Add the SDS 's' string to the client output buffer, as a side effect * the SDS string is freed. */
src/networking.cpp:464
↓ 13 callers
Function
addReplyStreamID
Emit a reply in the client output buffer by formatting a Stream ID * in the standard <ms>-<seq> format, using the simple string protocol * of REPL.
src/t_stream.cpp:1348
↓ 13 callers
Function
arena_is_auto
deps/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_b.h:71
↓ 13 callers
Function
ckh_search
deps/jemalloc/src/ckh.c:522
↓ 13 callers
Function
clusterManagerNewNode
src/redis-cli.c:2432
↓ 13 callers
Function
compareHelper
src/ziplist.c:1828
↓ 13 callers
Function
connSetWriteHandler
Register a write handler, to be called when the connection is writable. * If NULL, the existing handler is removed. */
src/connection.h:165
↓ 13 callers
Function
createClient
src/networking.cpp:124
↓ 13 callers
Function
emitter_json_object_begin
deps/jemalloc/include/jemalloc/internal/emitter.h:296
↓ 13 callers
Function
extent_nfree_get
deps/memkind/src/jemalloc/include/jemalloc/internal/extent_inlines.h:102
↓ 13 callers
Method
getElapsedTime
deps/memkind/src/test/allocator_perf_tool/TimerSysTime.hpp:36
↓ 13 callers
Function
getMvccTstamp
src/server.cpp:7263
↓ 13 callers
Function
hi_sdsempty
Create an empty (zero length) hisds string. Even in this case the string * always has an implicit null term. */
deps/hiredis/sds.c:141
↓ 13 callers
Function
hi_sdsnew
Create a new hisds string starting from a null terminated C string. */
deps/hiredis/sds.c:146
↓ 13 callers
Function
listEmpty
Remove all the elements from the list without destroying the list itself. */
src/adlist.c:57
↓ 13 callers
Function
logStackContent
src/debug.cpp:1190
↓ 13 callers
Function
lua_gettable
deps/lua/src/lapi.c:534
↓ 13 callers
Function
lua_touserdata
deps/lua/src/lapi.c:385
↓ 13 callers
Function
memkind_init
deps/memkind/src/src/memkind.c:434
↓ 13 callers
Function
nstime_add
deps/memkind/src/jemalloc/src/nstime.c:51
← previous
next →
401–500 of 10,473, ranked by callers