| 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 |
| 226 | return (((uint64_t)version) << 32) | (uint32_t/*1*/)ref; |
| 227 | } |
| 228 | |
| 229 | // Don't change the order of _head, _versioned_ref and _stopped unless you |
| 230 | // see improvement of performance in test |
no outgoing calls
no test coverage detected