Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baidu/braft
/ fd
Method
fd
example/block/server.cpp:216–216 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
214
public:
215
explicit SharedFD(int fd) : _fd(fd) {}
216
int fd() const { return _fd; }
217
private:
218
friend class butil::RefCountedThreadSafe<SharedFD>;
219
~SharedFD() {
Callers
3
read
Method · 0.80
on_apply
Method · 0.80
save_snapshot
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected