MCPcopy Create free account

hub / github.com/Snapchat/KeyDB / functions

Functions10,473 in github.com/Snapchat/KeyDB

↓ 8 callersFunctionstrbuf_free
If strbuf_t has not been dynamically allocated, strbuf_free() can * be called any number of times strbuf_init() */
deps/lua/src/strbuf.c:104
↓ 8 callersFunctionstreamIteratorStart
Initialize the stream iterator, so that we can call iterating functions * to get the next items. This requires a corresponding streamIteratorStop()
src/t_stream.cpp:1045
↓ 8 callersFunctionstreamLookupCG
Lookup the consumer group in the specified stream and returns its * pointer, otherwise if there is no such group, NULL is returned. */
src/t_stream.cpp:2291
↓ 8 callersFunctionstreamLookupConsumer
Lookup the consumer with the specified name in the group 'cg': if the * consumer does not exist it is created unless SLC_NOCREAT flag was specified.
src/t_stream.cpp:2301
↓ 8 callersFunctiontofile
deps/lua/src/liolib.c:72
↓ 8 callersFunctiontryObjectEncoding
Try to encode a string object in order to save space */
src/object.cpp:476
↓ 8 callersMethodtry_lock
src/fastlock.h:70
↓ 8 callersFunctiontsd_assert_fast
deps/memkind/src/jemalloc/include/jemalloc/internal/tsd.h:237
↓ 8 callersFunctiontsd_assert_fast
deps/jemalloc/include/jemalloc/internal/tsd.h:323
↓ 8 callersFunctionupdateDictResizePolicy
This function is called once a background process of some kind terminates, * as we want to avoid resizing the hash tables when there is a child in or
src/server.cpp:1708
↓ 8 callersFunctionvalidate_fill
deps/memkind/src/jemalloc/test/integration/rallocx.c:85
↓ 8 callersFunctionvalidate_fill
deps/jemalloc/test/integration/rallocx.c:85
↓ 8 callersFunctionzipEntrySafe
Fills a struct with all information about an entry. * This function is safe to use on untrusted pointers, it'll make sure not to * try to access mem
src/ziplist.c:629
↓ 8 callersFunctionzipmapEncodeLength
Encode the length 'l' writing it in 'p'. If p is NULL it just returns * the amount of bytes required to encode such a length. */
src/zipmap.c:120
↓ 8 callersFunctionzzlLexValueLteMax
src/t_zset.cpp:921
↓ 7 callersFunctionACLFreeUser
Release the memory used by the user structure. Note that this function * will not remove the user from the Users global radix tree. */
src/acl.cpp:295
↓ 7 callersFunctionBoolFromGTestEnv
Reads and returns the Boolean environment variable corresponding to the given flag; if it's not set, returns default_value. The value is considered t
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:9739
↓ 7 callersMethodFFat
src/expire.h:210
↓ 7 callersFunctionFInternalKey
src/storage/rocksdb.cpp:17
↓ 7 callersFunctionForEach
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:702
↓ 7 callersFunctionFormatFileLocation
Formats a source file path and a line number as they would appear in an error message from the compiler used to compile this code.
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:9446
↓ 7 callersFunctionGTEST_LOCK_EXCLUDED_
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:5564
↓ 7 callersFunctionGetKeys
deps/memkind/src/test/bat_tests.cpp:220
↓ 7 callersFunctionLRU_CLOCK
This function is used to obtain the current LRU clock. * If the current resolution is lower than the frequency we refresh the * LRU clock (as it sho
src/evict.cpp:81
↓ 7 callersFunctionParseStringFlag
Parses a string for a string 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:6532
↓ 7 callersFunctionRM_CreateString
Create a new module string object. The returned string must be freed * with RedisModule_FreeString(), unless automatic memory is enabled. * * The s
src/module.cpp:1157
↓ 7 callersFunctionStringStreamToString
Converts the buffer in a stringstream to an std::string, converting NUL bytes to "\\0" along the way.
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:3431
↓ 7 callersFunctionSumOverTestCaseList
Iterates over a vector of TestCases, keeping a running sum of the results of calling a given int-returning method on each. Returns the sum.
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:1787
↓ 7 callersMethodUponLeavingGTest
deps/memkind/src/test/gtest_fused/gtest/gtest-all.cc:5306
↓ 7 callersFunction_dictExpand
Expand or create the hash table, * when malloc_failed is non-NULL, it'll avoid panic if malloc fails (in which case it'll be set to 1). * Returns DI
src/dict.cpp:138
↓ 7 callersFunctionaccum_atomic_zu
deps/memkind/src/jemalloc/src/ctl.c:575
↓ 7 callersFunctionaeStop
src/ae.cpp:422
↓ 7 callersFunctionbase_ind_get
deps/jemalloc/include/jemalloc/internal/base_inlines.h:4
↓ 7 callersFunctionbg_unlink
Plain unlink() can block for quite some time in order to actually apply * the file deletion to the filesystem. This call removes the file in a * bac
src/replication.cpp:166
↓ 7 callersFunctionbitmap_full
deps/memkind/src/jemalloc/include/jemalloc/internal/bitmap.h:175
↓ 7 callersFunctionbitmap_init
deps/memkind/src/jemalloc/src/bitmap.c:44
↓ 7 callersFunctionbitmap_init
deps/jemalloc/src/bitmap.c:44
↓ 7 callersFunctionbytesToHuman
Convert an amount of bytes into a human readable string in the form * of 100B, 2G, 100M, 4K, and so forth. */
src/server.cpp:5549
↓ 7 callersFunctionckh_delete
deps/jemalloc/src/ckh.c:416
↓ 7 callersFunctionckh_remove
deps/memkind/src/jemalloc/src/ckh.c:488
↓ 7 callersFunctionckh_remove
deps/jemalloc/src/ckh.c:489
↓ 7 callersFunctioncloseChildInfoPipe
Close the pipes opened with openChildInfoPipe(). */
src/childinfo.cpp:58
↓ 7 callersFunctionclusterDelSlot
Delete the specified slot marking it as unassigned. * Returns C_OK if the slot was assigned, otherwise if the slot was * already unassigned C_ERR is
src/cluster.cpp:3955
↓ 7 callersFunctionclusterManagerCheckCluster
src/redis-cli-cpphelper.cpp:581
↓ 7 callersFunctionclusterManagerClearSlotStatus
src/redis-cli.c:3125
↓ 7 callersFunctionclusterManagerMoveSlot
Move slots between source and target nodes using MIGRATE. * * Options: * CLUSTER_MANAGER_OPT_VERBOSE -- Print a dot for every moved key. * CLUSTER
src/redis-cli.c:3533
↓ 7 callersFunctionclusterSendMessage
Put stuff into the send buffer. * * It is guaranteed that this function will never have as a side effect * the link to be invalidated, so it is saf
src/cluster.cpp:2447
↓ 7 callersFunctionclusterSendPing
Send a PING or PONG packet to the specified node, making sure to add enough * gossip information. */
src/cluster.cpp:2594
↓ 7 callersMethodcommitChanges
src/db.cpp:3029
↓ 7 callersFunctioncrc64
Compute crc64 */
src/crc64.c:121
↓ 7 callersFunctioncreateClusterNode
Create a new cluster node, with the specified flags. * If "nodename" is NULL this is considered a first handshake and a random * node name is assign
src/cluster.cpp:820
↓ 7 callersFunctioncreateObjectFromStreamID
Similar to the above function, but just creates an object, usually useful * for replication purposes to create arguments. */
src/t_stream.cpp:1360
↓ 7 callersFunctioncreateQuicklistObject
src/object.cpp:255
↓ 7 callersFunctioncreateSentinelRedisInstance
src/sentinel.cpp:1295
↓ 7 callersMethodcreateSnapshot
src/snapshot.cpp:29
↓ 7 callersMethoddeallocate
* Deallocates memory associated with pointer returned by allocate() using hbw_free(). */
deps/memkind/src/include/hbw_allocator.h:101
↓ 7 callersFunctiondeserializeExpire
src/db.cpp:3219
↓ 7 callersFunctiondictUnlink
Remove an element from the table, but without actually releasing * the key, value and dictionary entry. The dictionary entry is returned * if the el
src/dict.cpp:781
↓ 7 callersFunctiondie
deps/lua/src/strbuf.c:32
↓ 7 callersFunctiondo_connect
deps/hiredis/test.c:200
↓ 7 callersFunctiondo_epoch
deps/memkind/src/jemalloc/test/unit/decay.c:75
↓ 7 callersFunctiondo_prof_reset
deps/memkind/src/jemalloc/test/unit/prof_reset.c:30
↓ 7 callersFunctiondo_prof_reset
deps/jemalloc/test/unit/prof_reset.c:30
↓ 7 callersFunctiondupStringObject
Duplicate a string object, with the guarantee that the returned object * has the same encoding as the original one. * * This function also guarante
src/object.cpp:234
↓ 7 callersFunctionexitFromChild
After an RDB dump or AOF rewrite we exit from children using _exit() instead of * exit(), because the latter may interact with the same file objects
src/server.cpp:1318
↓ 7 callersFunctionextent_binshard_get
deps/jemalloc/include/jemalloc/internal/extent_inlines.h:74
↓ 7 callersFunctionextent_bsize_get
deps/jemalloc/include/jemalloc/internal/extent_inlines.h:149
↓ 7 callersFunctionextent_deregister
deps/memkind/src/jemalloc/src/extent.c:740
↓ 7 callersFunctionextent_hooks_get
deps/jemalloc/src/extent.c:201
↓ 7 callersFunctionextent_list_first
deps/memkind/src/jemalloc/include/jemalloc/internal/extent_inlines.h:322
↓ 7 callersFunctionextent_list_first
deps/jemalloc/include/jemalloc/internal/extent_inlines.h:411
↓ 7 callersFunctionextent_past_get
deps/memkind/src/jemalloc/include/jemalloc/internal/extent_inlines.h:149
↓ 7 callersFunctionextent_record
* Does the metadata management portions of putting an unused extent into the * given extents_t (coalesces, deregisters slab interiors, the heap opera
deps/jemalloc/src/extent.c:1691
↓ 7 callersFunctionextent_size_quantize_ceil
deps/jemalloc/src/extent.c:256
↓ 7 callersFunctionextent_size_quantize_floor
deps/memkind/src/jemalloc/src/extent.c:225
↓ 7 callersFunctionextent_size_quantize_floor
deps/jemalloc/src/extent.c:232
↓ 7 callersFunctionextent_state_set
deps/memkind/src/jemalloc/include/jemalloc/internal/extent_inlines.h:254
↓ 7 callersFunctionextent_state_set
deps/jemalloc/include/jemalloc/internal/extent_inlines.h:306
↓ 7 callersFunctionextent_unlock
deps/jemalloc/include/jemalloc/internal/extent_inlines.h:18
↓ 7 callersFunctionextent_zeroed_set
deps/memkind/src/jemalloc/include/jemalloc/internal/extent_inlines.h:260
↓ 7 callersFunctionextent_zeroed_set
deps/jemalloc/include/jemalloc/internal/extent_inlines.h:312
↓ 7 callersFunctionextents_leak
deps/memkind/src/jemalloc/src/extent.c:535
↓ 7 callersFunctionffs_lu
deps/memkind/src/jemalloc/include/jemalloc/internal/bit_util.h:20
↓ 7 callersFunctionflushReplBacklogToClients
src/replication.cpp:5611
↓ 7 callersFunctiongen_rand64
* This function generates and returns 64-bit pseudorandom number. * init_gen_rand or init_by_array must be called before this function. * The functi
deps/memkind/src/jemalloc/test/src/SFMT.c:482
↓ 7 callersFunctiongen_rand64
* This function generates and returns 64-bit pseudorandom number. * init_gen_rand or init_by_array must be called before this function. * The functi
deps/jemalloc/test/src/SFMT.c:482
↓ 7 callersFunctiongetKeysFromCommand
Return all the arguments that are keys in the command passed via argc / argv. * * The command returns the positions of all the key arguments inside
src/db.cpp:2198
↓ 7 callersFunctiongetTimeoutFromObjectOrReply
Get a timeout value from an object and store it into 'timeout'. * The final timeout is always stored as milliseconds as a time where the * timeout w
src/timeout.cpp:166
↓ 7 callersFunctionget_lg_prof_sample
deps/memkind/src/jemalloc/test/unit/prof_reset.c:19
↓ 7 callersFunctionget_lg_prof_sample
deps/jemalloc/test/unit/prof_reset.c:19
↓ 7 callersFunctionget_tcache_flag
deps/memkind/src/src/memkind_arena.c:453
↓ 7 callersFunctionhashTypeConvert
src/t_hash.cpp:500
↓ 7 callersFunctionhashTypeInitIterator
src/t_hash.cpp:327
↓ 7 callersFunctionhashTypeNext
Move to the next entry in the hash. Return C_OK when the next entry * could be found and C_ERR when the iterator reaches the end. */
src/t_hash.cpp:351
↓ 7 callersFunctionhbw_realloc
deps/memkind/src/src/hbwmalloc.c:289
↓ 7 callersFunctionhdr_iter_init
deps/hdr_histogram/hdr_histogram.c:809
↓ 7 callersFunctioniallocztm
deps/memkind/src/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_c.h:22
↓ 7 callersFunctionimalloc
Returns the errno-style error code of the allocation. */
deps/memkind/src/jemalloc/src/jemalloc.c:1925
↓ 7 callersFunctioninit_gen_rand
* This function initializes the internal state array with a 32-bit * integer seed. * * @param seed a 32-bit integer used as the seed. */
deps/memkind/src/jemalloc/test/src/SFMT.c:607
↓ 7 callersFunctioninit_gen_rand
* This function initializes the internal state array with a 32-bit * integer seed. * * @param seed a 32-bit integer used as the seed. */
deps/jemalloc/test/src/SFMT.c:607
← previousnext →901–1,000 of 10,473, ranked by callers