Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/PhotonLibOS
/ load_factor
Method
load_factor
common/unordered_inline_set.h:676–678 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
674
}
675
676
float load_factor() const {
677
return float(_data.size()) / _data.capacity();
678
}
679
void load_factor(float min, float max) {
680
if (0 < min && min < max && max < 1) {
681
_load_factor_min = min;
Callers
nothing calls this directly
Calls
2
size
Method · 0.45
capacity
Method · 0.45
Tested by
no test coverage detected