MCPcopy Create free account
hub / github.com/XTXMarkets/ternfs / FdStatus

Method FdStatus

cpp/registry/RegistryDB.cpp:682–684  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

680class FdStatus {
681public:
682 FdStatus(uint32_t id, std::vector<BlockServiceState>& services)
683 : _id(id), _services(services), _startOffset(_services.size()),
684 _endOffset(_services.size()), _nextToAssign(_services.size()), _assignLoopCount(0) {}
685
686 // we prioritize Fds that have been assigned less often, and then by the next service available bytes
687 bool operator<(const FdStatus& oth) const {

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected