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

Function string_not_empty

example/graph_load.cc:32–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30DEFINE_int32(alpha, -1, "alpha value used in sequence balance partition");
31
32bool string_not_empty(const char*, const std::string& value) {
33 if (0 == value.length()) { return false; }
34 return true;
35}
36
37DEFINE_validator(input, &string_not_empty);
38

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected