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
↓ 4 callers
Function
malloc_vsnprintf
deps/memkind/src/jemalloc/src/malloc_io.c:339
↓ 4 callers
Function
med3
src/pqsort.c:89
↓ 4 callers
Function
memrevifle
Reverse memory bytes if arch is little endian. Given the conceptual * simplicity of the Lua build system we prefer check for endianess at runtime. *
deps/lua/src/lua_cmsgpack.c:69
↓ 4 callers
Function
memtest_fill_value
Like memtest_fill_random() but uses the two specified values to fill * memory, in an alternated way (v1|v2|v1|v2|...) */
src/memtest.c:163
↓ 4 callers
Function
moduleRDBLoadError
Called when there is a load error in the context of a module. On some * modules this cannot be recovered, but if the module declared capability * to
src/module.cpp:4708
↓ 4 callers
Function
moveToNextTask
deps/hiredis/read.c:241
↓ 4 callers
Function
move_next
deps/hdr_histogram/hdr_histogram.c:743
↓ 4 callers
Function
mp_encode_lua_type
deps/lua/src/lua_cmsgpack.c:482
↓ 4 callers
Function
mp_realloc
deps/lua/src/lua_cmsgpack.c:98
↓ 4 callers
Function
mstime
Return the UNIX time in milliseconds */
src/quicklist.c:1580
↓ 4 callers
Function
mutex_pool_assert_not_held
deps/memkind/src/jemalloc/include/jemalloc/internal/mutex_pool.h:26
↓ 4 callers
Function
mutex_pool_assert_not_held
deps/jemalloc/include/jemalloc/internal/mutex_pool.h:26
↓ 4 callers
Function
mutex_stats_init_cols
deps/jemalloc/src/stats.c:101
↓ 4 callers
Function
next_token
src/setcpuaffinity.c:50
↓ 4 callers
Function
node_remove
deps/memkind/src/jemalloc/test/unit/ph.c:149
↓ 4 callers
Function
node_remove
deps/memkind/src/jemalloc/test/unit/rb.c:167
↓ 4 callers
Function
node_remove
deps/jemalloc/test/unit/ph.c:149
↓ 4 callers
Function
node_remove
deps/jemalloc/test/unit/rb.c:167
↓ 4 callers
Function
nstime_divide
deps/memkind/src/jemalloc/src/nstime.c:94
↓ 4 callers
Function
nstime_divide
deps/jemalloc/src/nstime.c:94
↓ 4 callers
Function
nstime_iadd
deps/memkind/src/jemalloc/src/nstime.c:58
↓ 4 callers
Function
nstime_iadd
deps/jemalloc/src/nstime.c:58
↓ 4 callers
Function
nstime_nsec
deps/memkind/src/jemalloc/src/nstime.c:36
↓ 4 callers
Function
nstime_nsec
deps/jemalloc/src/nstime.c:36
↓ 4 callers
Function
objectSetLRUOrLFU
Set the object LRU/LFU depending on g_pserver->maxmemory_policy. * The lfu_freq arg is only relevant if policy is MAXMEMORY_FLAG_LFU. * The lru_idle
src/object.cpp:1294
↓ 4 callers
Function
open_key_or_reply
tests/modules/misc.c:125
↓ 4 callers
Function
os_pages_map
deps/jemalloc/src/pages.c:53
↓ 4 callers
Function
pages_huge
deps/jemalloc/src/pages.c:359
↓ 4 callers
Function
pages_purge_forced
deps/memkind/src/jemalloc/src/pages.c:269
↓ 4 callers
Function
pages_purge_forced
deps/jemalloc/src/pages.c:326
↓ 4 callers
Function
pages_unmap
deps/memkind/src/jemalloc/src/pages.c:196
↓ 4 callers
Function
pages_unmap
deps/jemalloc/src/pages.c:240
↓ 4 callers
Function
parseScanCursorOrReply
Try to parse a SCAN cursor stored at object 'o': * if the cursor is valid, store it as unsigned integer into *cursor and * returns C_OK. Otherwise r
src/db.cpp:1130
↓ 4 callers
Function
parser_parse_value
deps/memkind/src/jemalloc/test/unit/stats_print.c:668
↓ 4 callers
Function
parser_parse_value
deps/jemalloc/test/unit/stats_print.c:668
↓ 4 callers
Function
patchlistaux
deps/lua/src/lcode.c:150
↓ 4 callers
Function
percpu_arena_ind_limit
Return the limit of percpu auto arena range, i.e. arenas[0...ind_limit). */
deps/memkind/src/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_a.h:43
↓ 4 callers
Function
percpu_arena_ind_limit
Return the limit of percpu auto arena range, i.e. arenas[0...ind_limit). */
deps/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_a.h:45
↓ 4 callers
Method
perform
deps/memkind/src/test/performance/operations.hpp:185
↓ 4 callers
Method
pointer
deps/memkind/src/test/gtest_fused/gtest/gtest.h:3399
↓ 4 callers
Function
pool_free
src/storage.cpp:100
↓ 4 callers
Function
pop
src/ziplist.c:1751
↓ 4 callers
Method
postFunction
src/server.cpp:5131
↓ 4 callers
Function
prepareForShutdown
src/server.cpp:5217
↓ 4 callers
Function
processEventsWhileBlocked
This function is called by Redis in order to process a few events from * time to time while blocked into some not interruptible operation. * This al
src/networking.cpp:4060
↓ 4 callers
Function
processInputBuffer
This function is called every time, in the client structure 'c', there is * more query buffer to process, because we read more data from the socket
src/networking.cpp:2637
↓ 4 callers
Function
prof_active_get_unlocked
deps/memkind/src/jemalloc/include/jemalloc/internal/prof_inlines_b.h:6
↓ 4 callers
Function
prof_cnt_all
deps/memkind/src/jemalloc/src/prof.c:1665
↓ 4 callers
Function
prof_cnt_all
deps/jemalloc/src/prof.c:1945
↓ 4 callers
Function
prof_dump
deps/memkind/src/jemalloc/src/prof.c:1625
↓ 4 callers
Function
prof_dump
deps/jemalloc/src/prof.c:1905
↓ 4 callers
Function
prof_dump_filename
deps/memkind/src/jemalloc/src/prof.c:1713
↓ 4 callers
Function
prof_dump_filename
deps/jemalloc/src/prof.c:1993
↓ 4 callers
Function
prof_enter
deps/memkind/src/jemalloc/src/prof.c:279
↓ 4 callers
Function
prof_enter
deps/jemalloc/src/prof.c:547
↓ 4 callers
Function
prof_gctx_try_destroy
deps/memkind/src/jemalloc/src/prof.c:578
↓ 4 callers
Function
prof_gctx_try_destroy
deps/jemalloc/src/prof.c:846
↓ 4 callers
Function
prof_log_is_logging
deps/jemalloc/src/prof.c:2454
↓ 4 callers
Function
prof_log_thr_count
deps/jemalloc/src/prof.c:2443
↓ 4 callers
Function
propagateall
deps/lua/src/lgc.c:323
↓ 4 callers
Function
protectClient
This function is used when we want to re-enter the event loop but there * is the risk that the client we are dealing with will be freed in some * wa
src/networking.cpp:2172
↓ 4 callers
Function
pubsubUnsubscribeAllChannels
Unsubscribe from all the channels. Return the number of channels the * client was subscribed to. */
src/pubsub.cpp:256
↓ 4 callers
Function
pubsubUnsubscribeAllPatterns
Unsubscribe from all the patterns. Return the number of patterns the * client was subscribed from. */
src/pubsub.cpp:277
↓ 4 callers
Function
pushGenericCommand
Implements LPUSH/RPUSH/LPUSHX/RPUSHX. * 'xx': push if key exists. */
src/t_list.cpp:226
↓ 4 callers
Function
push_captures
deps/lua/src/lstrlib.c:485
↓ 4 callers
Function
quicklistDelEntry
Delete one element represented by 'entry' * * 'entry' stores enough metadata to delete the proper position in * the correct ziplist in the correct
src/quicklist.c:658
↓ 4 callers
Function
quicklistDup
Duplicate the quicklist. * On success a copy of the original quicklist is returned. * * The original quicklist both on success or error is never mo
src/quicklist.c:1210
↓ 4 callers
Function
quicklistInsertBefore
src/quicklist.c:966
↓ 4 callers
Function
raxIteratorPrevStep
Like raxIteratorNextStep() but implements an iteration step moving * to the lexicographically previous element. The 'noup' option has a similar * ef
src/rax.c:1433
↓ 4 callers
Function
raxLowWalk
Low level function that walks the tree looking for the string * 's' of 'len' bytes. The function returns the number of characters * of the key that
src/rax.c:459
↓ 4 callers
Function
raxNewNode
Allocate a new non compressed node with the specified number of children. * If datafiled is true, the allocation is made large enough to hold the *
src/rax.c:188
↓ 4 callers
Function
raxStackFree
Free the stack in case we used heap allocation. */
src/rax.c:145
↓ 4 callers
Function
rdbSaveBackground
src/rdb.cpp:1676
↓ 4 callers
Function
rdbSaveRio
Produces a dump of the database in RDB format sending it to the specified * Redis I/O channel. On success C_OK is returned, otherwise C_ERR * is ret
src/rdb.cpp:1314
↓ 4 callers
Function
receiveChildInfo
Receive info data from child. */
src/childinfo.cpp:162
↓ 4 callers
Function
redisAsyncFree
Free the async context. When this function is called from a callback, * control needs to be returned to redisProcessCallbacks() before actual * free
deps/hiredis/async.c:363
↓ 4 callers
Function
redisFormatSdsCommandArgv
Format a command according to the Redis protocol using an hisds string and * hi_sdscatfmt for the processing of arguments. This function takes the *
deps/hiredis/hiredis.c:569
↓ 4 callers
Function
redisFreeSSLContext
deps/hiredis/ssl.c:190
↓ 4 callers
Function
redisProtocolToLuaType
src/scripting.cpp:134
↓ 4 callers
Function
redisSetBlocking
deps/hiredis/net.c:131
↓ 4 callers
Method
repeater
Returns repeater that broadcasts the TestEventListener events to all subscribers.
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:5370
↓ 4 callers
Function
replaceClientCommandVector
Completely replace the client command vector with the provided one. */
src/networking.cpp:3752
↓ 4 callers
Function
replicationDiscardCachedMaster
Free a cached master, called when there are no longer the conditions for * a partial resync on reconnection. */
src/replication.cpp:4435
↓ 4 callers
Function
replicationFeedMonitors
src/replication.cpp:748
↓ 4 callers
Function
replicationGetSlaveOffset
Return the replica replication offset for this instance, that is * the offset for which we already processed the master replication stream. */
src/replication.cpp:4736
↓ 4 callers
Function
replicationScriptCacheFlush
Empty the script cache. Should be called every time we are no longer sure * that every replica knows about all the scripts in our set, or when the *
src/replication.cpp:4564
↓ 4 callers
Function
replicationSetupSlaveForFullResync
Send a FULLRESYNC reply in the specific case of a full resynchronization, * as a side effect setup the replica for a full sync in different ways: *
src/replication.cpp:861
↓ 4 callers
Function
resetServerSaveParams
src/config.cpp:328
↓ 4 callers
Function
reset_args
deps/jemalloc/test/unit/hook.c:16
↓ 4 callers
Function
rev
Function to reverse bits. Algorithm from: * http://graphics.stanford.edu/~seander/bithacks.html#ReverseParallel */
src/dict.cpp:1155
↓ 4 callers
Function
rewriteAppendOnlyFileBackground
This is how rewriting of the append only file in background works: * * 1) The user calls BGREWRITEAOF * 2) Redis calls this function, that forks():
src/aof.cpp:1886
↓ 4 callers
Method
rgb
src/storage.cpp:34
↓ 4 callers
Function
rtree_delete
deps/memkind/src/jemalloc/src/rtree.c:93
↓ 4 callers
Function
rtree_delete
deps/jemalloc/src/rtree.c:93
↓ 4 callers
Function
rtree_leaf_elm_szind_read
deps/jemalloc/include/jemalloc/internal/rtree.h:223
↓ 4 callers
Function
rtree_write
deps/memkind/src/jemalloc/include/jemalloc/internal/rtree.h:373
↓ 4 callers
Function
rtree_write
deps/jemalloc/include/jemalloc/internal/rtree.h:385
↓ 4 callers
Function
scanGenericCommand
src/db.cpp:1175
↓ 4 callers
Function
sdsRemoveFreeSpace
Reallocate the sds string so that it has no free space at the end. The * contained string remains not altered, but next concatenation operations * w
src/sds.c:327
↓ 4 callers
Function
sdsTypeMaxSize
src/sds.c:83
← previous
next →
1,801–1,900 of 10,473, ranked by callers