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

Function _ref_of_vref

src/bthread/execution_queue_inl.h:220–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218 }
219
220 static inline uint32_t _ref_of_vref(int64_t vref) WARN_UNUSED_RESULT {
221 return (int32_t)(vref & 0xFFFFFFFFul);
222 }
223
224 static inline int64_t _make_vref(uint32_t version, int32_t ref) {
225 // 1: Intended conversion to uint32_t, nref=-1 is 00000000FFFFFFFF

Callers 3

dereferenceMethod · 0.85
stopMethod · 0.85
addressMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected