Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antirez/disque
/ functions
Functions
1,943 in github.com/antirez/disque
⨍
Functions
1,943
◇
Types & classes
265
↓ 4 callers
Function
asyncCloseClientOnOutputBufferLimitReached
Asynchronously close a client if soft or hard limit is reached on the * output buffer size. The caller can check if the client will be closed * chec
src/networking.c:1585
↓ 4 callers
Function
atomic_cas_uint32
deps/jemalloc/include/jemalloc/internal/atomic.h:325
↓ 4 callers
Function
atomic_cas_uint64
deps/jemalloc/include/jemalloc/internal/atomic.h:101
↓ 4 callers
Function
atomic_write_p
deps/jemalloc/include/jemalloc/internal/atomic.h:540
↓ 4 callers
Function
chunk_alloc_cache
deps/jemalloc/src/chunk.c:392
↓ 4 callers
Function
chunk_dalloc_cache
deps/jemalloc/src/chunk.c:558
↓ 4 callers
Function
chunk_hooks_assure_initialized
deps/jemalloc/src/chunk.c:134
↓ 4 callers
Function
chunk_in_dss
deps/jemalloc/src/chunk_dss.c:157
↓ 4 callers
Function
chunk_purge_wrapper
deps/jemalloc/src/chunk.c:660
↓ 4 callers
Function
ckh_insert
deps/jemalloc/src/ckh.c:458
↓ 4 callers
Function
cliReadReply
src/disque-cli.c:513
↓ 4 callers
Function
cliRefreshPrompt
src/disque-cli.c:124
↓ 4 callers
Function
clientHasPendingReplies
Return true if the specified client has pending reply buffers to write to * the socket. */
src/networking.c:542
↓ 4 callers
Function
clusterBroadcastDelJob
Send a DELJOB message to all the nodes that may have a copy. */
src/cluster.c:1977
↓ 4 callers
Function
clusterDelNode
Remove a node from the cluster: * 1) Remove all the failure reports sent by this node. * 2) Free the node using freeClusterNode() that will remove i
src/cluster.c:671
↓ 4 callers
Function
clusterSendJobIDMessage
Helper function to send all the messages that have just a type, * a Job ID, and an optional 'aux' additional value. */
src/cluster.c:1906
↓ 4 callers
Function
clusterSendPing
Send a PING or PONG packet to the specified node, making sure to add enough * gossip informations. */
src/cluster.c:1678
↓ 4 callers
Function
clusterUpdateReachableNodes
Update server.reachable_nodes and server.reachable_nodes_count with * a list of reachable nodes (not in PFAIL state), excluding this node. * Note th
src/cluster.c:2448
↓ 4 callers
Function
configEnumGetValue
Get enum value from name. If there is no match INT_MIN is returned. */
src/config.c:90
↓ 4 callers
Function
createClusterNode
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.c:521
↓ 4 callers
Function
createReplyObject
Create a reply object */
deps/hiredis/hiredis.c:61
↓ 4 callers
Function
ctl_named_node
deps/jemalloc/src/ctl.c:19
↓ 4 callers
Function
disconnect
deps/hiredis/test.c:68
↓ 4 callers
Function
extent_node_addr_set
deps/jemalloc/include/jemalloc/internal/extent.h:153
↓ 4 callers
Function
extent_node_committed_get
deps/jemalloc/include/jemalloc/internal/extent.h:124
↓ 4 callers
Function
fill_array32
* This function generates pseudorandom 32-bit integers in the * specified array[] by one call. The number of pseudorandom integers * is specified by
deps/jemalloc/test/src/SFMT.c:551
↓ 4 callers
Function
fill_array64
* This function generates pseudorandom 64-bit integers in the * specified array[] by one call. The number of pseudorandom integers * is specified by
deps/jemalloc/test/src/SFMT.c:587
↓ 4 callers
Function
freeFakeClientArgv
src/aof.c:545
↓ 4 callers
Function
getClientTypeByName
src/networking.c:1526
↓ 4 callers
Function
getQueueImportRate
src/queue.c:401
↓ 4 callers
Function
getRandomHexChars
Generate the Disque "Run ID", a SHA1-sized random number that identifies a * given execution of Disque, so that if you are talking with an instance
src/util.c:443
↓ 4 callers
Function
imallocx_flags
deps/jemalloc/src/jemalloc.c:1964
↓ 4 callers
Function
imemalign
deps/jemalloc/src/jemalloc.c:1486
↓ 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
jemalloc_ffs
deps/jemalloc/include/jemalloc/internal/util.h:188
↓ 4 callers
Function
linenoiseEditHistoryNext
deps/linenoise/linenoise.c:656
↓ 4 callers
Function
linenoiseEditMoveEnd
Move cursor to the end of the line. */
deps/linenoise/linenoise.c:645
↓ 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:1010
↓ 4 callers
Function
logStackContent
src/debug.c:242
↓ 4 callers
Function
malloc_vsnprintf
deps/jemalloc/src/util.c:309
↓ 4 callers
Function
med3
src/pqsort.c:88
↓ 4 callers
Function
memtest_non_destructive_swap
src/memtest.c:253
↓ 4 callers
Function
memtoll
Convert a string representing an amount of memory into the number of * bytes, so for instance memtoll("1Gi") will return 1073741824 that is * (1024*
src/util.c:178
↓ 4 callers
Function
moveToNextTask
deps/hiredis/hiredis.c:330
↓ 4 callers
Function
needJobsForQueue
src/queue.c:481
↓ 4 callers
Function
node_remove
deps/jemalloc/test/unit/rb.c:159
↓ 4 callers
Function
pages_decommit
deps/jemalloc/src/pages.c:138
↓ 4 callers
Function
prepareClientToWrite
This function is called every time we are going to transmit new data * to the client. The behavior is the following: * * If the client should recei
src/networking.c:134
↓ 4 callers
Function
prof_dump
deps/jemalloc/src/prof.c:1465
↓ 4 callers
Function
prof_dump_filename
deps/jemalloc/src/prof.c:1547
↓ 4 callers
Function
prof_gctx_try_destroy
deps/jemalloc/src/prof.c:573
↓ 4 callers
Function
prof_malloc
deps/jemalloc/include/jemalloc/internal/prof.h:481
↓ 4 callers
Function
prof_tdata_should_destroy
tdata->lock must be held. */
deps/jemalloc/src/prof.c:1762
↓ 4 callers
Function
queueChangePausedState
Changes the paused state of the queue and handles serving again blocked * clients if needed. * * 'flag' must be QUEUE_FLAG_PAUSED_IN or QUEUE_FLAG_
src/queue.c:674
↓ 4 callers
Function
queueFetchJob
Fetch a job from the specified queue if any, updating the job state * as it gets fetched back to ACTIVE. If there are no jobs pending in the * speci
src/queue.c:217
↓ 4 callers
Function
redisAppendCommand
deps/hiredis/hiredis.c:1288
↓ 4 callers
Function
redisAsyncConnect
deps/hiredis/async.c:150
↓ 4 callers
Function
redisAsyncDisconnect
Tries to do a clean disconnect from Redis, meaning it stops new commands * from being issued, but tries to flush the output buffer and execute * cal
deps/hiredis/async.c:346
↓ 4 callers
Function
redisAsyncHandleRead
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:503
↓ 4 callers
Function
redisAsyncHandleWrite
deps/hiredis/async.c:524
↓ 4 callers
Function
redisAsyncSetConnectCallback
deps/hiredis/async.c:194
↓ 4 callers
Function
redisAsyncSetDisconnectCallback
deps/hiredis/async.c:207
↓ 4 callers
Function
redisConnectUnix
deps/hiredis/hiredis.c:1067
↓ 4 callers
Function
redisFormatCommandArgv
Format a command according to the Redis protocol. This function takes the * number of arguments, an array with arguments and an array with their * l
deps/hiredis/hiredis.c:939
↓ 4 callers
Function
redisSetBlocking
deps/hiredis/net.c:99
↓ 4 callers
Function
rewriteAppendOnlyFileBackground
This is how rewriting of the append only file in background works: * * 1) The user calls BGREWRITEAOF * 2) Disque calls this function, that forks()
src/aof.c:956
↓ 4 callers
Function
rewriteConfigMarkAsProcessed
Add the specified option to the set of processed options. * This is useful as only unused lines of processed options will be blanked * in the config
src/config.c:901
↓ 4 callers
Function
rioWriteBulkString
Write binary-safe string in the format: "$<count>\r\n<payload>\r\n". */
src/rio.c:325
↓ 4 callers
Function
rtree_delete
deps/jemalloc/src/rtree.c:79
↓ 4 callers
Function
sdscatfmt
This function is similar to sdscatprintf, but much faster as it does * not rely on sprintf() family functions implemented by the libc that * are oft
src/sds.c:579
↓ 4 callers
Function
sdscatprintf
Append to the sds string 's' a string obtained using printf-alike format * specifier. * * After the call, the modified sds string is no longer vali
deps/hiredis/sds.c:554
↓ 4 callers
Function
serializeJob
Serialize the job pointed by 'j' appending the serialized version of * the job into the passed SDS string 'jobs'. * * The serialization may be perf
src/job.c:665
↓ 4 callers
Function
skiplistInsert
Insert the specified object, return NULL if the element already * exists. */
src/skiplist.c:116
↓ 4 callers
Function
stats_cactive_add
deps/jemalloc/include/jemalloc/internal/stats.h:167
↓ 4 callers
Function
tcache_event
deps/jemalloc/include/jemalloc/internal/tcache.h:236
↓ 4 callers
Function
tcache_salloc
deps/jemalloc/src/tcache.c:26
↓ 4 callers
Function
tcaches_get
deps/jemalloc/include/jemalloc/internal/tcache.h:415
↓ 4 callers
Function
test_status_string
deps/jemalloc/test/src/test.c:34
↓ 4 callers
Function
timer_usec
deps/jemalloc/test/src/timer.c:33
↓ 4 callers
Function
u2s
deps/jemalloc/src/util.c:214
↓ 4 callers
Function
updateJobRequeueTime
Set the specified unix time at which a job will be queued again * in the local node. */
src/job.c:421
↓ 4 callers
Function
ustime
src/disque-cli.c:110
↓ 3 callers
Function
AOFLoadJob
Emit a LOADJOB command into the AOF. which is used explicitly to load * serialized jobs form disk: LOADJOB <serialize-job-string>. */
src/job.c:924
↓ 3 callers
Function
SHA1Final
src/sha1.c:155
↓ 3 callers
Function
SHA1Init
src/sha1.c:117
↓ 3 callers
Function
__redisAsyncFree
Helper function to free the context. */
deps/hiredis/async.c:264
↓ 3 callers
Function
__redisReaderSetError
deps/hiredis/hiredis.c:186
↓ 3 callers
Function
a0ialloc
deps/jemalloc/src/jemalloc.c:305
↓ 3 callers
Function
addReplyBulkSds
Add sds to reply (takes ownership of sds and frees it) */
src/networking.c:504
↓ 3 callers
Function
addReplyJob
Send a job as a return value of a command. This is about jobs but inside * queue.c since this is the format used in order to return a job from a * q
src/queue.c:120
↓ 3 callers
Function
addReplyJobID
Return a simple string reply with the Job ID. */
src/job.c:1022
↓ 3 callers
Function
addReplyStatusLength
src/networking.c:351
↓ 3 callers
Function
aeApiAssociate
* Helper function to invoke port_associate for the given fd and mask. */
src/ae_evport.c:123
↓ 3 callers
Function
aeGetTime
src/ae.c:180
↓ 3 callers
Function
aeStop
src/ae.c:131
↓ 3 callers
Function
anetEnableTcpNoDelay
src/anet.c:151
↓ 3 callers
Function
anetPeerToString
src/anet.c:574
↓ 3 callers
Function
anetSetReuseAddr
src/anet.c:238
↓ 3 callers
Function
aofRewriteBufferReset
This function free the old AOF rewrite buffer if needed, and initialize * a fresh new one. It tests for server.aof_rewrite_buf_blocks equal to NULL
src/aof.c:107
↓ 3 callers
Function
aofRewriteBufferSize
Return the current size of the AOF rewrite buffer. */
src/aof.c:116
← previous
next →
301–400 of 1,943, ranked by callers