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
↓ 10 callers
Method
releaseRead
src/readwritelock.h:76
↓ 10 callers
Function
rioGetReadError
This function allows to know if there was a read error in any past * operation, since the rio stream was created or since the last call * to rioClea
src/rio.h:158
↓ 10 callers
Function
sdsclear
Modify an sds string in-place to make it empty (zero length). * However all the existing buffer is not discarded but set as free space * so that nex
src/sds.c:256
↓ 10 callers
Function
setKey
Common case for genericSetKey() where the TTL is not retained. */
src/db.cpp:421
↓ 10 callers
Function
setMvccTstamp
src/object.cpp:1724
↓ 10 callers
Function
setProtocolError
src/networking.cpp:2274
↓ 10 callers
Function
size_out_of_bounds
deps/memkind/src/include/memkind/internal/memkind_default.h:67
↓ 10 callers
Function
streamParseStrictIDOrReply
Wrapper for streamGenericParseIDOrReply() with 'strict' argument set to * 1, to be used when we want to return an error if the special IDs + or - *
src/t_stream.cpp:1739
↓ 10 callers
Function
stringmatchlen
Glob-style pattern matching. */
src/util.c:48
↓ 10 callers
Method
value
Gets the user supplied value.
deps/memkind/src/test/gtest_fused/gtest/gtest.h:20377
↓ 10 callers
Function
value_or_delete
If a string is ":deleted:", the special value for deleted hash fields is * returned; otherwise the input string is returned. */
tests/modules/hash.c:8
↓ 10 callers
Function
witness_assert_not_owner
deps/memkind/src/jemalloc/include/jemalloc/internal/witness.h:203
↓ 10 callers
Function
witness_assert_not_owner
deps/jemalloc/include/jemalloc/internal/witness.h:204
↓ 10 callers
Function
xorDigest
Compute the sha1 of string at 's' with 'len' bytes long. * The SHA1 is then xored against the string pointed by digest. * Since xor is commutative,
src/debug.cpp:92
↓ 10 callers
Function
ziplistDeleteRange
Delete a range of entries from the ziplist. */
src/ziplist.c:1278
↓ 10 callers
Function
ziplistPrev
Return pointer to previous entry in ziplist. */
src/ziplist.c:1213
↓ 10 callers
Function
zipmapSet
Set key to value, creating the key if it does not already exist. * If 'update' is not NULL, *update is set to 1 if the key was * already preset, oth
src/zipmap.c:215
↓ 10 callers
Function
zmalloc_usable_size
src/zmalloc.cpp:290
↓ 10 callers
Function
zslInsert
Insert a new node in the skiplist. Assumes the element does not already * exist (up to the caller to enforce that). The skiplist takes ownership * o
src/t_zset.cpp:132
↓ 9 callers
Method
AtEnd
deps/memkind/src/test/gtest_fused/gtest/gtest.h:16016
↓ 9 callers
Function
DumpInt
deps/lua/src/ldump.c:45
↓ 9 callers
Function
JEMALLOC_ATTR
deps/memkind/src/jemalloc/src/jemalloc.c:1958
↓ 9 callers
Function
JEMALLOC_ATTR
deps/jemalloc/src/jemalloc.c:2321
↓ 9 callers
Method
Passed
Returns true iff the unit test passed (i.e. all test cases passed).
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:5506
↓ 9 callers
Function
ProcessPendingAsyncWrites
src/networking.cpp:1983
↓ 9 callers
Function
RedisModule_Init
src/modules/keydb_modstatsd/redismodule.h:856
↓ 9 callers
Function
TestAssertStringReply
Return 1 if the reply matches the specified string, otherwise log errors * in the server log and return 0. */
tests/modules/basics.c:385
↓ 9 callers
Method
addArrayLen
src/replication.cpp:1105
↓ 9 callers
Function
addReplyPushLen
src/networking.cpp:940
↓ 9 callers
Method
alloc
deps/memkind/src/test/performance/framework.hpp:126
↓ 9 callers
Function
arena_i_initialized
deps/memkind/src/jemalloc/test/unit/arena_reset.c:193
↓ 9 callers
Function
arena_i_initialized
deps/jemalloc/test/unit/arena_reset.c:193
↓ 9 callers
Function
arena_nthreads_get
deps/jemalloc/src/arena.c:1921
↓ 9 callers
Function
arena_stats_add_u64
deps/jemalloc/include/jemalloc/internal/arena_stats.h:172
↓ 9 callers
Function
arena_stats_lock
deps/jemalloc/include/jemalloc/internal/arena_stats.h:147
↓ 9 callers
Function
arena_stats_read_u64
deps/memkind/src/jemalloc/src/arena.c:106
↓ 9 callers
Function
arena_stats_unlock
deps/jemalloc/include/jemalloc/internal/arena_stats.h:154
↓ 9 callers
Function
bitmap_sfu
sfu: set first unset. */
deps/memkind/src/jemalloc/include/jemalloc/internal/bitmap.h:300
↓ 9 callers
Function
checkClientPauseTimeoutAndReturnIfPaused
Checks if the current client pause has elapsed and unpause clients * if it has. Also returns true if clients are now paused and false * otherwise.
src/networking.cpp:4039
↓ 9 callers
Function
checkConsistency
src/intset.c:378
↓ 9 callers
Function
clusterAddNode
Add a node to the nodes hash table */
src/cluster.cpp:1015
↓ 9 callers
Function
clusterManagerSetSlot
Set slot status to "importing" or "migrating" */
src/redis-cli.c:3102
↓ 9 callers
Function
codearith
deps/lua/src/lcode.c:653
↓ 9 callers
Function
dbAsyncDelete
src/lazyfree.cpp:199
↓ 9 callers
Function
dbSyncDelete
Delete a key, value, and associated expiration entry if any, from the DB */
src/db.cpp:517
↓ 9 callers
Function
dbUnshareStringValue
Prepare the string object stored at 'key' to be modified destructively * to implement commands like SETBIT or APPEND. * * An object is usually read
src/db.cpp:555
↓ 9 callers
Function
dictFreeUnlinkedEntry
You need to call this function to really free the entry after a call * to dictUnlink(). It's safe to call this function with 'he' = NULL. */
src/dict.cpp:787
↓ 9 callers
Function
dictScan
dictScan() is used to iterate over the elements of a dictionary. * * Iterating works the following way: * * 1) Initially you call the function usi
src/dict.cpp:1249
↓ 9 callers
Function
draw_bar
(ax, show_first_operation, x, y, time, init_time, draw_color)
deps/memkind/src/test/draw_plots.py:88
↓ 9 callers
Function
dynamic_opts_init
deps/jemalloc/src/jemalloc.c:1898
↓ 9 callers
Method
elapsed_time
Gets the elapsed time, in milliseconds.
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:5501
↓ 9 callers
Function
emitter_dict_begin
deps/jemalloc/include/jemalloc/internal/emitter.h:440
↓ 9 callers
Function
emitter_dict_end
deps/jemalloc/include/jemalloc/internal/emitter.h:451
↓ 9 callers
Function
extent_dalloc
deps/memkind/src/jemalloc/src/extent.c:187
↓ 9 callers
Function
extent_szind_set
deps/jemalloc/include/jemalloc/internal/extent_inlines.h:258
↓ 9 callers
Function
extent_zeroed_get
deps/memkind/src/jemalloc/include/jemalloc/internal/extent_inlines.h:84
↓ 9 callers
Function
extent_zeroed_get
deps/jemalloc/include/jemalloc/internal/extent_inlines.h:94
↓ 9 callers
Function
extents_state_get
deps/memkind/src/jemalloc/src/extent.c:296
↓ 9 callers
Function
extents_state_get
deps/jemalloc/src/extent.c:303
↓ 9 callers
Function
fastlock_lock
src/fastlock.cpp:345
↓ 9 callers
Function
finish_testcase
deps/memkind/src/examples/autohbw_candidates.c:72
↓ 9 callers
Function
gen_mallctl_str
deps/memkind/src/jemalloc/test/unit/stats.c:221
↓ 9 callers
Function
geohashGetDistance
Calculate distance using haversin great circle distance formula. */
src/geohash_helper.cpp:217
↓ 9 callers
Function
getClientType
Get the class of a client, used in order to enforce limits to different * classes of clients. * * The function will return one of the following: *
src/networking.cpp:3828
↓ 9 callers
Function
getMaxmemoryState
Get the memory status from the point of view of the maxmemory directive: * if the memory used is under the maxmemory setting then C_OK is returned.
src/evict.cpp:400
↓ 9 callers
Function
getRandomHexChars
Generate the Redis "Run ID", a SHA1-sized random number that identifies a * given execution of Redis, so that if you are talking with an instance *
src/util.c:715
↓ 9 callers
Function
get_large_size
deps/memkind/src/jemalloc/test/integration/xallocx.c:111
↓ 9 callers
Function
get_large_size
deps/jemalloc/test/integration/xallocx.c:111
↓ 9 callers
Function
hasActiveChildProcess
Return true if there are active children processes doing RDB saving, * AOF rewriting, or some side process spawned by a loaded module. */
src/server.cpp:1727
↓ 9 callers
Function
hashTypeReleaseIterator
src/t_hash.cpp:343
↓ 9 callers
Function
hi_sdsMakeRoomFor
Enlarge the free space at the end of the hisds string so that the caller * is sure that after calling this function can overwrite up to addlen * byt
deps/hiredis/sds.c:196
↓ 9 callers
Function
hi_sdsavail
deps/hiredis/sds.h:119
↓ 9 callers
Function
hi_sdssetlen
deps/hiredis/sds.h:145
↓ 9 callers
Function
hook_invoke_dalloc
deps/jemalloc/src/hook.c:169
↓ 9 callers
Function
imalloc
Returns the errno-style error code of the allocation. */
deps/jemalloc/src/jemalloc.c:2245
↓ 9 callers
Method
increment
src/modules/keydb_modstatsd/modmain.cpp:41
↓ 9 callers
Function
listAddNodeHead
Add a new node to the list, to head, containing the specified 'value' * pointer as value. * * On error, NULL is returned and no operation is perfor
src/adlist.c:89
↓ 9 callers
Function
lookupClientByID
Return a client by ID, or NULL if the client ID is not in the set * of registered clients. Note that "fake clients", created with -1 as FD, * are no
src/networking.cpp:1805
↓ 9 callers
Function
lpAppendInteger
This is just a wrapper for lpAppend() to directly use a 64 bit integer * instead of a string. */
src/t_stream.cpp:252
↓ 9 callers
Function
lpGetIntegerIfValid
This is a wrapper function for lpGet() to directly get an integer value * from the listpack (that may store numbers as a string), converting * the s
src/t_stream.cpp:274
↓ 9 callers
Function
luaK_jump
deps/lua/src/lcode.c:59
↓ 9 callers
Function
lua_isstring
deps/lua/src/lapi.c:267
↓ 9 callers
Function
lua_pushcclosure
deps/lua/src/lapi.c:486
↓ 9 callers
Function
lua_pushlightuserdata
deps/lua/src/lapi.c:511
↓ 9 callers
Function
mp_buf_append
deps/lua/src/lua_cmsgpack.c:118
↓ 9 callers
Function
post_reentrancy
deps/memkind/src/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_a.h:159
↓ 9 callers
Function
prng_lg_range_zu
deps/memkind/src/jemalloc/include/jemalloc/internal/prng.h:103
↓ 9 callers
Function
prng_lg_range_zu
deps/jemalloc/include/jemalloc/internal/prng.h:103
↓ 9 callers
Function
prof_bt_count
deps/memkind/src/jemalloc/src/prof.c:937
↓ 9 callers
Function
prof_bt_count
deps/jemalloc/src/prof.c:1207
↓ 9 callers
Function
pthread_create
deps/memkind/src/jemalloc/src/mutex.c:30
↓ 9 callers
Function
rdbLoadStringObject
src/rdb.cpp:576
↓ 9 callers
Function
redactClientCommandArgument
Redact a given argument to prevent it from being shown * in the slowlog. This information is stored in the * original_argv array. */
src/networking.cpp:3724
↓ 9 callers
Function
redisAsyncHandleRead
This function should be called when the socket is readable. * It processes all replies that can be read and executes their callbacks. */
deps/hiredis/async.c:642
↓ 9 callers
Function
redisAsyncHandleWrite
deps/hiredis/async.c:675
↓ 9 callers
Function
redisConnect
Connect to a Redis instance. On error the field error in the returned * context will be set to the return value of the error function. * When no set
deps/hiredis/hiredis.c:843
↓ 9 callers
Function
redisSetProcTitle
src/server.cpp:7156
↓ 9 callers
Function
rejectCommandFormat
src/server.cpp:4755
↓ 9 callers
Function
removeExpire
----------------------------------------------------------------------------- * Expires API *-------------------------------------------------------
src/db.cpp:1810
↓ 9 callers
Function
sdsIncrLen
Increment the sds length and decrements the left free space at the * end of the string according to 'incr'. Also set the null term * in the new end
src/sds.c:405
← previous
next →
701–800 of 10,473, ranked by callers