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
↓ 5 callers
Function
GetLastErrnoDescription
Returns the message describing the last system error in errno.
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:7163
↓ 5 callers
Function
Int32FromEnvOrDie
Parses the environment variable var as an Int32. If it is unset, returns default_val. If it is not an Int32, prints an error and aborts.
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:6211
↓ 5 callers
Function
LFUDecrAndReturn
If the object decrement time is reached decrement the LFU counter but * do not update LFU fields of the object, we update the access time * and coun
src/evict.cpp:329
↓ 5 callers
Function
LFUGetTimeInMinutes
Return the current time in minutes, just taking the least significant * 16 bits. The returned time is suitable to be stored as LDT (last decrement *
src/evict.cpp:293
↓ 5 callers
Function
PrintConstant
deps/lua/src/print.c:51
↓ 5 callers
Function
SHA1Final
src/sha1.c:155
↓ 5 callers
Function
SHA1Init
src/sha1.c:117
↓ 5 callers
Function
__quicklistInsertNode
Insert 'new_node' after 'old_node' if 'after' is 1. * Insert 'new_node' before 'old_node' if 'after' is 0. * Note: 'new_node' is *always* uncompress
src/quicklist.c:359
↓ 5 callers
Function
_quicklistNodeAllowInsert
src/quicklist.c:428
↓ 5 callers
Function
activeDefragStringOb
Defrag helper for robj and/or string objects * * returns NULL in case the allocation wasn't moved. * when it returns a non-null value, the old poin
src/defrag.cpp:119
↓ 5 callers
Function
activeExpireCycleExpireFullKey
Helper function for the activeExpireCycle() function. * This function will try to expire the key that is stored in the hash table * entry 'de' of th
src/expire.cpp:47
↓ 5 callers
Function
addReplyAggregateLen
src/networking.cpp:915
↓ 5 callers
Function
addReplyBool
src/networking.cpp:953
↓ 5 callers
Function
addReplyHumanLongDouble
Add a long double as a bulk reply, but uses a human readable formatting * of the double instead of exposing the crude behavior of doubles to the * d
src/networking.cpp:868
↓ 5 callers
Function
addReplyLongLongWithPrefix
Add a long long as integer reply or bulk len / multi bulk count. * Basically this is used to output <prefix><long long><crlf>. */
src/networking.cpp:884
↓ 5 callers
Function
aeLockContention
src/ae.cpp:908
↓ 5 callers
Function
aeWait
Wait for milliseconds until the given file descriptor becomes * writable/readable/exception */
src/ae.cpp:798
↓ 5 callers
Function
alloc_free_size
deps/jemalloc/test/unit/hook.c:28
↓ 5 callers
Function
aofRewriteBufferSize
Return the current size of the AOF rewrite buffer. */
src/aof.cpp:79
↓ 5 callers
Function
appendServerSaveParams
src/config.cpp:321
↓ 5 callers
Function
arena_alloc_junk_small
deps/memkind/src/jemalloc/src/arena.c:1476
↓ 5 callers
Function
arena_alloc_junk_small
deps/jemalloc/src/arena.c:1445
↓ 5 callers
Function
arena_bind
deps/memkind/src/jemalloc/src/jemalloc.c:369
↓ 5 callers
Function
arena_bind
deps/jemalloc/src/jemalloc.c:376
↓ 5 callers
Function
arena_choose
deps/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_b.h:61
↓ 5 callers
Function
arena_decay
deps/memkind/src/jemalloc/src/arena.c:1068
↓ 5 callers
Function
arena_ichoose
deps/memkind/src/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_b.h:66
↓ 5 callers
Function
arena_ichoose
deps/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_b.h:66
↓ 5 callers
Function
arenas_i_impl
deps/memkind/src/jemalloc/src/ctl.c:626
↓ 5 callers
Function
arenas_i_impl
deps/jemalloc/src/ctl.c:725
↓ 5 callers
Function
background_thread_enabled_set
deps/jemalloc/include/jemalloc/internal/background_thread_inlines.h:9
↓ 5 callers
Function
background_thread_wakeup_time_set
deps/memkind/src/jemalloc/include/jemalloc/internal/background_thread_inlines.h:29
↓ 5 callers
Function
background_thread_wakeup_time_set
deps/jemalloc/include/jemalloc/internal/background_thread_inlines.h:34
↓ 5 callers
Function
base_delete
deps/memkind/src/jemalloc/src/base.c:274
↓ 5 callers
Function
base_delete
deps/jemalloc/src/base.c:395
↓ 5 callers
Function
base_ind_get
deps/memkind/src/jemalloc/include/jemalloc/internal/base_inlines.h:4
↓ 5 callers
Function
base_new
deps/memkind/src/jemalloc/src/base.c:233
↓ 5 callers
Function
base_new
deps/jemalloc/src/base.c:349
↓ 5 callers
Function
base_stats_get
deps/memkind/src/jemalloc/src/base.c:359
↓ 5 callers
Function
base_stats_get
deps/jemalloc/src/base.c:480
↓ 5 callers
Function
block
deps/lua/src/lparser.c:881
↓ 5 callers
Function
blockForKeys
Set a client in blocking mode for the specified key (list, zset or stream), * with the specified timeout. The 'type' argument is BLOCKED_LIST, * BLO
src/blocked.cpp:654
↓ 5 callers
Function
bugReportStart
src/debug.cpp:1119
↓ 5 callers
Function
call
Call() is the core of Redis execution of a command. * * The following flags can be passed: * CMD_CALL_NONE No flags. * CMD_CALL_SLOWLOG
src/server.cpp:4494
↓ 5 callers
Function
catAppendOnlyGenericCommand
src/aof.cpp:568
↓ 5 callers
Method
cbWritten
src/replication.cpp:1123
↓ 5 callers
Function
changeReplicationId
Change the current instance replication ID with a new, random one. * This will prevent successful PSYNCs between this master and other * slaves, so
src/replication.cpp:2267
↓ 5 callers
Function
check_background_thread_enabled
deps/memkind/src/jemalloc/test/unit/decay.c:12
↓ 5 callers
Function
check_background_thread_enabled
deps/jemalloc/test/unit/decay.c:12
↓ 5 callers
Function
ckh_delete
deps/memkind/src/jemalloc/src/ckh.c:415
↓ 5 callers
Function
clearReplicationId2
Clear (invalidate) the secondary replication ID. This happens, for * example, after a full resynchronization, when we start a new replication * hist
src/replication.cpp:2276
↓ 5 callers
Function
cliSecureConnection
Wrapper around redisSecureConnection to avoid hiredis_ssl dependencies if * not building with TLS support. */
src/cli_common.c:46
↓ 5 callers
Function
closeClientOnOutputBufferLimitReached
Asynchronously close a client if soft or hard limit is reached on the * output buffer size. The caller can check if the client will be closed * chec
src/networking.cpp:3912
↓ 5 callers
Function
clusterManagerNodeByName
Return the node with the specified name (ID) or NULL. */
src/redis-cli.c:2581
↓ 5 callers
Function
clusterManagerNodeConnect
src/redis-cli.c:2525
↓ 5 callers
Function
clusterManagerSetSlotOwner
src/redis-cli.c:3201
↓ 5 callers
Function
clusterSaveConfigOrDie
src/cluster.cpp:396
↓ 5 callers
Function
clusterSetNodeAsMaster
Reconfigure the specified node 'n' as a master. This function is called when * a node that we believed to be a slave is now acting as master in order
src/cluster.cpp:1653
↓ 5 callers
Function
compareStringObjects
Wrapper for compareStringObjectsWithFlags() using binary comparison. */
src/object.cpp:623
↓ 5 callers
Function
compare_funcs
deps/memkind/src/jemalloc/test/stress/microbench.c:18
↓ 5 callers
Function
compare_funcs
deps/jemalloc/test/stress/microbench.c:18
↓ 5 callers
Function
connGetType
Return CONN_TYPE_* for the specified connection */
src/connection.h:214
↓ 5 callers
Function
connSyncReadLine
src/connection.h:204
↓ 5 callers
Function
createModuleObject
src/object.cpp:315
↓ 5 callers
Function
createStreamObject
src/object.cpp:308
↓ 5 callers
Function
createZsetObject
src/object.cpp:290
↓ 5 callers
Function
dbOverwrite
Overwrite an existing key with a new value. Incrementing the reference * count of the new value is up to the caller. * This function does not modify
src/db.cpp:363
↓ 5 callers
Function
defragRadixTree
defrag radix tree including: * 1) rax struct * 2) rax nodes * 3) rax entry data (only if defrag_data is specified) * 4) call a callback per elemen
src/defrag.cpp:725
↓ 5 callers
Function
deref_noexcept
deps/concurrentqueue/concurrentqueue.h:542
↓ 5 callers
Function
deserializeStoredObject
src/object.cpp:1630
↓ 5 callers
Function
dictGetFairRandomKey
src/dict.cpp:1141
↓ 5 callers
Function
dictRehashMilliseconds
Rehash in ms+"delta" milliseconds. The value of "delta" is larger * than 0, and is smaller than 1 in most cases. The exact upper bound * depends o
src/dict.cpp:578
↓ 5 callers
Function
do_arena_create
deps/memkind/src/jemalloc/test/unit/arena_reset.c:87
↓ 5 callers
Function
do_arena_create
deps/jemalloc/test/unit/arena_reset.c:87
↓ 5 callers
Function
do_mallocx
deps/memkind/src/jemalloc/test/unit/decay.c:167
↓ 5 callers
Function
do_mallocx
deps/jemalloc/test/unit/decay.c:173
↓ 5 callers
Function
docall
deps/lua/src/lua.c:96
↓ 5 callers
Function
emitter_indent
deps/jemalloc/include/jemalloc/internal/emitter.h:195
↓ 5 callers
Method
end
src/semiorderedset.h:132
↓ 5 callers
Method
endSnapshotAsync
This function is all about minimizing the amount of work done under global lock when there has been lots of changes since snapshot creation a naive en
src/snapshot.cpp:179
↓ 5 callers
Function
estimateObjectIdleTime
Given an object returns the min number of milliseconds the object was never * requested, using an approximated LRU algorithm. */
src/evict.cpp:93
↓ 5 callers
Function
expireIfNeeded
This function is called when we are going to perform some operation * in a given key, but such key may be already logically expired even if * it sti
src/db.cpp:2090
↓ 5 callers
Function
explist1
deps/lua/src/lparser.c:596
↓ 5 callers
Function
extent_addr_set
deps/memkind/src/jemalloc/include/jemalloc/internal/extent_inlines.h:181
↓ 5 callers
Function
extent_addr_set
deps/jemalloc/include/jemalloc/internal/extent_inlines.h:210
↓ 5 callers
Function
extent_hooks_prep
deps/memkind/src/jemalloc/test/include/test/extent_hooks.h:280
↓ 5 callers
Function
extent_list_remove
deps/memkind/src/jemalloc/include/jemalloc/internal/extent_inlines.h:344
↓ 5 callers
Function
extent_list_remove
deps/jemalloc/include/jemalloc/internal/extent_inlines.h:438
↓ 5 callers
Function
extent_rtree_write_acquired
deps/memkind/src/jemalloc/src/extent.c:617
↓ 5 callers
Function
extent_rtree_write_acquired
deps/jemalloc/src/extent.c:720
↓ 5 callers
Function
extent_split_impl
deps/memkind/src/jemalloc/src/extent.c:1724
↓ 5 callers
Function
freeFakeClient
src/aof.cpp:826
↓ 5 callers
Function
freeRedisConfig
src/redis-benchmark.cpp:387
↓ 5 callers
Function
genericSetKey
High level Set operation. This function can be used in order to set * a key, whatever it was existing or not, to a new object. * * 1) The ref count
src/db.cpp:410
↓ 5 callers
Function
genrand64_int64
generates a random number on [0, 2^64-1]-interval */
src/mt19937-64.c:108
↓ 5 callers
Function
getClientOutputBufferMemoryUsage
This function returns the number of bytes that Redis is * using to store the reply still not read by the client. * * Note: this function is very fa
src/networking.cpp:3812
↓ 5 callers
Function
getClientTypeByName
src/networking.cpp:3838
↓ 5 callers
Function
getIntFromObjectOrReply
src/object.cpp:836
↓ 5 callers
Function
getSentinelRedisInstanceByAddrAndRunID
Search an instance with the same runid, ip and port into a dictionary * of instances. Return NULL if not found, otherwise return the instance * poin
src/sentinel.cpp:1488
↓ 5 callers
Method
getStorageCache
src/server.h:1218
← previous
next →
1,301–1,400 of 10,473, ranked by callers