Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/bolt
/ oneIn
Method
oneIn
bolt/exec/tests/HashJoinBridgeTest.cpp:86–89 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
84
}
85
86
bool oneIn(uint32_t n) {
87
std::lock_guard<std::mutex> l(mutex_);
88
return folly::Random().oneIn(n, rng_);
89
}
90
91
std::shared_ptr<HashJoinBridge> createJoinBridge() const {
92
return std::make_shared<HashJoinBridge>();
Callers
6
dataFetcher
Method · 0.45
TEST_P
Function · 0.45
TEST_P
Function · 0.45
run
Method · 0.45
TEST_P
Function · 0.45
TEST_F
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected