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

Method hasKey

src/system/message.h:36–36  ·  view source on GitHub ↗

return task.has_key();

Source from the content-addressed store, hash-verified

34 FilterConfig* addFilter(FilterConfig::Type type);
35 // return task.has_key();
36 bool hasKey() const { return !key.empty(); }
37 template <typename T> void setKey(const SArray<T>& key);
38 void clearKey() { task.clear_has_key(); key.clear(); }
39

Callers 4

encodeMethod · 0.80
decodeMethod · 0.80
encodeMethod · 0.80
decodeMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected