MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / empty

Method empty

rpc/serialize.h:74–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 const T& front() const { return (*this)[0]; }
73 const T& back() const { return (*this)[(long)size() - 1]; }
74 bool empty() const { return _len == 0; }
75 void assign(const T* x, size_t size) { buffer::assign(x, sizeof(*x) * size); }
76 void assign(const std::vector<T>& vec) { assign(&vec[0], vec.size()); }
77

Callers 6

assign_toMethod · 0.45
wait_for_completionFunction · 0.45
test_ooo_executionFunction · 0.45
heavy_completeFunction · 0.45
error_completeFunction · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 5

wait_for_completionFunction · 0.36
test_ooo_executionFunction · 0.36
heavy_completeFunction · 0.36
error_completeFunction · 0.36
TESTFunction · 0.36