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
↓ 4 callers
Function
freeFakeClientArgv
src/aof.cpp:817
↓ 4 callers
Function
freeMemoryGetNotCountedMemory
We don't want to count AOF buffers and slaves output buffers as * used memory: the eviction should use mostly data size. This function * returns the
src/evict.cpp:343
↓ 4 callers
Function
futex
src/fastlock.cpp:199
↓ 4 callers
Function
genericZpopCommand
This command implements the generic zpop operation, used by: * ZPOPMIN, ZPOPMAX, BZPOPMIN and BZPOPMAX. This function is also used * inside blocked.
src/t_zset.cpp:3807
↓ 4 callers
Function
geohashEncode
src/geohash.c:121
↓ 4 callers
Function
geohashGetCoordRange
src/geohash.c:112
↓ 4 callers
Method
get
deps/memkind/src/include/pmem_allocator.h:70
↓ 4 callers
Function
getClientPeerId
This function returns the client peer id, by creating and caching it * if client->peerid is NULL, otherwise returning the cached value. * The Peer I
src/networking.cpp:2852
↓ 4 callers
Function
getGenericCommand
src/t_string.cpp:292
↓ 4 callers
Function
getListPositionFromObjectOrReply
src/t_list.cpp:760
↓ 4 callers
Function
getLongDoubleFromObjectOrReply
src/object.cpp:710
↓ 4 callers
Function
getSafeInfoString
Returns a sanitized version of s that contains no unsafe info string chars. * If no unsafe characters are found, simply returns s. Caller needs to *
src/server.cpp:5584
↓ 4 callers
Function
get_arena_npurge_impl
deps/memkind/src/jemalloc/test/unit/decay.c:104
↓ 4 callers
Function
get_block_index_entry_for_index
deps/concurrentqueue/concurrentqueue.h:2924
↓ 4 callers
Function
get_function
deps/memkind/src/test/bat_tests.cpp:47
↓ 4 callers
Function
get_hbw_policy
deps/memkind/src/test/bat_tests.cpp:79
↓ 4 callers
Function
get_nlarge
deps/memkind/src/jemalloc/test/integration/xallocx.c:83
↓ 4 callers
Function
get_nlarge
deps/jemalloc/test/integration/xallocx.c:83
↓ 4 callers
Function
getjump
deps/lua/src/lcode.c:100
↓ 4 callers
Function
getrandomkey
()
monkey/monkey.py:166
↓ 4 callers
Function
handleClientsWithPendingWrites
This function is called just before entering the event loop, in the hope * we can just write the replies to the client output buffer without any * n
src/networking.cpp:2067
↓ 4 callers
Function
has_next
deps/hdr_histogram/hdr_histogram.c:738
↓ 4 callers
Function
hash
/ API. */
deps/memkind/src/jemalloc/include/jemalloc/internal/hash.h:302
↓ 4 callers
Function
hashTypeDelete
Delete an element from a hash. * Return 1 on deleted and 0 on not found. */
src/t_hash.cpp:282
↓ 4 callers
Function
hashTypeGetFromHashTable
Get the value from a hash table encoded hash, identified by field. * Returns NULL when the field cannot be found, otherwise the SDS value * is retur
src/t_hash.cpp:96
↓ 4 callers
Function
hashTypeGetFromZiplist
Get the value from a ziplist encoded hash, identified by field. * Returns -1 when the field cannot be found. */
src/t_hash.cpp:63
↓ 4 callers
Function
hashTypeGetValue
Higher level function of hashTypeGet*() that returns the hash value * associated with the specified field. If the field is found C_OK * is returned,
src/t_hash.cpp:115
↓ 4 callers
Function
hashTypeLookupWriteOrCreate
src/t_hash.cpp:454
↓ 4 callers
Function
hbw_posix_memalign
deps/memkind/src/src/hbwmalloc.c:262
↓ 4 callers
Function
hdr_record_values
deps/hdr_histogram/hdr_histogram.c:462
↓ 4 callers
Function
hdr_value_at_index
deps/hdr_histogram/hdr_histogram.c:196
↓ 4 callers
Function
hi_realloc
deps/hiredis/alloc.c:74
↓ 4 callers
Function
hi_sdscatfmt
This function is similar to hi_sdscatprintf, but much faster as it does * not rely on sprintf() family functions implemented by the libc that * are
deps/hiredis/sds.c:581
↓ 4 callers
Function
hi_sdscatprintf
Append to the hisds string 's' a string obtained using printf-alike format * specifier. * * After the call, the modified hisds string is no longer
deps/hiredis/sds.c:556
↓ 4 callers
Function
hi_strdup
deps/hiredis/alloc.c:78
↓ 4 callers
Function
hllSparseToDense
Convert the HLL with sparse representation given as input in its dense * representation. Both representations are represented by SDS strings, and *
src/hyperloglog.cpp:586
↓ 4 callers
Function
iaalloc
deps/memkind/src/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_c.h:8
↓ 4 callers
Function
iaalloc
deps/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_c.h:27
↓ 4 callers
Function
imalloc_no_sample
ind is ignored if dopts->alignment > 0. */
deps/memkind/src/jemalloc/src/jemalloc.c:1612
↓ 4 callers
Function
imalloc_no_sample
ind is ignored if dopts->alignment > 0. */
deps/jemalloc/src/jemalloc.c:1911
↓ 4 callers
Function
inclinenumber
deps/lua/src/llex.c:129
↓ 4 callers
Function
incrDecrCommand
src/t_string.cpp:583
↓ 4 callers
Method
init
deps/memkind/src/test/performance/framework.cpp:87
↓ 4 callers
Function
init_by_array
* This function initializes the internal state array, * with an array of 32-bit integers used as the seeds * @param init_key the array of 32-bit int
deps/memkind/src/jemalloc/test/src/SFMT.c:638
↓ 4 callers
Function
init_by_array
* This function initializes the internal state array, * with an array of 32-bit integers used as the seeds * @param init_key the array of 32-bit int
deps/jemalloc/test/src/SFMT.c:638
↓ 4 callers
Function
insertHelper
src/ziplist.c:1821
↓ 4 callers
Function
intsetRemove
Delete integer from intset */
src/intset.c:236
↓ 4 callers
Function
intsetSearch
Search for the position of "value". Return 1 when the value was found and * sets "pos" to the position of the value within the intset. Return 0 when
src/intset.c:117
↓ 4 callers
Function
ipalloct
deps/memkind/src/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_c.h:66
↓ 4 callers
Function
iralloc
deps/memkind/src/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_c.h:173
↓ 4 callers
Function
iralloc
deps/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_c.h:196
↓ 4 callers
Function
isAllocInHBW
deps/memkind/src/autohbw/autohbw.c:89
↓ 4 callers
Function
isValidSocket
deps/cpp-statsd-client/include/cpp-statsd-client/UDPSender.hpp:150
↓ 4 callers
Method
is_option_present
deps/memkind/src/test/allocator_perf_tool/CommandLine.hpp:51
↓ 4 callers
Function
isnumeral
deps/lua/src/lcode.c:30
↓ 4 callers
Function
json_decode_ascend
deps/lua/src/lua_cjson.c:1116
↓ 4 callers
Function
json_encode_exception
deps/lua/src/lua_cjson.c:448
↓ 4 callers
Function
json_enum_option
Process enumerated arguments for a configuration function */
deps/lua/src/lua_cjson.c:239
↓ 4 callers
Method
key
Gets the user supplied key.
deps/memkind/src/test/gtest_fused/gtest/gtest.h:20371
↓ 4 callers
Function
keyIsExpired
Check if the key is expired. Note, this does not check subexpires */
src/db.cpp:2030
↓ 4 callers
Function
l_message
deps/lua/src/lua.c:58
↓ 4 callers
Function
large_dalloc
deps/jemalloc/src/large.c:359
↓ 4 callers
Function
large_malloc
deps/memkind/src/jemalloc/src/large.c:13
↓ 4 callers
Function
large_malloc
deps/jemalloc/src/large.c:13
↓ 4 callers
Function
ldbLogSourceLine
Log the specified line in the Lua debugger output. */
src/scripting.cpp:2192
↓ 4 callers
Function
ldbLogStackValue
Produce a debugger log entry representing the value of the Lua object * currently on the top of the stack. The element is ot popped nor modified. *
src/scripting.cpp:2324
↓ 4 callers
Function
lg_ceil
deps/jemalloc/include/jemalloc/internal/bit_util.h:216
↓ 4 callers
Function
linenoiseEditHistoryNext
deps/linenoise/linenoise.c:726
↓ 4 callers
Function
linenoiseEditMoveEnd
Move cursor to the end of the line. */
deps/linenoise/linenoise.c:715
↓ 4 callers
Function
linenoiseHistoryAdd
This is the API call to add a new entry in the linenoise history. * It uses a fixed array of char pointers that are shifted (memmoved) * when the hi
deps/linenoise/linenoise.c:1126
↓ 4 callers
Function
listDup
Duplicate the whole list. On out of memory NULL is returned. * On success a copy of the original list is returned. * * The 'Dup' method set with li
src/adlist.c:251
↓ 4 callers
Function
listRotateHeadToTail
Rotate the list removing the head node and inserting it to the tail. */
src/adlist.c:346
↓ 4 callers
Function
log_fatal
deps/memkind/src/src/memkind_log.c:94
↓ 4 callers
Function
lpAppend
Append the specified element 'ele' of length 'len' at the end of the * listpack. It is implemented in terms of lpInsert(), so the return value is *
src/listpack.c:799
↓ 4 callers
Function
luaCreateFunction
Define a Lua function with the specified body. * The function name will be generated in the following form: * * f_<hex sha1 sum> * * The functi
src/scripting.cpp:1418
↓ 4 callers
Function
luaD_precall
deps/lua/src/ldo.c:265
↓ 4 callers
Function
luaD_rawrunprotected
deps/lua/src/ldo.c:111
↓ 4 callers
Function
luaD_reallocCI
deps/lua/src/ldo.c:152
↓ 4 callers
Function
luaD_reallocstack
deps/lua/src/ldo.c:141
↓ 4 callers
Function
luaG_ordererror
deps/lua/src/ldebug.c:596
↓ 4 callers
Function
luaH_getstr
** search function for strings */
deps/lua/src/ltable.c:455
↓ 4 callers
Function
luaK_patchlist
deps/lua/src/lcode.c:169
↓ 4 callers
Function
luaK_storevar
deps/lua/src/lcode.c:472
↓ 4 callers
Function
luaL_addvalue
deps/lua/src/lauxlib.c:454
↓ 4 callers
Function
luaL_findtable
deps/lua/src/lauxlib.c:357
↓ 4 callers
Function
luaO_chunkid
deps/lua/src/lobject.c:182
↓ 4 callers
Function
luaO_pushvfstring
this function handles only `%d', `%c', %f, %p, and `%s' formats */
deps/lua/src/lobject.c:111
↓ 4 callers
Function
luaV_settable
deps/lua/src/lvm.c:134
↓ 4 callers
Function
luaX_newstring
deps/lua/src/llex.c:117
↓ 4 callers
Function
luaX_token2str
deps/lua/src/llex.c:78
↓ 4 callers
Function
lua_close
deps/lua/src/lstate.c:199
↓ 4 callers
Function
lua_newuserdata
deps/lua/src/lapi.c:1025
↓ 4 callers
Function
lua_tothread
deps/lua/src/lapi.c:395
↓ 4 callers
Function
make_nodemask_ptr
deps/memkind/src/test/TestPolicy.hpp:37
↓ 4 callers
Method
malloc
deps/memkind/src/test/bat_tests.cpp:131
↓ 4 callers
Function
malloc_mutex_trylock
Trylock: return false if the lock is successfully acquired. */
deps/memkind/src/jemalloc/include/jemalloc/internal/mutex.h:162
↓ 4 callers
Function
malloc_mutex_trylock_final
deps/memkind/src/jemalloc/include/jemalloc/internal/mutex.h:144
↓ 4 callers
Function
malloc_mutex_trylock_final
deps/jemalloc/include/jemalloc/internal/mutex.h:159
↓ 4 callers
Function
malloc_tsd_malloc
deps/memkind/src/jemalloc/src/tsd.c:149
↓ 4 callers
Function
malloc_tsd_malloc
deps/jemalloc/src/tsd.c:318
← previous
next →
1,701–1,800 of 10,473, ranked by callers