MCPcopy Create free account
hub / github.com/dmlc/parameter_server / front

Method front

src/util/shared_array.h:98–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 // Element access:
97 V back() const { CHECK(!empty()); return data_[size_-1]; }
98 V front() const { CHECK(!empty()); return data_[0]; }
99 V& operator[] (int i) { return data_[i]; }
100 const V& operator[] (int i) const { return data_[i]; }
101

Callers 7

wait_and_popMethod · 0.80
try_popMethod · 0.80
popMethod · 0.80
colBlockMethod · 0.80
rowBlockMethod · 0.80
debugStringMethod · 0.80
getNextTaskMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected