MCPcopy Create free account
hub / github.com/apache/thrift / describe

Method describe

lib/cpp/test/TransportTest.cpp:86–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 uint32_t nextSize() override { return generator_(); }
85
86 std::string describe() const override {
87 std::ostringstream desc;
88 desc << "rand(" << getMin() << ", " << getMax() << ")";
89 return desc.str();
90 }
91
92 uint32_t getMin() const { return (generator_.distribution().min)(); }
93 uint32_t getMax() const { return (generator_.distribution().max)(); }

Callers 2

describeMethod · 0.45
TransportTest.cppFile · 0.45

Calls 1

strMethod · 0.80

Tested by

no test coverage detected