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
rewriteConfigAppendLine
Append the new line to the current configuration state. */
src/config.cpp:1353
↓ 5 callers
Function
rewriteConfigStringOption
Rewrite a string option. */
src/config.cpp:1553
↓ 5 callers
Function
rioWriteBulkStreamID
Helper for rewriteStreamObject() that generates a bulk string into the * AOF representing the ID 'id'. */
src/aof.cpp:1335
↓ 5 callers
Function
rtree_leaf_elm_bits_slab_get
deps/jemalloc/include/jemalloc/internal/rtree.h:203
↓ 5 callers
Function
rtree_leaf_elm_bits_szind_get
deps/jemalloc/include/jemalloc/internal/rtree.h:198
↓ 5 callers
Function
rtree_new
* Only the most significant bits of keys passed to rtree_{read,write}() are * used. */
deps/memkind/src/jemalloc/src/rtree.c:12
↓ 5 callers
Function
rtree_new
* Only the most significant bits of keys passed to rtree_{read,write}() are * used. */
deps/jemalloc/src/rtree.c:12
↓ 5 callers
Function
sdscatvprintf
Like sdscatprintf() but gets va_list instead of being variadic. */
src/sds.c:599
↓ 5 callers
Function
sdsinclen
src/sds.h:199
↓ 5 callers
Function
sdsmapchars
Modify the string substituting all the occurrences of the set of * characters specified in the 'from' string to the corresponding character * in the
src/sds.c:1162
↓ 5 callers
Function
sentinelSendSlaveOf
Send SLAVEOF to the specified instance, always followed by a * CONFIG REWRITE command in order to store the new configuration on disk * when possibl
src/sentinel.cpp:4521
↓ 5 callers
Method
setAllocationSizes
deps/memkind/src/test/performance/framework.cpp:166
↓ 5 callers
Function
setDeferredAggregateLen
Populate the length object and try gluing it to the next chunk. */
src/networking.cpp:771
↓ 5 callers
Function
setDeferredMapLen
src/networking.cpp:808
↓ 5 callers
Method
setExpire
src/db.cpp:2753
↓ 5 callers
Method
setOperations
deps/memkind/src/test/performance/framework.cpp:171
↓ 5 callers
Function
settabss
deps/lua/src/ldblib.c:64
↓ 5 callers
Function
sha256_update
src/sha256.c:99
↓ 5 callers
Function
siphash
src/siphash.c:116
↓ 5 callers
Function
sort_comp
deps/lua/src/ltablib.c:178
↓ 5 callers
Function
spin_adaptive
deps/memkind/src/jemalloc/include/jemalloc/internal/spin.h:16
↓ 5 callers
Function
spin_adaptive
deps/jemalloc/include/jemalloc/internal/spin.h:20
↓ 5 callers
Function
storage_init
initialize the memory subsystem. NOTE: This may be called twice, first with NULL specifying we should use ram later, after the configuration file is l
src/storage.cpp:141
↓ 5 callers
Function
strbuf_ensure_empty_length
deps/lua/src/strbuf.h:95
↓ 5 callers
Function
streamParseIntervalIDOrReply
Helper for parsing a stream ID that is a range query interval. When the * exclude argument is NULL, streamParseIDOrReply() is called and the interval
src/t_stream.cpp:1749
↓ 5 callers
Function
sunionDiffGenericCommand
src/t_set.cpp:1018
↓ 5 callers
Function
tcache_arena_associate
deps/memkind/src/jemalloc/src/tcache.c:286
↓ 5 callers
Function
tcache_arena_associate
deps/jemalloc/src/tcache.c:340
↓ 5 callers
Function
test_entries_list
deps/memkind/src/jemalloc/test/unit/ql.c:56
↓ 5 callers
Function
test_entries_list
deps/jemalloc/test/unit/ql.c:56
↓ 5 callers
Function
test_entries_ring
deps/memkind/src/jemalloc/test/unit/qr.c:70
↓ 5 callers
Function
test_entries_ring
deps/jemalloc/test/unit/qr.c:70
↓ 5 callers
Function
test_repeat_background_thread_ctl
deps/memkind/src/jemalloc/test/unit/background_thread.c:24
↓ 5 callers
Function
test_repeat_background_thread_ctl
deps/jemalloc/test/unit/background_thread.c:24
↓ 5 callers
Function
test_switch_background_thread_ctl
deps/memkind/src/jemalloc/test/unit/background_thread.c:5
↓ 5 callers
Function
test_switch_background_thread_ctl
deps/jemalloc/test/unit/background_thread.c:5
↓ 5 callers
Function
ticker_init
deps/memkind/src/jemalloc/include/jemalloc/internal/ticker.h:19
↓ 5 callers
Function
ticker_init
deps/jemalloc/include/jemalloc/internal/ticker.h:19
↓ 5 callers
Function
tlsCheckAgainstAllowlist
Check to see if a given client name is contained in the provided set (allowlist/blocklist) * Return true if it does */
src/tls.cpp:522
↓ 5 callers
Function
tsd_in_nominal_list
deps/jemalloc/src/tsd.c:68
↓ 5 callers
Function
tsd_nominal
deps/memkind/src/jemalloc/include/jemalloc/internal/tsd.h:292
↓ 5 callers
Function
updateSSLEvent
src/tls.cpp:813
↓ 5 callers
Function
update_iterated_values
deps/hdr_histogram/hdr_histogram.c:791
↓ 5 callers
Method
wrapped_malloc
deps/memkind/src/test/allocator_perf_tool/MemkindAllocatorWithTimer.hpp:52
↓ 5 callers
Function
zipmapLookupRaw
Search for a matching key, returning a pointer to the entry inside the * zipmap. Returns NULL if the key is not found. * * If NULL is returned, and
src/zipmap.c:142
↓ 5 callers
Function
zipmapRepr
src/zipmap.c:445
↓ 5 callers
Function
zsetAdd
Add a new element or update the score of an existing element in a sorted * set, regardless of its encoding. * * The set of flags change the command
src/t_zset.cpp:1324
↓ 5 callers
Function
zsetConvert
src/t_zset.cpp:1173
↓ 5 callers
Function
zslDeleteNode
Internal function used by zslDelete, zslDeleteRangeByScore and * zslDeleteRangeByRank. */
src/t_zset.cpp:191
↓ 5 callers
Function
zslGetRank
Find the rank for an element by both score and key. * Returns 0 when the element cannot be found, rank otherwise. * Note that the rank is 1-based du
src/t_zset.cpp:475
↓ 5 callers
Function
zuiInitIterator
src/t_zset.cpp:2068
↓ 5 callers
Function
zzlFirstInRange
Find pointer to the first element contained in the specified range. * Returns NULL when no element is contained in the range. */
src/t_zset.cpp:855
↓ 5 callers
Function
zzlLexValueGteMin
src/t_zset.cpp:914
↓ 4 callers
Function
ACLCheckPubsubChannelPerm
Check if the provided channel is whitelisted by the given allowed channels * list. Glob-style pattern matching is employed, unless the literal flag i
src/acl.cpp:1265
↓ 4 callers
Function
ACLCreateUnlinkedUser
This function should be called when we need an unlinked "fake" user * we can use in order to validate ACL rules or for other similar reasons. * The
src/acl.cpp:280
↓ 4 callers
Function
ACLGetCommandCategoryFlagByName
Given the category name the command returns the corresponding flag, or * zero if there is no match. */
src/acl.cpp:217
↓ 4 callers
Function
ACLResetSubcommands
Flush the entire table of subcommands. This is useful on +@all, -@all * or similar to return back to the minimal memory usage (and checks to do) * f
src/acl.cpp:706
↓ 4 callers
Function
ACLSetUserCommandBit
Set the specified command bit for the specified user to 'value' (0 or 1). * If the bit overflows the user internal representation, no operation * is
src/acl.cpp:406
↓ 4 callers
Function
ACLSetUserStringError
Return a description of the error that occurred in ACLSetUser() according to * the errno value set by the function on error. */
src/acl.cpp:1027
↓ 4 callers
Function
CmpHelperEQ
deps/memkind/src/test/gtest_fused/gtest/gtest.h:21367
↓ 4 callers
Function
DumpString
deps/lua/src/ldump.c:61
↓ 4 callers
Function
FFastSyncEnabled
src/server.h:3975
↓ 4 callers
Function
FSameUuidNoNil
src/replication.cpp:92
↓ 4 callers
Method
Failed
Returns true iff the test failed.
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:3619
↓ 4 callers
Function
FormatBool
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:1577
↓ 4 callers
Function
FormatCountableNoun
Formats a countable noun. Depending on its quantity, either the singular form or the plural form is used. e.g. FormatCountableNoun(1, "formula", "fo
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:4258
↓ 4 callers
Function
FormatTestCount
Formats the count of tests.
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:4266
↓ 4 callers
Function
GetElementOr
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:709
↓ 4 callers
Function
IsSpace
deps/memkind/src/test/gtest_fused/gtest/gtest.h:3895
↓ 4 callers
Function
LoadString
deps/lua/src/lundump.c:76
↓ 4 callers
Function
SentReplyOnKeyMiss
src/db.cpp:258
↓ 4 callers
Method
SetTestPartResultReporterForCurrentThread
Sets the test part result reporter for the current thread.
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:2173
↓ 4 callers
Function
StrDup
deps/memkind/src/test/gtest_fused/gtest/gtest.h:3954
↓ 4 callers
Function
TEST_BEGIN
deps/jemalloc/test/unit/qr.c:115
↓ 4 callers
Function
__redisAppendCommand
Helper function for the redisAppendCommand* family of functions. * * Write a formatted command to the output buffer. When this family * is used, yo
deps/hiredis/hiredis.c:1062
↓ 4 callers
Function
__redisPushCallback
Helper functions to push/shift callbacks */
deps/hiredis/async.c:245
↓ 4 callers
Function
_addReplyProtoToList
Adds the reply to the reply linked list. * Note: some edits to this function need to be relayed to AddReplyFromClient. */
src/networking.cpp:400
↓ 4 callers
Function
_addReplyToBuffer
Attempts to add the reply to the static buffer in the client struct. * Returns C_ERR if the buffer is full, or the reply list is not empty, * in whi
src/networking.cpp:352
↓ 4 callers
Function
_dictClear
Destroy an entire dictionary */
src/dict.cpp:803
↓ 4 callers
Function
_intsetSet
Set the value at pos, using the configured encoding. */
src/intset.c:82
↓ 4 callers
Function
_quicklistNodeAllowMerge
src/quicklist.c:462
↓ 4 callers
Function
_quicklistZiplistMerge
Given two nodes, try to merge their ziplists. * * This helps us not have a quicklist with 3 element ziplists if * our fill factor can handle much h
src/quicklist.c:718
↓ 4 callers
Function
a0dalloc
deps/memkind/src/jemalloc/src/jemalloc.c:247
↓ 4 callers
Function
a0dalloc
deps/jemalloc/src/jemalloc.c:254
↓ 4 callers
Function
abortFailover
Abort an ongoing failover if one is going on. */
src/replication.cpp:5084
↓ 4 callers
Function
addACLLogEntry
Adds a new entry in the ACL log, making sure to delete the old entry * if we reach the maximum length allowed for the log. This function attempts *
src/acl.cpp:1812
↓ 4 callers
Function
addHashIteratorCursorToReply
src/t_hash.cpp:880
↓ 4 callers
Function
addReplyStatusFormat
src/networking.cpp:656
↓ 4 callers
Function
addk
deps/lua/src/lcode.c:229
↓ 4 callers
Function
adjustOpenFilesLimit
This function will try to raise the max number of open files accordingly to * the configured max number of clients. It also reserves a number of file
src/server.cpp:3559
↓ 4 callers
Function
aeClosePipesForForkChild
src/ae.cpp:919
↓ 4 callers
Function
aeGetCurrentEventLoop
Return the current EventLoop. */
src/ae.cpp:365
↓ 4 callers
Function
afterErrorReply
Do some actions after an error reply was sent (Log if needed, updates stats, etc.) */
src/networking.cpp:539
↓ 4 callers
Function
anetFdToString
src/anet.c:559
↓ 4 callers
Function
aofReadDiffFromParent
This function is called by the child rewriting the AOF file to read * the difference accumulated from the parent into a buffer, that is * concatenat
src/aof.cpp:1538
↓ 4 callers
Function
arena_bin_choose_lock
Choose a bin shard and return the locked bin. */
deps/jemalloc/src/arena.c:1364
↓ 4 callers
Function
arena_init
deps/jemalloc/src/jemalloc.c:363
↓ 4 callers
Function
arena_muzzy_decay_ms_get
deps/jemalloc/src/arena.c:781
↓ 4 callers
Function
arena_nthreads_inc
deps/memkind/src/jemalloc/src/arena.c:1893
↓ 4 callers
Function
arena_nthreads_inc
deps/jemalloc/src/arena.c:1926
← previous
next →
1,501–1,600 of 10,473, ranked by callers