MCPcopy Create free account
hub / github.com/Tencent/plato / string_not_empty

Function string_not_empty

example/node2vec_randomwalk.cc:47–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45DEFINE_double(rate, 0.02, "start 'rate'% walker per one bsp, reduce memory consumption");
46
47bool string_not_empty(const char*, const std::string& value) {
48 if (0 == value.length()) { return false; }
49 return true;
50}
51
52DEFINE_validator(input, &string_not_empty);
53

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected