MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / reset

Method reset

Bcore/src/main/cpp/android-base/unique_fd.h:73–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 }
72
73 void reset(int new_value = -1) {
74 if (value_ != -1) {
75 Closer::Close(value_);
76 }
77 value_ = new_value;
78 }
79
80 int get() const { return value_; }
81 operator int() const { return get(); }

Callers 2

PipeFunction · 0.45
SocketpairFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected