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

Method empty

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

Source from the content-addressed store, hash-verified

75 // static int64 gMemSize() { return g_mem_usage_sarray.load(); }
76
77 bool empty() const { return size() == 0; }
78 // Replace the current data pointer with data. the memory associated with the
79 // replaced pointer will be released if no other SArray points to it.
80 void reset(V* data, size_t size, bool deletable = true);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected