MCPcopy Create free account
hub / github.com/cuberite/cuberite / match

Method match

lib/jsoncpp/src/lib_json/json_reader.cpp:362–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360
361
362bool
363Reader::match( Location pattern,
364 int patternLength )
365{
366 if ( end_ - current_ < patternLength )
367 return false;
368 int index = patternLength;
369 while ( index-- )
370 if ( current_[index] != pattern[index] )
371 return false;
372 current_ += patternLength;
373 return true;
374}
375
376
377bool

Callers 3

bFunction · 0.80
sFunction · 0.80
gFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected