MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / FindSpecial

Function FindSpecial

tensorflow/core/lib/strings/ordered_code_test.cc:202–207  ·  view source on GitHub ↗

Helper routine for testing TEST_SkipToNextSpecialByte

Source from the content-addressed store, hash-verified

200
201// Helper routine for testing TEST_SkipToNextSpecialByte
202size_t FindSpecial(const string& x) {
203 const char* p = x.data();
204 const char* limit = p + x.size();
205 const char* result = OrderedCode::TEST_SkipToNextSpecialByte(p, limit);
206 return result - p;
207}
208
209// Helper function template to create strings from string literals (excluding
210// the terminal zero byte of the underlying character array).

Callers 1

TESTFunction · 0.85

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected