MCPcopy Create free account

hub / github.com/Snapchat/KeyDB / functions

Functions10,473 in github.com/Snapchat/KeyDB

↓ 49 callersFunctiongetLongLongFromObjectOrReply
src/object.cpp:771
↓ 49 callersFunctionrioWriteBulkString
Write binary-safe string in the format: "$<count>\r\n<payload>\r\n". */
src/rio.cpp:467
↓ 49 callersFunctionziplistGet
Get entry pointed to by 'p' and store in either '*sstr' or 'sval' depending * on the encoding of the entry. '*sstr' is always set to NULL to be able
src/ziplist.c:1238
↓ 48 callersFunctionarenas_i
deps/memkind/src/jemalloc/src/ctl.c:662
↓ 48 callersFunctiongetLongFromObjectOrReply
src/object.cpp:799
↓ 48 callersFunctionlua_setfield
deps/lua/src/lapi.c:657
↓ 47 callersFunctionhi_sdsfree
Free an hisds string. No operation is performed if 's' is NULL. */
deps/hiredis/sds.c:157
↓ 46 callersFunctionsz_size2index
deps/jemalloc/include/jemalloc/internal/sz.h:163
↓ 45 callersFunctionredisFree
deps/hiredis/hiredis.c:714
↓ 44 callersMethodappend
deps/memkind/src/test/allocator_perf_tool/CSVLogger.hpp:45
↓ 44 callersFunctionmalloc_printf
deps/memkind/src/jemalloc/src/malloc_io.c:672
↓ 43 callersFunctionlookupKeyWrite
src/db.cpp:255
↓ 43 callersFunctionmemkind_create_pmem
deps/memkind/src/src/memkind.c:724
↓ 43 callersFunctionrdbLoadLen
This is like rdbLoadLenByRef() but directly returns the value read * from the RDB stream, signaling an error by returning RDB_LENERR * (since it is
src/rdb.cpp:247
↓ 42 callersFunctionaddReplyBulk
Add a Redis Object as a bulk reply */
src/networking.cpp:982
↓ 42 callersFunctionarena_get
deps/memkind/src/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_a.h:82
↓ 42 callersFunctionextent_base_get
deps/jemalloc/include/jemalloc/internal/extent_inlines.h:125
↓ 42 callersFunctionlpNext
If 'p' points to an element of the listpack, calling lpNext() will return * the pointer to the next element (the one on the right), or NULL if 'p' *
src/listpack.c:455
↓ 42 callersFunctionsz_size2index
deps/memkind/src/jemalloc/include/jemalloc/internal/sz.h:164
↓ 41 callersFunctioncreateIntConfig
src/config.cpp:2380
↓ 41 callersFunctionlog_err
deps/memkind/src/src/memkind_log.c:86
↓ 41 callersFunctionmalloc_mutex_assert_owner
deps/jemalloc/include/jemalloc/internal/mutex.h:238
↓ 41 callersFunctionmemkind_destroy_kind
Kind destruction. */
deps/memkind/src/src/memkind.c:327
↓ 41 callersFunctionraxSize
Return the number of elements inside the radix tree. */
src/rax.c:1821
↓ 41 callersFunctionticker_read
deps/memkind/src/jemalloc/include/jemalloc/internal/ticker.h:30
↓ 41 callersFunctionticker_read
deps/jemalloc/include/jemalloc/internal/ticker.h:30
↓ 40 callersFunctionStreamableToString
deps/memkind/src/test/gtest_fused/gtest/gtest.h:4552
↓ 40 callersFunction__redisSetError
deps/hiredis/hiredis.c:668
↓ 40 callersFunctionaddReplyNull
src/networking.cpp:945
↓ 40 callersFunctionfreeClientAsync
Schedule a client to free it at a safe time in the serverCron() function. * This function is useful when we need to terminate a client but we are in
src/networking.cpp:1759
↓ 40 callersFunctionindex2adr
deps/lua/src/lapi.c:49
↓ 40 callersFunctionluaL_checknumber
deps/lua/src/lauxlib.c:176
↓ 40 callersFunctionlua_pushnil
deps/lua/src/lapi.c:421
↓ 40 callersFunctionquicklistIndex
Populate 'entry' with the element at the specified zero-based index * where 0 is the head, 1 is the element next to head * and so on. Negative integ
src/quicklist.c:1249
↓ 40 callersFunctionstring2ll
Convert a string into a long long. Returns 1 if the string could be parsed * into a (non-overflowing) long long, 0 otherwise. The value will be set t
src/util.c:385
↓ 40 callersFunctionwitness_assert_depth_to_rank
deps/memkind/src/jemalloc/include/jemalloc/internal/witness.h:230
↓ 40 callersFunctionwitness_assert_depth_to_rank
deps/jemalloc/include/jemalloc/internal/witness.h:231
↓ 39 callersFunctiongenstr
Generate new string concatenating integer i against string 'prefix' */
src/quicklist.c:1706
↓ 39 callersMethodkey
src/server.h:1096
↓ 39 callersFunctionnstime_init2
deps/memkind/src/jemalloc/src/nstime.c:16
↓ 39 callersFunctionnstime_init2
deps/jemalloc/src/nstime.c:16
↓ 39 callersFunctionrewriteConfigRewriteLine
Rewrite the specified configuration option with the new "line". * It progressively uses lines of the file that were already used for the same * conf
src/config.cpp:1479
↓ 39 callersFunctiontoken_init
deps/memkind/src/jemalloc/test/unit/stats_print.c:42
↓ 39 callersFunctiontoken_init
deps/jemalloc/test/unit/stats_print.c:42
↓ 39 callersFunctiontsd_fetch
deps/jemalloc/include/jemalloc/internal/tsd.h:378
↓ 39 callersMethodunlock
src/fastlock.h:75
↓ 38 callersFunctionactiveDefragAlloc
src/defrag.cpp:57
↓ 38 callersMethodclear
src/db.cpp:2718
↓ 38 callersFunctiondictDelete
Remove an element, returning DICT_OK on success or DICT_ERR if the * element was not found. */
src/dict.cpp:756
↓ 38 callersFunctionlua_pushinteger
deps/lua/src/lapi.c:437
↓ 38 callersFunctionsdscatsds
Append the specified sds 't' to the existing sds 's'. * * After the call, the modified sds string is no longer valid and all the * references must
src/sds.c:497
↓ 37 callersFunctionaddReplyDeferredLen
src/networking.cpp:705
↓ 36 callersFunctionaddReplyProto
This low level function just adds whatever protocol you send it to the * client buffer, trying the static buffer initially, and using the string * o
src/networking.cpp:483
↓ 36 callersFunctionextent_base_get
deps/memkind/src/jemalloc/include/jemalloc/internal/extent_inlines.h:109
↓ 36 callersFunctionmalloc_mutex_assert_owner
deps/memkind/src/jemalloc/include/jemalloc/internal/mutex.h:220
↓ 36 callersFunctionrdbSaveLen
Saves an encoded length. The first two bits in the first byte are used to * hold the encoding type. See the RDB_* definitions for more information *
src/rdb.cpp:164
↓ 35 callersFunctioncheck_entry_exit_locking
* Ensure that we don't hold any locks upon entry to or exit from allocator * code (in a "broad" sense that doesn't count a reentrant allocation as an
deps/jemalloc/src/jemalloc.c:683
↓ 35 callersFunctionlookupKeyRead
Like lookupKeyReadWithFlags(), but does not use any flag, which is the * common case. */
src/db.cpp:205
↓ 35 callersFunctionsdsfromlonglong
Create an sds string from a long long value. It is much faster than: * * sdscatprintf(sdsempty(),"%lld\n", value); */
src/sds.c:591
↓ 35 callersFunctionustime
Return the UNIX time in microseconds */
src/server.cpp:1299
↓ 34 callersMethodFExpires
src/server.h:985
↓ 34 callersFunctioncheck
deps/lua/src/lparser.c:89
↓ 34 callersFunctioncheck_entry_exit_locking
* Ensure that we don't hold any locks upon entry to or exit from allocator * code (in a "broad" sense that doesn't count a reentrant allocation as an
deps/memkind/src/jemalloc/src/jemalloc.c:668
↓ 34 callersFunctionclusterDoBeforeSleep
src/cluster.cpp:3856
↓ 34 callersMethodempty
deps/memkind/src/test/random_sizes_allocator.h:71
↓ 34 callersFunctionlookupKeyReadOrReply
src/db.cpp:267
↓ 34 callersFunctionlua_settable
deps/lua/src/lapi.c:645
↓ 34 callersFunctionnstime_compare
deps/jemalloc/src/nstime.c:46
↓ 34 callersFunctiontsdn_tsd
deps/jemalloc/include/jemalloc/internal/tsd.h:233
↓ 34 callersMethodval
src/server.h:1097
↓ 33 callersMethodGetString
Gets the text streamed to this object so far as an std::string. Each '\0' character in the buffer is replaced with "\\0".
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:2430
↓ 33 callersFunctionaeReleaseLock
src/ae.cpp:876
↓ 33 callersFunctiondbDelete
This is a wrapper whose behavior depends on the Redis lazy free * configuration. Deletes the key synchronously or asynchronously. */
src/db.cpp:523
↓ 33 callersFunctionemitter_kv
deps/jemalloc/include/jemalloc/internal/emitter.h:433
↓ 33 callersMethodempty
src/gc.h:63
↓ 33 callersFunctionmoduleFireServerEvent
This is called by the Redis internals every time we want to fire an * event that can be interceppted by some module. The pointer 'data' is useful *
src/module.cpp:8457
↓ 33 callersFunctionnstime_compare
deps/memkind/src/jemalloc/src/nstime.c:46
↓ 33 callersFunctionredisFormatCommand
Format a command according to the Redis protocol. This function * takes a format similar to printf: * * %s represents a C null terminated string yo
deps/hiredis/hiredis.c:548
↓ 33 callersFunctionsdsrange
Turn the string into a smaller (or equal) string containing only the * substring specified by the 'start' and 'end' indexes. * * start and end can
src/sds.c:840
↓ 33 callersFunctionsz_index2size
deps/jemalloc/include/jemalloc/internal/sz.h:204
↓ 33 callersFunctiontest_is_selected
Return true if the named test was selected using the -t command line * switch, or if all the tests are selected (no -t passed by user). */
src/redis-benchmark.cpp:1686
↓ 32 callersFunctionmalloc_mutex_init
deps/jemalloc/src/mutex.c:134
↓ 32 callersFunctionrealloc
deps/memkind/src/autohbw/autohbw.c:419
↓ 32 callersFunctionredisAsyncCommand
deps/hiredis/async.c:838
↓ 32 callersFunctionsdscmp
Compare two sds strings s1 and s2 with memcmp(). * * Return value: * * positive if s1 > s2. * negative if s1 < s2. * 0 if s1 and s2
src/sds.c:876
↓ 31 callersFunctionaeAcquireLock
src/ae.cpp:854
↓ 31 callersFunctionaeDeleteFileEvent
src/ae.cpp:462
↓ 31 callersFunctionextent_addr_get
deps/jemalloc/include/jemalloc/internal/extent_inlines.h:132
↓ 31 callersMethodget
deps/memkind/src/test/gtest_fused/gtest/gtest.h:2594
↓ 31 callersFunctionsz_index2size
deps/memkind/src/jemalloc/include/jemalloc/internal/sz.h:206
↓ 31 callersFunctiontest_fail
deps/jemalloc/test/src/test.c:78
↓ 31 callersFunctionzcalloc
Allocate memory and zero it or panic */
src/zmalloc.cpp:190
↓ 30 callersFunctionaeCreateFileEvent
src/ae.cpp:427
↓ 30 callersMethodend
src/expire.h:259
↓ 30 callersFunctionextent_slab_get
deps/jemalloc/include/jemalloc/internal/extent_inlines.h:112
↓ 30 callersMethodgetrefcount
src/server.h:989
↓ 30 callersFunctionidxof
deps/memkind/src/jemalloc/test/src/SFMT.c:145
↓ 30 callersFunctionidxof
deps/jemalloc/test/src/SFMT.c:145
↓ 30 callersFunctionlua_type
deps/lua/src/lapi.c:242
↓ 30 callersFunctionzmalloc_used_memory
src/zmalloc.cpp:340
← previousnext →101–200 of 10,473, ranked by callers