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
↓ 13 callers
Function
propagate
Propagate the specified command (in the context of the specified database id) * to AOF and Slaves. * * flags are an xor between: * + PROPAGATE_NON
src/server.cpp:4365
↓ 13 callers
Function
quicklistNext
Get next element in iterator. * * Note: You must NOT insert into the list while iterating over it. * You *may* delete from the list while iterating
src/quicklist.c:1141
↓ 13 callers
Function
quicklistSetFill
src/quicklist.c:123
↓ 13 callers
Function
raxFree
Free a whole radix tree. */
src/rax.c:1249
↓ 13 callers
Function
raxIteratorAddChars
Append characters at the current key string of the iterator 'it'. This * is a low level function used to implement the iterator, not callable by * t
src/rax.c:1272
↓ 13 callers
Method
registers
Cached cardinality, little endian. */
src/hyperloglog.cpp:187
↓ 13 callers
Method
release
src/sds.h:450
↓ 13 callers
Function
rtree_szind_slab_read
deps/jemalloc/include/jemalloc/internal/rtree.h:491
↓ 13 callers
Function
setExpire
Set an expire to the specified key. If the expire is set in the context * of an user calling a command 'c' is the client, otherwise 'c' is set * to
src/db.cpp:1864
↓ 13 callers
Method
signal
deps/concurrentqueue/lightweightsemaphore.h:96
↓ 13 callers
Method
subkey
src/expire.h:97
↓ 13 callers
Function
throwOnError
deps/cpp-statsd-client/tests/testStatsdClient.cpp:35
↓ 13 callers
Function
witness_init
deps/memkind/src/jemalloc/src/witness.c:8
↓ 13 callers
Function
witness_init
deps/jemalloc/src/witness.c:8
↓ 13 callers
Function
witness_lock
deps/memkind/src/jemalloc/include/jemalloc/internal/witness.h:273
↓ 13 callers
Function
witness_lock
deps/jemalloc/include/jemalloc/internal/witness.h:274
↓ 12 callers
Method
AddWorkFunction
src/AsyncWorkQueue.cpp:123
↓ 12 callers
Function
accum_arena_stats_u64
* Sets *dst + *src non-atomically. This is safe, since everything is * synchronized by the ctl mutex. */
deps/memkind/src/jemalloc/src/ctl.c:554
↓ 12 callers
Function
activeDefragSds
Defrag helper for sds strings * * returns NULL in case the allocation wasn't moved. * when it returns a non-null value, the old pointer was already
src/defrag.cpp:103
↓ 12 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/memkind/src/jemalloc/src/arena.c:146
↓ 12 callers
Function
arena_stats_read_u64
Likewise: with ctl mutex synchronization, reading is simple. */
deps/memkind/src/jemalloc/src/ctl.c:566
↓ 12 callers
Function
b0get
deps/memkind/src/jemalloc/src/base.c:228
↓ 12 callers
Function
b0get
deps/jemalloc/src/base.c:344
↓ 12 callers
Function
checknext
deps/lua/src/lparser.c:94
↓ 12 callers
Function
ckh_count
deps/memkind/src/jemalloc/src/ckh.c:437
↓ 12 callers
Function
ckh_count
deps/jemalloc/src/ckh.c:438
↓ 12 callers
Function
clientHasPendingReplies
Return true if the specified client has pending reply buffers to write to * the socket. */
src/networking.cpp:1149
↓ 12 callers
Function
connSetReadHandler
Register a read handler, to be called when the connection is readable. * If NULL, the existing handler is removed. */
src/connection.h:172
↓ 12 callers
Function
ctl_accum_arena_stats_u64
* Sets *dst + *src non-atomically. This is safe, since everything is * synchronized by the ctl mutex. */
deps/jemalloc/src/ctl.c:652
↓ 12 callers
Function
emitter_json_value
deps/jemalloc/include/jemalloc/internal/emitter.h:250
↓ 12 callers
Function
emitter_row_init
deps/jemalloc/include/jemalloc/internal/emitter.h:397
↓ 12 callers
Method
endEpoch
src/gc.h:69
↓ 12 callers
Function
extent_dalloc
deps/jemalloc/src/extent.c:193
↓ 12 callers
Function
extent_szind_get
deps/memkind/src/jemalloc/include/jemalloc/internal/extent_inlines.h:60
↓ 12 callers
Function
extents_npages_get
deps/memkind/src/jemalloc/src/extent.c:301
↓ 12 callers
Method
find_cached_threadsafe
src/snapshot.cpp:478
↓ 12 callers
Function
freeClusterManagerNode
src/redis-cli.c:2397
↓ 12 callers
Function
getClusterHostFromCmdArgs
Get host ip and port from command arguments. If only one argument has * been provided it must be in the form of 'ip:port', elsewhere * the first arg
src/redis-cli.c:2367
↓ 12 callers
Function
getLastModifiedTime
Given a path to a file, return the last time it was accessed (in seconds) */
src/tls.cpp:223
↓ 12 callers
Function
getLongInfoField
Like the above function but automatically convert the result into * a long. On error (missing field) LONG_MIN is returned. */
src/redis-cli.c:6830
↓ 12 callers
Function
get_errno
Get last error code. */
deps/memkind/src/jemalloc/include/jemalloc/internal/util.h:56
↓ 12 callers
Function
hook_install
deps/jemalloc/src/hook.c:47
↓ 12 callers
Function
hook_remove
deps/jemalloc/src/hook.c:72
↓ 12 callers
Function
ldbSendLogs
Send ldb.logs to the debugging client as a multi-bulk reply * consisting of simple strings. Log entries which include newlines have them * replaced
src/scripting.cpp:1933
↓ 12 callers
Function
lg_floor
deps/jemalloc/include/jemalloc/internal/bit_util.h:153
↓ 12 callers
Function
lookupCommand
src/server.cpp:4322
↓ 12 callers
Function
luaK_exp2nextreg
deps/lua/src/lcode.c:414
↓ 12 callers
Function
lua_checkstack
deps/lua/src/lapi.c:95
↓ 12 callers
Function
lua_tolstring
deps/lua/src/lapi.c:343
↓ 12 callers
Function
memtest_compare_times
src/memtest.c:218
↓ 12 callers
Function
nstime_ns
deps/memkind/src/jemalloc/src/nstime.c:21
↓ 12 callers
Function
post_reentrancy
deps/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_a.h:165
↓ 12 callers
Function
prng_lg_range_u64
deps/jemalloc/include/jemalloc/internal/prng.h:89
↓ 12 callers
Function
quicklistGetIterator
Returns a quicklist iterator 'iter'. After the initialization every * call to quicklistNext() will return the next element of the quicklist. */
src/quicklist.c:1072
↓ 12 callers
Function
random
Gets the random number generator.
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:1198
↓ 12 callers
Function
redisAppendCommandArgv
deps/hiredis/hiredis.c:1116
↓ 12 callers
Function
redisCommunicateSystemd
Send a notify message to systemd. Returns sd_notify return code which is * a positive number on success. */
src/server.cpp:7181
↓ 12 callers
Function
redisNetClose
deps/hiredis/net.c:53
↓ 12 callers
Function
replicationGetSlaveName
Return the pointer to a string representing the replica ip:listening_port * pair. Mostly useful for logging, since we want to log a replica using its
src/replication.cpp:71
↓ 12 callers
Function
rtree_szind_slab_read
deps/memkind/src/jemalloc/include/jemalloc/internal/rtree.h:443
↓ 12 callers
Function
safety_check_set_abort
deps/jemalloc/src/safety_check.c:6
↓ 12 callers
Function
sdssetlen
src/sds.h:172
↓ 12 callers
Function
sdstrim
Remove the part of the string from left and from right composed just of * contiguous characters found in 'cset', that is a null terminted C string.
src/sds.c:789
↓ 12 callers
Function
setTypeInitIterator
src/t_set.cpp:124
↓ 12 callers
Function
setTypeReleaseIterator
src/t_set.cpp:138
↓ 12 callers
Method
size
deps/memkind/src/test/allocator_perf_tool/VectorIterator.hpp:57
↓ 12 callers
Function
streamEncodeID
Convert the specified stream entry ID as a 128 bit big endian number, so * that the IDs can be sorted lexicographically. */
src/t_stream.cpp:371
↓ 12 callers
Function
swap
deps/concurrentqueue/concurrentqueue.h:3713
↓ 12 callers
Function
sz_psz2u
deps/memkind/src/jemalloc/include/jemalloc/internal/sz.h:108
↓ 12 callers
Function
sz_psz2u
deps/jemalloc/include/jemalloc/internal/sz.h:106
↓ 12 callers
Function
testnext
deps/lua/src/lparser.c:80
↓ 12 callers
Function
usec
deps/hiredis/test.c:71
↓ 12 callers
Function
witness_unlock
deps/memkind/src/jemalloc/include/jemalloc/internal/witness.h:316
↓ 12 callers
Function
witness_unlock
deps/jemalloc/include/jemalloc/internal/witness.h:317
↓ 12 callers
Function
zipStorePrevEntryLength
Encode the length of the previous entry and write it to "p". Return the * number of bytes needed to encode this length if "p" is NULL. */
src/ziplist.c:457
↓ 12 callers
Function
zzlNext
Move to next entry based on the values in eptr and sptr. Both are set to * NULL when there is no next entry. */
src/t_zset.cpp:791
↓ 11 callers
Method
BaseGenerator
deps/memkind/src/test/gtest_fused/gtest/gtest.h:12067
↓ 11 callers
Function
CountIf
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:689
↓ 11 callers
Method
SetFExpires
src/object.cpp:1563
↓ 11 callers
Function
__redisAsyncDisconnect
Helper function to make the disconnect happen and clean up. */
deps/hiredis/async.c:371
↓ 11 callers
Method
allocate
* Allocates n*sizeof(T) bytes of high bandwidth memory using hbw_malloc(). * Throws std::bad_alloc when cannot allocate memory. */
deps/memkind/src/include/hbw_allocator.h:86
↓ 11 callers
Function
anetCloexec
Enable the FD_CLOEXEC on the given fd to avoid fd leaks. * This function should be invoked for fd's on specific places * where fork + execve syste
src/anet.c:100
↓ 11 callers
Function
arena_stats_accum_zu
Like the _u64 variant, needs an externally synchronized *dst. */
deps/jemalloc/include/jemalloc/internal/arena_stats.h:248
↓ 11 callers
Function
bitmap_size
deps/memkind/src/jemalloc/src/bitmap.c:118
↓ 11 callers
Function
bitmap_size
deps/jemalloc/src/bitmap.c:118
↓ 11 callers
Function
callHandler
Helper for connection implementations to call handlers: * 1. Increment refs to protect the connection. * 2. Execute the handler (if set). * 3. Decr
src/connhelpers.h:77
↓ 11 callers
Function
ckh_search
deps/memkind/src/jemalloc/src/ckh.c:521
↓ 11 callers
Function
clusterManagerLoadInfoFromNode
Retrieves info about the cluster using argument 'node' as the starting * point. All nodes will be loaded inside the cluster_manager.nodes list. * Wa
src/redis-cli.c:3811
↓ 11 callers
Function
createEnumConfig
src/config.cpp:2208
↓ 11 callers
Function
createSizeTConfig
src/config.cpp:2424
↓ 11 callers
Function
dictGetRandomKey
Return a random entry from the hash table. Useful to * implement randomized algorithms */
src/dict.cpp:993
↓ 11 callers
Method
expireSize
src/server.h:1170
↓ 11 callers
Function
extent_hook_post_reentrancy
deps/jemalloc/src/extent.c:1285
↓ 11 callers
Function
extent_hook_pre_reentrancy
deps/jemalloc/src/extent.c:1268
↓ 11 callers
Function
extent_hooks_assure_initialized
deps/memkind/src/jemalloc/src/extent.c:214
↓ 11 callers
Function
extent_hooks_assure_initialized
deps/jemalloc/src/extent.c:221
↓ 11 callers
Function
extent_init
deps/memkind/src/jemalloc/include/jemalloc/internal/extent_inlines.h:283
↓ 11 callers
Function
extent_init
deps/jemalloc/include/jemalloc/internal/extent_inlines.h:366
↓ 11 callers
Function
feedReplicationBacklog
Add data to the replication backlog. * This function also increments the global replication offset stored at * g_pserver->master_repl_offset, becaus
src/replication.cpp:359
↓ 11 callers
Function
fini_gen_rand
deps/memkind/src/jemalloc/test/src/SFMT.c:714
← previous
next →
501–600 of 10,473, ranked by callers