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
↓ 9 callers
Function
setTypeAdd
Add the specified value into a set. * * If the value was already member of the set, nothing is done and 0 is * returned, otherwise the new element
src/t_set.cpp:52
↓ 9 callers
Function
static_opts_init
deps/jemalloc/src/jemalloc.c:1863
↓ 9 callers
Function
stopLoading
Loading finished */
src/rdb.cpp:2645
↓ 9 callers
Function
streamCompareID
Compare two stream IDs. Return -1 if a < b, 0 if a == b, 1 if a > b. */
src/t_stream.cpp:389
↓ 9 callers
Function
streamReplyWithRange
src/t_stream.cpp:1498
↓ 9 callers
Function
stringObjectLen
src/object.cpp:647
↓ 9 callers
Method
timing
src/modules/keydb_modstatsd/modmain.cpp:62
↓ 9 callers
Function
tsd_slow_update
deps/jemalloc/src/tsd.c:170
↓ 9 callers
Function
ustime
src/redis-cli.c:116
↓ 9 callers
Function
yesnotoi
src/config.cpp:314
↓ 9 callers
Function
zipEntry
Fills a struct with all information about an entry. * This function is the "unsafe" alternative to the one blow. * Generally, all function that retu
src/ziplist.c:616
↓ 9 callers
Function
zsetScore
Return (by reference) the score of the specified member of the sorted set * storing it into *score. If the element does not exist C_ERR is returned
src/t_zset.cpp:1263
↓ 9 callers
Function
zuiLength
src/t_zset.cpp:2134
↓ 8 callers
Method
Cancel
src/replication.cpp:5319
↓ 8 callers
Function
GetTimeInMillis
Returns the current time in milliseconds.
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:2255
↓ 8 callers
Function
HandleExceptionsInMethodIfSupported
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:3859
↓ 8 callers
Function
IsSubstringImpl
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:3032
↓ 8 callers
Function
ParseBoolFlag
Parses a string for a bool flag, in the form of either "--flag=value" or "--flag". In the former case, the value is taken as true as long as it does
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:6498
↓ 8 callers
Function
ParseNaturalNumber
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:1373
↓ 8 callers
Function
PrintCharsAsStringTo
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:10067
↓ 8 callers
Function
SHA1Update
src/sha1.c:131
↓ 8 callers
Function
_buildResp
(*args)
monkey/monkey.py:16
↓ 8 callers
Function
_intsetGet
Return the value at pos, using the configured encoding. */
src/intset.c:77
↓ 8 callers
Method
addString
src/replication.cpp:1117
↓ 8 callers
Function
arena_decay
deps/jemalloc/src/arena.c:996
↓ 8 callers
Function
arena_nthreads_get
deps/memkind/src/jemalloc/src/arena.c:1888
↓ 8 callers
Function
arena_stats_accum_zu
Like the _u64 variant, needs an externally synchronized *dst. */
deps/memkind/src/jemalloc/src/arena.c:192
↓ 8 callers
Function
arena_stats_lock
deps/memkind/src/jemalloc/src/arena.c:92
↓ 8 callers
Function
arena_stats_unlock
deps/memkind/src/jemalloc/src/arena.c:99
↓ 8 callers
Function
assert_emit_output
deps/jemalloc/test/unit/emitter.c:67
↓ 8 callers
Function
assert_rep
deps/jemalloc/test/unit/prof_log.c:6
↓ 8 callers
Function
barg
Convert argument to bit type. */
deps/lua/src/lua_bit.c:57
↓ 8 callers
Function
bitmap_full
deps/jemalloc/include/jemalloc/internal/bitmap.h:175
↓ 8 callers
Function
bitmap_get
deps/memkind/src/jemalloc/include/jemalloc/internal/bitmap.h:194
↓ 8 callers
Function
bitmap_get
deps/jemalloc/include/jemalloc/internal/bitmap.h:194
↓ 8 callers
Function
check_match
deps/lua/src/lparser.c:104
↓ 8 callers
Function
clusterBuildMessageHdr
Build the message header. hdr must point to a buffer at least * sizeof(clusterMsg) in bytes. */
src/cluster.cpp:2492
↓ 8 callers
Function
connPeerToString
src/connection.cpp:409
↓ 8 callers
Function
dictResize
Resize the table to the minimal size that contains all the elements, * but with the invariant of a USED/BUCKETS ratio near to <= 1 */
src/dict.cpp:186
↓ 8 callers
Function
discardTransaction
src/multi.cpp:84
↓ 8 callers
Function
do_epoch
deps/jemalloc/test/unit/decay.c:75
↓ 8 callers
Function
elapsedStart
Functions to measure elapsed time. Example: * monotime myTimer; * elapsedStart(&myTimer); * while (elapsedMs(myTimer) < 10) {} // loop
src/monotonic.h:43
↓ 8 callers
Function
emitter_json_array_begin
deps/jemalloc/include/jemalloc/internal/emitter.h:269
↓ 8 callers
Function
emitter_json_array_kv_begin
Shorthand for calling emitter_json_key and then emitter_json_array_begin. */
deps/jemalloc/include/jemalloc/internal/emitter.h:279
↓ 8 callers
Function
emitter_json_key
* Emits a key (e.g. as appears in an object). The next json entity emitted will * be the corresponding value. */
deps/jemalloc/include/jemalloc/internal/emitter.h:241
↓ 8 callers
Function
expr
deps/lua/src/lparser.c:856
↓ 8 callers
Function
ffs_lu
deps/jemalloc/include/jemalloc/internal/bit_util.h:20
↓ 8 callers
Function
freeClusterLink
Free a cluster link, but does not free the associated node of course. * This function will just make sure that the original node associated * with t
src/cluster.cpp:666
↓ 8 callers
Function
geohashDecode
src/geohash.c:164
↓ 8 callers
Function
geohash_move_x
src/geohash.c:228
↓ 8 callers
Function
geohash_move_y
src/geohash.c:248
↓ 8 callers
Function
getFirstMaster
src/cluster.cpp:83
↓ 8 callers
Function
getRangeLongFromObjectOrReply
src/object.cpp:815
↓ 8 callers
Method
get_command_path
Get the path to the binary.
deps/memkind/src/test/python_framework/cmd_helper.py:52
↓ 8 callers
Function
hdr_iter_next
deps/hdr_histogram/hdr_histogram.c:825
↓ 8 callers
Function
hi_sdsHdrSize
deps/hiredis/sds.c:43
↓ 8 callers
Function
hi_sdsrange
Turn the string into a smaller (or equal) string containing only the * substring specified by the 'start' and 'end' indexes. * * start and end can
deps/hiredis/sds.c:726
↓ 8 callers
Function
lg_floor
deps/memkind/src/jemalloc/include/jemalloc/internal/bit_util.h:100
↓ 8 callers
Function
listTypeInitIterator
Initialize an iterator at the specified index. */
src/t_list.cpp:88
↓ 8 callers
Function
listenToPort
Initialize a set of file descriptors to listen to the specified 'port' * binding the addresses specified in the Redis server configuration. * * The
src/server.cpp:3699
↓ 8 callers
Method
lock
src/ae.cpp:64
↓ 8 callers
Function
lookupKeyReadWithFlags
Lookup a key for read operations, or return NULL if the key is not found * in the specified DB. * * As a side effect of calling this function: * 1
src/db.cpp:160
↓ 8 callers
Function
lpBytes
Return the total number of bytes the listpack is composed of. */
src/listpack.c:814
↓ 8 callers
Function
luaD_call
** Call a function (C or Lua). The function to be called is at *func. ** The arguments are on the stack, right after the function. ** When returns, al
deps/lua/src/ldo.c:370
↓ 8 callers
Function
luaF_close
deps/lua/src/lfunc.c:96
↓ 8 callers
Function
luaL_optinteger
deps/lua/src/lauxlib.c:197
↓ 8 callers
Function
lua_gc
deps/lua/src/lapi.c:899
↓ 8 callers
Function
lua_getmetatable
deps/lua/src/lapi.c:587
↓ 8 callers
Function
lua_xmove
deps/lua/src/lapi.c:110
↓ 8 callers
Function
malloc_strtoumax
deps/jemalloc/src/malloc_io.c:113
↓ 8 callers
Function
memkind_malloc_usable_size
deps/memkind/src/src/memkind.c:554
↓ 8 callers
Function
nstime_imultiply
deps/memkind/src/jemalloc/src/nstime.c:79
↓ 8 callers
Function
nstime_imultiply
deps/jemalloc/src/nstime.c:79
↓ 8 callers
Function
prepareClientToWrite
This function is called every time we are going to transmit new data * to the client. The behavior is the following: * * If the client should recei
src/networking.cpp:295
↓ 8 callers
Function
print
deps/lua/etc/min.c:12
↓ 8 callers
Function
prng_lg_range_u32
deps/memkind/src/jemalloc/include/jemalloc/internal/prng.h:66
↓ 8 callers
Function
prng_lg_range_u32
deps/jemalloc/include/jemalloc/internal/prng.h:66
↓ 8 callers
Function
ql_foreach
deps/memkind/src/jemalloc/include/jemalloc/internal/witness.h:172
↓ 8 callers
Function
raxFreeWithCallback
Free a whole radix tree, calling the specified callback in order to * free the auxiliary data. */
src/rax.c:1242
↓ 8 callers
Function
rdbCheckError
Called on RDB errors. Provides details about the RDB and the offset * we were when the error was detected. */
src/redis-check-rdb.cpp:105
↓ 8 callers
Function
rdbPopulateSaveInfo
Populate the rdbSaveInfo structure used to persist the replication * information inside the RDB file. Currently the structure explicitly * contains
src/rdb.cpp:4019
↓ 8 callers
Function
redisAppendCommand
deps/hiredis/hiredis.c:1106
↓ 8 callers
Function
redisAsyncConnect
deps/hiredis/async.c:194
↓ 8 callers
Function
redisAsyncDisconnect
Tries to do a clean disconnect from Redis, meaning it stops new commands * from being issued, but tries to flush the output buffer and execute * cal
deps/hiredis/async.c:404
↓ 8 callers
Function
redisGitSHA1
src/release.c:41
↓ 8 callers
Function
redisSetPushCallback
Set a user provided RESP3 PUSH handler and return any old one set. */
deps/hiredis/hiredis.c:923
↓ 8 callers
Function
rejectCommand
Used when a command that is ready for execution needs to be rejected, due to * varios pre-execution checks. it returns the appropriate error to the c
src/server.cpp:4738
↓ 8 callers
Function
releaseSentinelAddr
Free a Sentinel address. Can't fail. */
src/sentinel.cpp:633
↓ 8 callers
Function
replicationFeedSlaves
src/replication.cpp:693
↓ 8 callers
Method
reset
src/expire.h:197
↓ 8 callers
Function
resetManualFailover
Reset the manual failover state. This works for both masters and slaves * as all the state about manual failover is cleared. * * The function can b
src/cluster.cpp:3509
↓ 8 callers
Method
retrieve
src/StorageCache.cpp:196
↓ 8 callers
Function
rioInitWithFile
src/rio.cpp:193
↓ 8 callers
Function
rtree_leaf_elm_bits_read
deps/jemalloc/include/jemalloc/internal/rtree.h:172
↓ 8 callers
Function
rtree_szind_slab_update
deps/memkind/src/jemalloc/include/jemalloc/internal/rtree.h:456
↓ 8 callers
Function
saveMasterStatusToStorage
Save the replid of yourself and any connected masters to storage. * Returns if no storage provider is used. */
src/replication.cpp:2197
↓ 8 callers
Function
sdsHdrSize
src/sds.c:44
↓ 8 callers
Function
setfield
deps/lua/src/loslib.c:88
↓ 8 callers
Function
stopSaving
src/rdb.cpp:2670
↓ 8 callers
Function
strbuf_append_char
deps/lua/src/strbuf.h:116
← previous
next →
801–900 of 10,473, ranked by callers