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
↓ 3 callers
Function
GetPrefixUntilComma
Returns the prefix of 'str' before the first comma in it; returns the entire string if it contains no comma.
deps/memkind/src/test/gtest_fused/gtest/gtest.h:8871
↓ 3 callers
Method
GetTestCase
Gets the i-th test case among all the test cases. i can range from 0 to total_test_case_count() - 1. If i is not in that range, returns NULL.
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:5514
↓ 3 callers
Method
GetTestInfo
Returns the i-th test among all the tests. i can range from 0 to total_test_count() - 1. If i is not in that range, returns NULL.
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:4188
↓ 3 callers
Method
GetTestPartResultReporterForCurrentThread
Returns the test part result reporter for the current thread.
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:2167
↓ 3 callers
Function
GetTestTypeId
Returns the type ID of ::testing::Test. We should always call this instead of GetTypeId< ::testing::Test>() to get the type ID of testing::Test. Thi
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:2072
↓ 3 callers
Function
Int32FromGTestEnv
Reads and returns a 32-bit integer stored in the environment variable corresponding to the given flag; if it isn't set or doesn't represent a valid 32
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:9752
↓ 3 callers
Function
MasterInfoFromClient
src/replication.cpp:5283
↓ 3 callers
Function
MatchRegexAtHead
Returns true iff regex matches a prefix of str. regex must be a valid simple regular expression and not start with "^", or the result is undefined.
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:9337
↓ 3 callers
Function
MemkindAlign
deps/memkind/src/autohbw/autohbw.c:367
↓ 3 callers
Function
ParseFlagValue
Parses a string as a command line flag. The string should have the format "--flag=value". When def_optional is true, the "=value" part can be omitte
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:6460
↓ 3 callers
Function
ParseInt32
Parses 'str' for a 32-bit signed integer. If successful, writes the result to *value and returns true; otherwise leaves *value unchanged and returns
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:9697
↓ 3 callers
Function
ParseInt32Flag
Parses a string for an Int32 flag, in the form of "--flag=value". On success, stores the value of the flag in *value, and returns true. On failure,
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:6515
↓ 3 callers
Function
PrintByteSegmentInObjectTo
Prints a segment of bytes in the given object.
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:9865
↓ 3 callers
Function
PrintRawArrayTo
deps/memkind/src/test/gtest_fused/gtest/gtest.h:11325
↓ 3 callers
Method
PushLine
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:2584
↓ 3 callers
Function
RM_InfoEndDictField
Ends a dict field, see RedisModule_InfoBeginDictField */
src/module.cpp:7146
↓ 3 callers
Function
RM_ZsetRangeStop
Stop a sorted set iteration. */
src/module.cpp:2838
↓ 3 callers
Method
RemoveTrailingPathSeparator
If input name has a trailing separator character, remove it and return the name, otherwise return the name string unmodified. On Windows platform, use
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:8531
↓ 3 callers
Function
ReportFailureInUnknownLocation
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:3699
↓ 3 callers
Function
ShuffleRange
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:718
↓ 3 callers
Function
StripTrailingSpaces
deps/memkind/src/test/gtest_fused/gtest/gtest.h:3922
↓ 3 callers
Function
__quicklistDelNode
src/quicklist.c:593
↓ 3 callers
Function
__redisAsyncCommand
Helper function for the redisAsyncCommand* family of functions. Writes a * formatted command to the output buffer and registers the provided callback
deps/hiredis/async.c:737
↓ 3 callers
Function
__redisAsyncCopyError
We want the error field to be accessible directly instead of requiring * an indirection to the redisContext struct. */
deps/hiredis/async.c:156
↓ 3 callers
Function
__redisAsyncFree
Helper function to free the context. */
deps/hiredis/async.c:301
↓ 3 callers
Function
__ziplistCascadeUpdate
When an entry is inserted, we need to set the prevlen field of the next * entry to equal the length of the inserted entry. It can occur that this *
src/ziplist.c:751
↓ 3 callers
Function
_dictExpandIfNeeded
Expand the hash table if needed */
src/dict.cpp:1348
↓ 3 callers
Function
_quicklistBookmarkFindByName
src/quicklist.c:1492
↓ 3 callers
Function
_quicklistInsertNodeAfter
src/quicklist.c:402
↓ 3 callers
Function
a0ialloc
deps/memkind/src/jemalloc/src/jemalloc.c:227
↓ 3 callers
Function
a0ialloc
deps/jemalloc/src/jemalloc.c:234
↓ 3 callers
Function
a0malloc
deps/memkind/src/jemalloc/src/jemalloc.c:242
↓ 3 callers
Function
a0malloc
deps/jemalloc/src/jemalloc.c:249
↓ 3 callers
Function
acceptOnThread
src/networking.cpp:1339
↓ 3 callers
Function
activeDefragSdsDict
Defrag a dict with sds key and optional value (either ptr, sds or robj string) */
src/defrag.cpp:285
↓ 3 callers
Function
activeExpireCycleExpire
src/expire.cpp:75
↓ 3 callers
Function
addReplyDictOfRedisInstances
Output a number of instances contained inside a dictionary as * Redis protocol. */
src/sentinel.cpp:3476
↓ 3 callers
Function
addReplyErrorLength
Low level function called by the addReplyError...() functions. * It emits the protocol for a Redis error, in the form: * * -ERRORCODE Error Message
src/networking.cpp:530
↓ 3 callers
Function
addReplySetLen
src/networking.cpp:930
↓ 3 callers
Function
adjust_assign
deps/lua/src/lparser.c:256
↓ 3 callers
Function
aeApiAssociate
* Helper function to invoke port_associate for the given fd and mask. */
src/ae_evport.c:126
↓ 3 callers
Function
aeDeleteEventLoop
src/ae.cpp:403
↓ 3 callers
Function
afterPropagateExec
src/multi.cpp:125
↓ 3 callers
Function
allPersistenceDisabled
Return true if this instance has persistence completely turned off: * both RDB and AOF are disabled. */
src/server.cpp:1757
↓ 3 callers
Function
anetFormatAddr
Format an IP,port pair into something easy to parse. If IP is IPv6 * (matches for ":"), the ip is surrounded by []. IP and port are just * separated
src/anet.c:602
↓ 3 callers
Function
anetKeepAlive
Set TCP keep alive option to detect dead peers. The interval option * is only used for Linux as we are using Linux-specific APIs to set * the probe
src/anet.c:123
↓ 3 callers
Function
anetRecvTimeout
Set the socket receive timeout (SO_RCVTIMEO socket option) to the specified * number of milliseconds, or disable it if the 'ms' argument is zero. */
src/anet.c:205
↓ 3 callers
Function
anetResolve
Resolve the hostname "host" and set the string representation of the * IP address into the buffer pointed by "ipbuf". * * If flags is set to ANET_I
src/anet.c:223
↓ 3 callers
Function
anetSendTimeout
Set the socket send timeout (SO_SNDTIMEO socket option) to the specified * number of milliseconds, or disable it if the 'ms' argument is zero. */
src/anet.c:191
↓ 3 callers
Function
anetSetReuseAddr
src/anet.c:250
↓ 3 callers
Function
anetSetReusePort
src/anet.c:261
↓ 3 callers
Function
anetTcpAccept
src/anet.c:530
↓ 3 callers
Function
aofClosePipes
src/aof.cpp:1848
↓ 3 callers
Function
aofRewriteBufferReset
This function free the old AOF rewrite buffer if needed, and initialize * a fresh new one. It tests for g_pserver->aof_rewrite_buf_blocks equal to NU
src/aof.cpp:70
↓ 3 callers
Function
areClientsPaused
Returns true if clients are paused and false otherwise. */
src/networking.cpp:4032
↓ 3 callers
Function
arena_bin_slabs_full_insert
deps/memkind/src/jemalloc/src/arena.c:1107
↓ 3 callers
Function
arena_bin_slabs_full_insert
deps/jemalloc/src/arena.c:1042
↓ 3 callers
Function
arena_bin_slabs_full_remove
deps/memkind/src/jemalloc/src/arena.c:1121
↓ 3 callers
Function
arena_bin_slabs_full_remove
deps/jemalloc/src/arena.c:1056
↓ 3 callers
Function
arena_decay_backlog_npages_limit
deps/memkind/src/jemalloc/src/arena.c:629
↓ 3 callers
Function
arena_decay_backlog_npages_limit
deps/jemalloc/src/arena.c:550
↓ 3 callers
Function
arena_decay_deadline_init
deps/memkind/src/jemalloc/src/arena.c:607
↓ 3 callers
Function
arena_decay_deadline_init
deps/jemalloc/src/arena.c:528
↓ 3 callers
Function
arena_decay_ms_read
deps/memkind/src/jemalloc/src/arena.c:597
↓ 3 callers
Function
arena_decay_ms_read
deps/jemalloc/src/arena.c:518
↓ 3 callers
Function
arena_decay_ms_valid
deps/memkind/src/jemalloc/src/arena.c:779
↓ 3 callers
Function
arena_decay_ms_valid
deps/jemalloc/src/arena.c:701
↓ 3 callers
Function
arena_decay_ticks
deps/memkind/src/jemalloc/include/jemalloc/internal/arena_inlines_b.h:67
↓ 3 callers
Function
arena_decay_ticks
deps/jemalloc/include/jemalloc/internal/arena_inlines_b.h:112
↓ 3 callers
Function
arena_decay_to_limit
* npages_limit: Decay as many dirty extents as possible without violating the * invariant: (extents_npages_get(extents) >= npages_limit) */
deps/memkind/src/jemalloc/src/arena.c:988
↓ 3 callers
Function
arena_decay_to_limit
* npages_limit: Decay at most npages_decay_max pages without violating the * invariant: (extents_npages_get(extents) >= npages_limit). We need an up
deps/jemalloc/src/arena.c:915
↓ 3 callers
Function
arena_dirty_decay_ms_default_get
deps/jemalloc/src/arena.c:1867
↓ 3 callers
Function
arena_dirty_decay_ms_get
deps/memkind/src/jemalloc/src/arena.c:853
↓ 3 callers
Function
arena_dirty_decay_ms_get
deps/jemalloc/src/arena.c:776
↓ 3 callers
Function
arena_extent_sn_next
deps/memkind/src/jemalloc/src/arena.c:1903
↓ 3 callers
Function
arena_extent_sn_next
deps/jemalloc/src/arena.c:1936
↓ 3 callers
Function
arena_extents_dirty_dalloc
deps/memkind/src/jemalloc/src/arena.c:371
↓ 3 callers
Function
arena_extents_dirty_dalloc
deps/jemalloc/src/arena.c:255
↓ 3 callers
Function
arena_init
deps/memkind/src/jemalloc/src/jemalloc.c:356
↓ 3 callers
Function
arena_malloc
deps/memkind/src/jemalloc/include/jemalloc/internal/arena_inlines_b.h:93
↓ 3 callers
Function
arena_malloc
deps/jemalloc/include/jemalloc/internal/arena_inlines_b.h:158
↓ 3 callers
Function
arena_muzzy_decay_ms_default_get
deps/jemalloc/src/arena.c:1881
↓ 3 callers
Function
arena_muzzy_decay_ms_get
deps/memkind/src/jemalloc/src/arena.c:858
↓ 3 callers
Function
arena_nactive_add
deps/memkind/src/jemalloc/src/arena.c:456
↓ 3 callers
Function
arena_nactive_add
deps/jemalloc/src/arena.c:372
↓ 3 callers
Function
arena_nactive_sub
deps/memkind/src/jemalloc/src/arena.c:461
↓ 3 callers
Function
arena_nactive_sub
deps/jemalloc/src/arena.c:377
↓ 3 callers
Function
arena_prof_promote
deps/memkind/src/jemalloc/src/arena.c:1582
↓ 3 callers
Function
arena_prof_promote
deps/jemalloc/src/arena.c:1552
↓ 3 callers
Function
arena_slab_reg_alloc
deps/jemalloc/src/arena.c:270
↓ 3 callers
Function
arena_stats_large_flush_nrequests_add
deps/jemalloc/include/jemalloc/internal/arena_stats.h:254
↓ 3 callers
Function
arena_stats_large_nrequests_add
deps/memkind/src/jemalloc/src/arena.c:198
↓ 3 callers
Function
arena_tdata_get_hard
deps/memkind/src/jemalloc/src/jemalloc.c:406
↓ 3 callers
Function
arena_tdata_get_hard
deps/jemalloc/src/jemalloc.c:421
↓ 3 callers
Function
assert_args_raw
deps/jemalloc/test/unit/hook.c:72
↓ 3 callers
Function
assert_tsd_data_cleanup_done
deps/memkind/src/jemalloc/src/tsd.c:77
↓ 3 callers
Function
assert_tsd_data_cleanup_done
deps/jemalloc/src/tsd.c:239
↓ 3 callers
Function
asyncFreeDictTable
src/server.cpp:2751
↓ 3 callers
Function
authRequired
src/networking.cpp:115
↓ 3 callers
Function
aux_close
deps/lua/src/liolib.c:127
← previous
next →
2,001–2,100 of 10,473, ranked by callers