Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepseek-ai/3FS
/ try_dequeue
Method
try_dequeue
src/common/utils/BoundedQueue.h:74–80 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
72
}
73
74
std::optional<T> try_dequeue() {
75
T item;
76
if (try_dequeue(item)) {
77
return item;
78
}
79
return std::nullopt;
80
}
81
82
bool try_dequeue(T &item) {
83
auto waitSuccess = dequeueSemaphore_.try_wait();
Callers
8
ioRingWorker
Method · 0.45
take
Method · 0.45
loop
Method · 0.45
acquire
Method · 0.45
getOrCreateWriter
Method · 0.45
allocate
Method · 0.45
waitResult
Method · 0.45
TEST
Function · 0.45
Calls
2
try_wait
Method · 0.45
signal
Method · 0.45
Tested by
1
TEST
Function · 0.36