MCPcopy Create free account
hub / github.com/apple/foundationdb / setGlobal

Method setGlobal

flow/Net2.actor.cpp:219–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217
218 flowGlobalType global(int id) const override { return (globals.size() > id) ? globals[id] : nullptr; }
219 void setGlobal(size_t id, flowGlobalType v) override {
220 ASSERT(id < globals.size());
221 globals[id] = v;
222 }
223
224 ProtocolVersion protocolVersion() const override { return currentProtocolVersion(); }
225

Callers 3

Histogram.cppFile · 0.45
injectorMethod · 0.45
flipperMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected