MCPcopy Create free account

hub / github.com/Snapchat/KeyDB / functions

Functions10,473 in github.com/Snapchat/KeyDB

↓ 10 callersMethodreleaseRead
src/readwritelock.h:76
↓ 10 callersFunctionrioGetReadError
This function allows to know if there was a read error in any past * operation, since the rio stream was created or since the last call * to rioClea
src/rio.h:158
↓ 10 callersFunctionsdsclear
Modify an sds string in-place to make it empty (zero length). * However all the existing buffer is not discarded but set as free space * so that nex
src/sds.c:256
↓ 10 callersFunctionsetKey
Common case for genericSetKey() where the TTL is not retained. */
src/db.cpp:421
↓ 10 callersFunctionsetMvccTstamp
src/object.cpp:1724
↓ 10 callersFunctionsetProtocolError
src/networking.cpp:2274
↓ 10 callersFunctionsize_out_of_bounds
deps/memkind/src/include/memkind/internal/memkind_default.h:67
↓ 10 callersFunctionstreamParseStrictIDOrReply
Wrapper for streamGenericParseIDOrReply() with 'strict' argument set to * 1, to be used when we want to return an error if the special IDs + or - *
src/t_stream.cpp:1739
↓ 10 callersFunctionstringmatchlen
Glob-style pattern matching. */
src/util.c:48
↓ 10 callersMethodvalue
Gets the user supplied value.
deps/memkind/src/test/gtest_fused/gtest/gtest.h:20377
↓ 10 callersFunctionvalue_or_delete
If a string is ":deleted:", the special value for deleted hash fields is * returned; otherwise the input string is returned. */
tests/modules/hash.c:8
↓ 10 callersFunctionwitness_assert_not_owner
deps/memkind/src/jemalloc/include/jemalloc/internal/witness.h:203
↓ 10 callersFunctionwitness_assert_not_owner
deps/jemalloc/include/jemalloc/internal/witness.h:204
↓ 10 callersFunctionxorDigest
Compute the sha1 of string at 's' with 'len' bytes long. * The SHA1 is then xored against the string pointed by digest. * Since xor is commutative,
src/debug.cpp:92
↓ 10 callersFunctionziplistDeleteRange
Delete a range of entries from the ziplist. */
src/ziplist.c:1278
↓ 10 callersFunctionziplistPrev
Return pointer to previous entry in ziplist. */
src/ziplist.c:1213
↓ 10 callersFunctionzipmapSet
Set key to value, creating the key if it does not already exist. * If 'update' is not NULL, *update is set to 1 if the key was * already preset, oth
src/zipmap.c:215
↓ 10 callersFunctionzmalloc_usable_size
src/zmalloc.cpp:290
↓ 10 callersFunctionzslInsert
Insert a new node in the skiplist. Assumes the element does not already * exist (up to the caller to enforce that). The skiplist takes ownership * o
src/t_zset.cpp:132
↓ 9 callersMethodAtEnd
deps/memkind/src/test/gtest_fused/gtest/gtest.h:16016
↓ 9 callersFunctionDumpInt
deps/lua/src/ldump.c:45
↓ 9 callersFunctionJEMALLOC_ATTR
deps/memkind/src/jemalloc/src/jemalloc.c:1958
↓ 9 callersFunctionJEMALLOC_ATTR
deps/jemalloc/src/jemalloc.c:2321
↓ 9 callersMethodPassed
Returns true iff the unit test passed (i.e. all test cases passed).
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:5506
↓ 9 callersFunctionProcessPendingAsyncWrites
src/networking.cpp:1983
↓ 9 callersFunctionRedisModule_Init
src/modules/keydb_modstatsd/redismodule.h:856
↓ 9 callersFunctionTestAssertStringReply
Return 1 if the reply matches the specified string, otherwise log errors * in the server log and return 0. */
tests/modules/basics.c:385
↓ 9 callersMethodaddArrayLen
src/replication.cpp:1105
↓ 9 callersFunctionaddReplyPushLen
src/networking.cpp:940
↓ 9 callersMethodalloc
deps/memkind/src/test/performance/framework.hpp:126
↓ 9 callersFunctionarena_i_initialized
deps/memkind/src/jemalloc/test/unit/arena_reset.c:193
↓ 9 callersFunctionarena_i_initialized
deps/jemalloc/test/unit/arena_reset.c:193
↓ 9 callersFunctionarena_nthreads_get
deps/jemalloc/src/arena.c:1921
↓ 9 callersFunctionarena_stats_add_u64
deps/jemalloc/include/jemalloc/internal/arena_stats.h:172
↓ 9 callersFunctionarena_stats_lock
deps/jemalloc/include/jemalloc/internal/arena_stats.h:147
↓ 9 callersFunctionarena_stats_read_u64
deps/memkind/src/jemalloc/src/arena.c:106
↓ 9 callersFunctionarena_stats_unlock
deps/jemalloc/include/jemalloc/internal/arena_stats.h:154
↓ 9 callersFunctionbitmap_sfu
sfu: set first unset. */
deps/memkind/src/jemalloc/include/jemalloc/internal/bitmap.h:300
↓ 9 callersFunctioncheckClientPauseTimeoutAndReturnIfPaused
Checks if the current client pause has elapsed and unpause clients * if it has. Also returns true if clients are now paused and false * otherwise.
src/networking.cpp:4039
↓ 9 callersFunctioncheckConsistency
src/intset.c:378
↓ 9 callersFunctionclusterAddNode
Add a node to the nodes hash table */
src/cluster.cpp:1015
↓ 9 callersFunctionclusterManagerSetSlot
Set slot status to "importing" or "migrating" */
src/redis-cli.c:3102
↓ 9 callersFunctioncodearith
deps/lua/src/lcode.c:653
↓ 9 callersFunctiondbAsyncDelete
src/lazyfree.cpp:199
↓ 9 callersFunctiondbSyncDelete
Delete a key, value, and associated expiration entry if any, from the DB */
src/db.cpp:517
↓ 9 callersFunctiondbUnshareStringValue
Prepare the string object stored at 'key' to be modified destructively * to implement commands like SETBIT or APPEND. * * An object is usually read
src/db.cpp:555
↓ 9 callersFunctiondictFreeUnlinkedEntry
You need to call this function to really free the entry after a call * to dictUnlink(). It's safe to call this function with 'he' = NULL. */
src/dict.cpp:787
↓ 9 callersFunctiondictScan
dictScan() is used to iterate over the elements of a dictionary. * * Iterating works the following way: * * 1) Initially you call the function usi
src/dict.cpp:1249
↓ 9 callersFunctiondraw_bar
(ax, show_first_operation, x, y, time, init_time, draw_color)
deps/memkind/src/test/draw_plots.py:88
↓ 9 callersFunctiondynamic_opts_init
deps/jemalloc/src/jemalloc.c:1898
↓ 9 callersMethodelapsed_time
Gets the elapsed time, in milliseconds.
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:5501
↓ 9 callersFunctionemitter_dict_begin
deps/jemalloc/include/jemalloc/internal/emitter.h:440
↓ 9 callersFunctionemitter_dict_end
deps/jemalloc/include/jemalloc/internal/emitter.h:451
↓ 9 callersFunctionextent_dalloc
deps/memkind/src/jemalloc/src/extent.c:187
↓ 9 callersFunctionextent_szind_set
deps/jemalloc/include/jemalloc/internal/extent_inlines.h:258
↓ 9 callersFunctionextent_zeroed_get
deps/memkind/src/jemalloc/include/jemalloc/internal/extent_inlines.h:84
↓ 9 callersFunctionextent_zeroed_get
deps/jemalloc/include/jemalloc/internal/extent_inlines.h:94
↓ 9 callersFunctionextents_state_get
deps/memkind/src/jemalloc/src/extent.c:296
↓ 9 callersFunctionextents_state_get
deps/jemalloc/src/extent.c:303
↓ 9 callersFunctionfastlock_lock
src/fastlock.cpp:345
↓ 9 callersFunctionfinish_testcase
deps/memkind/src/examples/autohbw_candidates.c:72
↓ 9 callersFunctiongen_mallctl_str
deps/memkind/src/jemalloc/test/unit/stats.c:221
↓ 9 callersFunctiongeohashGetDistance
Calculate distance using haversin great circle distance formula. */
src/geohash_helper.cpp:217
↓ 9 callersFunctiongetClientType
Get the class of a client, used in order to enforce limits to different * classes of clients. * * The function will return one of the following: *
src/networking.cpp:3828
↓ 9 callersFunctiongetMaxmemoryState
Get the memory status from the point of view of the maxmemory directive: * if the memory used is under the maxmemory setting then C_OK is returned.
src/evict.cpp:400
↓ 9 callersFunctiongetRandomHexChars
Generate the Redis "Run ID", a SHA1-sized random number that identifies a * given execution of Redis, so that if you are talking with an instance *
src/util.c:715
↓ 9 callersFunctionget_large_size
deps/memkind/src/jemalloc/test/integration/xallocx.c:111
↓ 9 callersFunctionget_large_size
deps/jemalloc/test/integration/xallocx.c:111
↓ 9 callersFunctionhasActiveChildProcess
Return true if there are active children processes doing RDB saving, * AOF rewriting, or some side process spawned by a loaded module. */
src/server.cpp:1727
↓ 9 callersFunctionhashTypeReleaseIterator
src/t_hash.cpp:343
↓ 9 callersFunctionhi_sdsMakeRoomFor
Enlarge the free space at the end of the hisds string so that the caller * is sure that after calling this function can overwrite up to addlen * byt
deps/hiredis/sds.c:196
↓ 9 callersFunctionhi_sdsavail
deps/hiredis/sds.h:119
↓ 9 callersFunctionhi_sdssetlen
deps/hiredis/sds.h:145
↓ 9 callersFunctionhook_invoke_dalloc
deps/jemalloc/src/hook.c:169
↓ 9 callersFunctionimalloc
Returns the errno-style error code of the allocation. */
deps/jemalloc/src/jemalloc.c:2245
↓ 9 callersMethodincrement
src/modules/keydb_modstatsd/modmain.cpp:41
↓ 9 callersFunctionlistAddNodeHead
Add a new node to the list, to head, containing the specified 'value' * pointer as value. * * On error, NULL is returned and no operation is perfor
src/adlist.c:89
↓ 9 callersFunctionlookupClientByID
Return a client by ID, or NULL if the client ID is not in the set * of registered clients. Note that "fake clients", created with -1 as FD, * are no
src/networking.cpp:1805
↓ 9 callersFunctionlpAppendInteger
This is just a wrapper for lpAppend() to directly use a 64 bit integer * instead of a string. */
src/t_stream.cpp:252
↓ 9 callersFunctionlpGetIntegerIfValid
This is a wrapper function for lpGet() to directly get an integer value * from the listpack (that may store numbers as a string), converting * the s
src/t_stream.cpp:274
↓ 9 callersFunctionluaK_jump
deps/lua/src/lcode.c:59
↓ 9 callersFunctionlua_isstring
deps/lua/src/lapi.c:267
↓ 9 callersFunctionlua_pushcclosure
deps/lua/src/lapi.c:486
↓ 9 callersFunctionlua_pushlightuserdata
deps/lua/src/lapi.c:511
↓ 9 callersFunctionmp_buf_append
deps/lua/src/lua_cmsgpack.c:118
↓ 9 callersFunctionpost_reentrancy
deps/memkind/src/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_a.h:159
↓ 9 callersFunctionprng_lg_range_zu
deps/memkind/src/jemalloc/include/jemalloc/internal/prng.h:103
↓ 9 callersFunctionprng_lg_range_zu
deps/jemalloc/include/jemalloc/internal/prng.h:103
↓ 9 callersFunctionprof_bt_count
deps/memkind/src/jemalloc/src/prof.c:937
↓ 9 callersFunctionprof_bt_count
deps/jemalloc/src/prof.c:1207
↓ 9 callersFunctionpthread_create
deps/memkind/src/jemalloc/src/mutex.c:30
↓ 9 callersFunctionrdbLoadStringObject
src/rdb.cpp:576
↓ 9 callersFunctionredactClientCommandArgument
Redact a given argument to prevent it from being shown * in the slowlog. This information is stored in the * original_argv array. */
src/networking.cpp:3724
↓ 9 callersFunctionredisAsyncHandleRead
This function should be called when the socket is readable. * It processes all replies that can be read and executes their callbacks. */
deps/hiredis/async.c:642
↓ 9 callersFunctionredisAsyncHandleWrite
deps/hiredis/async.c:675
↓ 9 callersFunctionredisConnect
Connect to a Redis instance. On error the field error in the returned * context will be set to the return value of the error function. * When no set
deps/hiredis/hiredis.c:843
↓ 9 callersFunctionredisSetProcTitle
src/server.cpp:7156
↓ 9 callersFunctionrejectCommandFormat
src/server.cpp:4755
↓ 9 callersFunctionremoveExpire
----------------------------------------------------------------------------- * Expires API *-------------------------------------------------------
src/db.cpp:1810
↓ 9 callersFunctionsdsIncrLen
Increment the sds length and decrements the left free space at the * end of the string according to 'incr'. Also set the null term * in the new end
src/sds.c:405
← previousnext →701–800 of 10,473, ranked by callers