MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / operator()

Method operator()

Libs/flatbuffers/flatbuffers.h:2298–2303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2296 struct StringOffsetCompare {
2297 StringOffsetCompare(const vector_downward &buf) : buf_(&buf) {}
2298 bool operator()(const Offset<String> &a, const Offset<String> &b) const {
2299 auto stra = reinterpret_cast<const String *>(buf_->data_at(a.o));
2300 auto strb = reinterpret_cast<const String *>(buf_->data_at(b.o));
2301 return StringLessThan(stra->data(), stra->size(), strb->data(),
2302 strb->size());
2303 }
2304 const vector_downward *buf_;
2305 };
2306

Callers

nothing calls this directly

Calls 3

StringLessThanFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected