MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / TryPop

Method TryPop

tensorflow/core/framework/ev_allocator.h:150–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 }
149
150 bool TryPop(void** ret) {
151 if (list_.empty()) {
152 return false;
153 }
154
155 *ret = list_.back();
156 list_.pop_back();
157 return true;
158 }
159
160 // PushBatch and PopBatch do not guarantee an ordering.
161 void PushBatch(int N, void** ptrs) {

Callers

nothing calls this directly

Calls 3

pop_backMethod · 0.80
emptyMethod · 0.45
backMethod · 0.45

Tested by

no test coverage detected