MCPcopy Create free account
hub / github.com/alibaba/graph-learn / starts_with

Method starts_with

graphlearn/src/common/string/lite_string.h:104–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 }
103
104 bool starts_with(LiteString x) const {
105 return ((size_ >= x.size_) &&
106 (memcmp(data_, x.data_, x.size_) == 0));
107 }
108
109 bool ends_with(LiteString x) const {
110 return ((size_ >= x.size_) &&

Callers 1

ConsumePrefixFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected