Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baidu/tera
/ TryWrite
Method
TryWrite
src/quota/ts_write_flow_controller.h:27–27 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
25
void ResetSlowdownMode();
26
27
bool TryWrite(uint64_t size) { return flow_controller_.TryConsume(size); }
28
29
bool InSlowdownMode() { return flow_controller_.InFlowControlMode(); }
30
Callers
2
TEST
Function · 0.80
WriteTablet
Method · 0.80
Calls
1
TryConsume
Method · 0.45
Tested by
1
TEST
Function · 0.64