MCPcopy Create free account
hub / github.com/BVLC/caffe / size

Method size

src/caffe/util/blocking_queue.cpp:83–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81
82template<typename T>
83size_t BlockingQueue<T>::size() const {
84 boost::mutex::scoped_lock lock(sync_->mutex_);
85 return queue_.size();
86}
87
88template class BlockingQueue<Batch<float>*>;
89template class BlockingQueue<Batch<double>*>;

Callers 15

apply_buffersFunction · 0.45
total_sizeFunction · 0.45
InitSingleProcessMethod · 0.45
runMethod · 0.45
on_gradients_readyMethod · 0.45
InternalThreadEntryMethod · 0.45
RunMethod · 0.45
TransformMethod · 0.45
InferBlobShapeMethod · 0.45
ReshapeMethod · 0.45
set_cpu_dataMethod · 0.45
set_gpu_dataMethod · 0.45

Calls

no outgoing calls

Tested by 15

TestAllMethod · 0.36
TestMethod · 0.36
RunLeastSquaresSolverMethod · 0.36
CheckAccumulationMethod · 0.36
TestSnapshotMethod · 0.36
TYPED_TESTFunction · 0.36
TYPED_TESTFunction · 0.36
TYPED_TESTFunction · 0.36
CopyNetBlobsMethod · 0.36