MCPcopy Create free account
hub / github.com/apache/brpc / key

Method key

src/brpc/policy/rtmp_protocol.cpp:222–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220 const void* random1() const { return _buf + _offset + KEY_SIZE; }
221 int random1_size() const { return SIZE - KEY_SIZE - 4 - _offset; }
222 const void* key() const { return _buf + _offset; }
223 void* key() { return _buf + _offset; }
224
225private:

Callers 2

GenerateMethod · 0.45
SetParametersMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected