Home
last modified time | relevance | path

Searched refs:kOwningBitMask (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/
Dliteral.h1015 kOwningBitMask = 1UL, enumerator
1016 kPointerMask = ~kOwningBitMask,
1020 DCHECK_EQ(reinterpret_cast<intptr_t>(released) & kOwningBitMask, 0); in TakeUnique()
1021 return reinterpret_cast<intptr_t>(released) | kOwningBitMask; in TakeUnique()
1025 DCHECK_EQ(reinterpret_cast<intptr_t>(borrowed) & kOwningBitMask, 0); in Borrow()
1029 bool OwnsPtr() const { return kOwningBitMask & ptr_and_owning_bit_; } in OwnsPtr()