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
↓ 22 callers
Function
zmalloc_size
src/zmalloc.cpp:285
↓ 21 callers
Function
ACLSetUser
Set user properties according to the string "op". The following * is a description of what different strings will do: * * on Enable the u
src/acl.cpp:834
↓ 21 callers
Function
MOODYCAMEL_CONSTEXPR_IF
deps/concurrentqueue/concurrentqueue.h:2142
↓ 21 callers
Function
base_alloc
* base_alloc() returns zeroed memory, which is always demand-zeroed for the * auto arenas, in order to make multi-page sparse data structures such as
deps/memkind/src/jemalloc/src/base.c:342
↓ 21 callers
Function
base_alloc
* base_alloc() returns zeroed memory, which is always demand-zeroed for the * auto arenas, in order to make multi-page sparse data structures such as
deps/jemalloc/src/base.c:463
↓ 21 callers
Method
count
deps/cpp-statsd-client/include/cpp-statsd-client/StatsdClient.hpp:222
↓ 21 callers
Function
idalloctm
deps/memkind/src/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_c.h:83
↓ 21 callers
Function
idalloctm
deps/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_c.h:103
↓ 21 callers
Function
intsetAdd
Insert an integer in the intset */
src/intset.c:206
↓ 21 callers
Function
isalloc
deps/memkind/src/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_c.h:15
↓ 21 callers
Function
listTypeLength
src/t_list.cpp:79
↓ 21 callers
Function
lookupCommandByCString
src/server.cpp:4326
↓ 21 callers
Function
lua_error
deps/lua/src/lapi.c:964
↓ 21 callers
Function
memkind_posix_memalign
deps/memkind/src/src/memkind.c:612
↓ 21 callers
Function
moduleFreeContext
Free the context after the user function was called. */
src/module.cpp:693
↓ 21 callers
Function
next
src/rand.c:80
↓ 21 callers
Function
posix_memalign
deps/memkind/src/autohbw/autohbw.c:424
↓ 21 callers
Function
quicklistDelRange
Delete a range of elements from the quicklist. * * elements may span across multiple quicklistNodes, so we * have to be careful about tracking wher
src/quicklist.c:982
↓ 21 callers
Method
size
deps/memkind/src/test/memory_manager.h:57
↓ 21 callers
Function
stringmatch
src/util.c:168
↓ 21 callers
Function
sz_pind2sz
deps/jemalloc/include/jemalloc/internal/sz.h:100
↓ 21 callers
Function
zsetLength
src/t_zset.cpp:1161
↓ 21 callers
Function
zzlGetScore
src/t_zset.cpp:730
↓ 20 callers
Method
erase
src/StorageCache.cpp:85
↓ 20 callers
Function
isalloc
deps/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_c.h:34
↓ 20 callers
Function
luaG_runerror
deps/lua/src/ldebug.c:631
↓ 20 callers
Function
luaL_checklstring
deps/lua/src/lauxlib.c:158
↓ 20 callers
Function
lua_insert
deps/lua/src/lapi.c:191
↓ 20 callers
Function
lua_tonumber
deps/lua/src/lapi.c:313
↓ 20 callers
Function
raxGetData
Get the node auxiliary data. */
src/rax.c:239
↓ 20 callers
Function
rdbWriteRaw
src/rdb.cpp:102
↓ 20 callers
Function
reset
deps/jemalloc/test/unit/hook.c:79
↓ 20 callers
Function
sdsavail
src/sds.h:143
↓ 20 callers
Function
tsd_fast
deps/jemalloc/include/jemalloc/internal/tsd.h:334
↓ 20 callers
Function
tsd_state_get
deps/jemalloc/include/jemalloc/internal/tsd.h:203
↓ 20 callers
Function
ziplistRepr
src/ziplist.c:1431
↓ 19 callers
Function
AssertionSuccess
Makes a successful assertion result.
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:2459
↓ 19 callers
Function
FCorrectThread
src/server.h:3979
↓ 19 callers
Function
abAppend
deps/linenoise/linenoise.c:475
↓ 19 callers
Function
autoMemoryAdd
Add a new object to release automatically when the callback returns. */
src/module.cpp:1071
↓ 19 callers
Function
connGetLastError
Returns the last error encountered by the connection, as a string. If no error, * a NULL is returned. */
src/connection.h:192
↓ 19 callers
Function
dbAdd
Add the key to the DB. It's up to the caller to increment the reference * counter of the value if needed. * * The program is aborted if the key alr
src/db.cpp:312
↓ 19 callers
Function
emitter_printf
deps/jemalloc/include/jemalloc/internal/emitter.h:80
↓ 19 callers
Function
emitter_table_printf
deps/jemalloc/include/jemalloc/internal/emitter.h:374
↓ 19 callers
Function
extent_nfree_get
deps/jemalloc/include/jemalloc/internal/extent_inlines.h:118
↓ 19 callers
Function
hi_malloc
deps/hiredis/alloc.c:66
↓ 19 callers
Function
luaPushError
This function is used in order to push an error on the Lua stack in the * format used by redis.pcall to return errors, which is a lua table * with a
src/scripting.cpp:289
↓ 19 callers
Function
malloc_initialized
deps/memkind/src/jemalloc/src/jemalloc.c:201
↓ 19 callers
Function
narenas_total_get
deps/jemalloc/src/jemalloc.c:311
↓ 19 callers
Function
rdbSaveRawString
Save a string object as [len][data] on disk. If the object is a string * representation of an integer value we try to save it in a special form */
src/rdb.cpp:441
↓ 19 callers
Function
rdbSaveType
src/rdb.cpp:108
↓ 19 callers
Function
witness_assert_depth
deps/memkind/src/jemalloc/include/jemalloc/internal/witness.h:263
↓ 19 callers
Function
witness_assert_depth
deps/jemalloc/include/jemalloc/internal/witness.h:264
↓ 18 callers
Method
Get
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:8759
↓ 18 callers
Function
announceSentinelAddr
src/sentinel.cpp:655
↓ 18 callers
Function
cliConnect
Connect to the server. It is possible to pass certain flags to the function: * CC_FORCE: The connection is performed even if there is already *
src/redis-cli.c:666
↓ 18 callers
Function
clusterLookupNode
Node lookup by name */
src/cluster.cpp:1064
↓ 18 callers
Function
connClose
src/connection.h:185
↓ 18 callers
Function
connWrite
Write to connection, behaves the same as write(2). * * Like write(2), a short write is possible. A -1 return indicates an error. * * The caller sh
src/connection.h:146
↓ 18 callers
Function
iealloc
deps/memkind/src/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_b.h:77
↓ 18 callers
Function
lookupKeyWriteOrReply
src/db.cpp:278
↓ 18 callers
Function
memkind_create_kind
Kind creation */
deps/memkind/src/src/memkind.c:269
↓ 18 callers
Function
mixDigest
This function instead of just computing the SHA1 and xoring it * against digest, also perform the digest of "digest" itself and * replace the old va
src/debug.cpp:126
↓ 18 callers
Function
pthread_create
deps/jemalloc/src/mutex.c:31
↓ 18 callers
Function
rdbGenericLoadStringObject
Load a string object from an RDB file according to flags: * * RDB_LOAD_NONE (no flags): load an RDB object, unencoded. * RDB_LOAD_ENC: If the retur
src/rdb.cpp:517
↓ 18 callers
Function
refreshLine
Calls the two low level functions refreshSingleLine() or * refreshMultiLine() according to the selected mode. */
deps/linenoise/linenoise.c:653
↓ 18 callers
Function
serverLogRaw
src/server.cpp:1201
↓ 18 callers
Function
set_errno
Set error code. */
deps/jemalloc/include/jemalloc/internal/util.h:46
↓ 18 callers
Function
ustime
src/modules/keydb_modstatsd/modmain.cpp:261
↓ 17 callers
Function
AssertionFailure
Makes a failed assertion result.
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:2464
↓ 17 callers
Function
FilePath
deps/memkind/src/test/gtest_fused/gtest/gtest.h:4793
↓ 17 callers
Function
addReplyMapLen
src/networking.cpp:924
↓ 17 callers
Function
background_thread_enabled
deps/jemalloc/include/jemalloc/internal/background_thread_inlines.h:4
↓ 17 callers
Function
createStringObjectFromLongLong
Wrapper for createStringObjectFromLongLongWithOptions() always demanding * to create a shared object if possible. */
src/object.cpp:202
↓ 17 callers
Function
dictExpand
return DICT_ERR if expand was not performed */
src/dict.cpp:335
↓ 17 callers
Function
failTest
tests/modules/basics.c:124
↓ 17 callers
Function
intsetFind
Determine whether a value belongs to this set */
src/intset.c:256
↓ 17 callers
Function
luaL_checkany
deps/lua/src/lauxlib.c:152
↓ 17 callers
Function
lua_toboolean
deps/lua/src/lapi.c:337
↓ 17 callers
Function
rioWriteBulkCount
Write multi bulk count in the format: "*<count>\r\n". */
src/rio.cpp:454
↓ 17 callers
Function
rioWriteBulkObject
Delegate writing an object to writing a bulk string or bulk long long. * This is not placed in rio.c since that adds the g_pserver->h dependency. */
src/aof.cpp:1078
↓ 17 callers
Function
set_errno
Set error code. */
deps/memkind/src/jemalloc/include/jemalloc/internal/util.h:46
↓ 17 callers
Function
witness_assert_lockless
deps/jemalloc/include/jemalloc/internal/witness.h:269
↓ 16 callers
Function
accum_atomic_zu
deps/jemalloc/src/ctl.c:673
↓ 16 callers
Function
addReplyBulkSds
Add sds to reply (takes ownership of sds and frees it) */
src/networking.cpp:996
↓ 16 callers
Function
addReplyCommandFlag
Helper function for addReplyCommand() to output flags. */
src/server.cpp:5434
↓ 16 callers
Function
addReplyHelp
Add an array of C strings as status replies with a heading. * This function is typically invoked by from commands that support * subcommands in resp
src/networking.cpp:1064
↓ 16 callers
Function
addReplyStatus
src/networking.cpp:652
↓ 16 callers
Function
addReplyVerbatim
Reply with a verbatim type having the specified extension. * * The 'ext' is the "extension" of the file, actually just a three * character type tha
src/networking.cpp:1040
↓ 16 callers
Function
arena_stats_accum_u64
* Non-atomically sets *dst += src. *dst needs external synchronization. * This lets us avoid the cost of a fetch_add when its unnecessary (note that
deps/jemalloc/include/jemalloc/internal/arena_stats.h:201
↓ 16 callers
Function
connGetPrivateData
Get the associated private data pointer */
src/connection.cpp:138
↓ 16 callers
Function
connGetState
src/connection.cpp:454
↓ 16 callers
Function
emitter_json_object_kv_begin
Shorthand for calling emitter_json_key and then emitter_json_object_begin. */
deps/jemalloc/include/jemalloc/internal/emitter.h:306
↓ 16 callers
Function
extent_committed_get
deps/memkind/src/jemalloc/include/jemalloc/internal/extent_inlines.h:90
↓ 16 callers
Function
extent_committed_get
deps/jemalloc/include/jemalloc/internal/extent_inlines.h:100
↓ 16 callers
Function
extent_state_get
deps/jemalloc/include/jemalloc/internal/extent_inlines.h:88
↓ 16 callers
Function
extent_szind_get
deps/jemalloc/include/jemalloc/internal/extent_inlines.h:62
↓ 16 callers
Function
getLongLongFromObject
src/object.cpp:724
↓ 16 callers
Function
hbw_set_policy
deps/memkind/src/src/hbwmalloc.c:143
↓ 16 callers
Function
luaL_argerror
deps/lua/src/lauxlib.c:43
← previous
next →
301–400 of 10,473, ranked by callers