MCPcopy Create free account

hub / github.com/Snapchat/KeyDB / functions

Functions10,473 in github.com/Snapchat/KeyDB

↓ 13 callersFunctionpropagate
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 callersFunctionquicklistNext
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 callersFunctionquicklistSetFill
src/quicklist.c:123
↓ 13 callersFunctionraxFree
Free a whole radix tree. */
src/rax.c:1249
↓ 13 callersFunctionraxIteratorAddChars
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 callersMethodregisters
Cached cardinality, little endian. */
src/hyperloglog.cpp:187
↓ 13 callersMethodrelease
src/sds.h:450
↓ 13 callersFunctionrtree_szind_slab_read
deps/jemalloc/include/jemalloc/internal/rtree.h:491
↓ 13 callersFunctionsetExpire
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 callersMethodsignal
deps/concurrentqueue/lightweightsemaphore.h:96
↓ 13 callersMethodsubkey
src/expire.h:97
↓ 13 callersFunctionthrowOnError
deps/cpp-statsd-client/tests/testStatsdClient.cpp:35
↓ 13 callersFunctionwitness_init
deps/memkind/src/jemalloc/src/witness.c:8
↓ 13 callersFunctionwitness_init
deps/jemalloc/src/witness.c:8
↓ 13 callersFunctionwitness_lock
deps/memkind/src/jemalloc/include/jemalloc/internal/witness.h:273
↓ 13 callersFunctionwitness_lock
deps/jemalloc/include/jemalloc/internal/witness.h:274
↓ 12 callersMethodAddWorkFunction
src/AsyncWorkQueue.cpp:123
↓ 12 callersFunctionaccum_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 callersFunctionactiveDefragSds
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 callersFunctionarena_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 callersFunctionarena_stats_read_u64
Likewise: with ctl mutex synchronization, reading is simple. */
deps/memkind/src/jemalloc/src/ctl.c:566
↓ 12 callersFunctionb0get
deps/memkind/src/jemalloc/src/base.c:228
↓ 12 callersFunctionb0get
deps/jemalloc/src/base.c:344
↓ 12 callersFunctionchecknext
deps/lua/src/lparser.c:94
↓ 12 callersFunctionckh_count
deps/memkind/src/jemalloc/src/ckh.c:437
↓ 12 callersFunctionckh_count
deps/jemalloc/src/ckh.c:438
↓ 12 callersFunctionclientHasPendingReplies
Return true if the specified client has pending reply buffers to write to * the socket. */
src/networking.cpp:1149
↓ 12 callersFunctionconnSetReadHandler
Register a read handler, to be called when the connection is readable. * If NULL, the existing handler is removed. */
src/connection.h:172
↓ 12 callersFunctionctl_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 callersFunctionemitter_json_value
deps/jemalloc/include/jemalloc/internal/emitter.h:250
↓ 12 callersFunctionemitter_row_init
deps/jemalloc/include/jemalloc/internal/emitter.h:397
↓ 12 callersMethodendEpoch
src/gc.h:69
↓ 12 callersFunctionextent_dalloc
deps/jemalloc/src/extent.c:193
↓ 12 callersFunctionextent_szind_get
deps/memkind/src/jemalloc/include/jemalloc/internal/extent_inlines.h:60
↓ 12 callersFunctionextents_npages_get
deps/memkind/src/jemalloc/src/extent.c:301
↓ 12 callersMethodfind_cached_threadsafe
src/snapshot.cpp:478
↓ 12 callersFunctionfreeClusterManagerNode
src/redis-cli.c:2397
↓ 12 callersFunctiongetClusterHostFromCmdArgs
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 callersFunctiongetLastModifiedTime
Given a path to a file, return the last time it was accessed (in seconds) */
src/tls.cpp:223
↓ 12 callersFunctiongetLongInfoField
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 callersFunctionget_errno
Get last error code. */
deps/memkind/src/jemalloc/include/jemalloc/internal/util.h:56
↓ 12 callersFunctionhook_install
deps/jemalloc/src/hook.c:47
↓ 12 callersFunctionhook_remove
deps/jemalloc/src/hook.c:72
↓ 12 callersFunctionldbSendLogs
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 callersFunctionlg_floor
deps/jemalloc/include/jemalloc/internal/bit_util.h:153
↓ 12 callersFunctionlookupCommand
src/server.cpp:4322
↓ 12 callersFunctionluaK_exp2nextreg
deps/lua/src/lcode.c:414
↓ 12 callersFunctionlua_checkstack
deps/lua/src/lapi.c:95
↓ 12 callersFunctionlua_tolstring
deps/lua/src/lapi.c:343
↓ 12 callersFunctionmemtest_compare_times
src/memtest.c:218
↓ 12 callersFunctionnstime_ns
deps/memkind/src/jemalloc/src/nstime.c:21
↓ 12 callersFunctionpost_reentrancy
deps/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_a.h:165
↓ 12 callersFunctionprng_lg_range_u64
deps/jemalloc/include/jemalloc/internal/prng.h:89
↓ 12 callersFunctionquicklistGetIterator
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 callersFunctionrandom
Gets the random number generator.
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:1198
↓ 12 callersFunctionredisAppendCommandArgv
deps/hiredis/hiredis.c:1116
↓ 12 callersFunctionredisCommunicateSystemd
Send a notify message to systemd. Returns sd_notify return code which is * a positive number on success. */
src/server.cpp:7181
↓ 12 callersFunctionredisNetClose
deps/hiredis/net.c:53
↓ 12 callersFunctionreplicationGetSlaveName
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 callersFunctionrtree_szind_slab_read
deps/memkind/src/jemalloc/include/jemalloc/internal/rtree.h:443
↓ 12 callersFunctionsafety_check_set_abort
deps/jemalloc/src/safety_check.c:6
↓ 12 callersFunctionsdssetlen
src/sds.h:172
↓ 12 callersFunctionsdstrim
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 callersFunctionsetTypeInitIterator
src/t_set.cpp:124
↓ 12 callersFunctionsetTypeReleaseIterator
src/t_set.cpp:138
↓ 12 callersMethodsize
deps/memkind/src/test/allocator_perf_tool/VectorIterator.hpp:57
↓ 12 callersFunctionstreamEncodeID
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 callersFunctionswap
deps/concurrentqueue/concurrentqueue.h:3713
↓ 12 callersFunctionsz_psz2u
deps/memkind/src/jemalloc/include/jemalloc/internal/sz.h:108
↓ 12 callersFunctionsz_psz2u
deps/jemalloc/include/jemalloc/internal/sz.h:106
↓ 12 callersFunctiontestnext
deps/lua/src/lparser.c:80
↓ 12 callersFunctionusec
deps/hiredis/test.c:71
↓ 12 callersFunctionwitness_unlock
deps/memkind/src/jemalloc/include/jemalloc/internal/witness.h:316
↓ 12 callersFunctionwitness_unlock
deps/jemalloc/include/jemalloc/internal/witness.h:317
↓ 12 callersFunctionzipStorePrevEntryLength
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 callersFunctionzzlNext
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 callersMethodBaseGenerator
deps/memkind/src/test/gtest_fused/gtest/gtest.h:12067
↓ 11 callersFunctionCountIf
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:689
↓ 11 callersMethodSetFExpires
src/object.cpp:1563
↓ 11 callersFunction__redisAsyncDisconnect
Helper function to make the disconnect happen and clean up. */
deps/hiredis/async.c:371
↓ 11 callersMethodallocate
* 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 callersFunctionanetCloexec
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 callersFunctionarena_stats_accum_zu
Like the _u64 variant, needs an externally synchronized *dst. */
deps/jemalloc/include/jemalloc/internal/arena_stats.h:248
↓ 11 callersFunctionbitmap_size
deps/memkind/src/jemalloc/src/bitmap.c:118
↓ 11 callersFunctionbitmap_size
deps/jemalloc/src/bitmap.c:118
↓ 11 callersFunctioncallHandler
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 callersFunctionckh_search
deps/memkind/src/jemalloc/src/ckh.c:521
↓ 11 callersFunctionclusterManagerLoadInfoFromNode
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 callersFunctioncreateEnumConfig
src/config.cpp:2208
↓ 11 callersFunctioncreateSizeTConfig
src/config.cpp:2424
↓ 11 callersFunctiondictGetRandomKey
Return a random entry from the hash table. Useful to * implement randomized algorithms */
src/dict.cpp:993
↓ 11 callersMethodexpireSize
src/server.h:1170
↓ 11 callersFunctionextent_hook_post_reentrancy
deps/jemalloc/src/extent.c:1285
↓ 11 callersFunctionextent_hook_pre_reentrancy
deps/jemalloc/src/extent.c:1268
↓ 11 callersFunctionextent_hooks_assure_initialized
deps/memkind/src/jemalloc/src/extent.c:214
↓ 11 callersFunctionextent_hooks_assure_initialized
deps/jemalloc/src/extent.c:221
↓ 11 callersFunctionextent_init
deps/memkind/src/jemalloc/include/jemalloc/internal/extent_inlines.h:283
↓ 11 callersFunctionextent_init
deps/jemalloc/include/jemalloc/internal/extent_inlines.h:366
↓ 11 callersFunctionfeedReplicationBacklog
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 callersFunctionfini_gen_rand
deps/memkind/src/jemalloc/test/src/SFMT.c:714
← previousnext →501–600 of 10,473, ranked by callers