MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / ByteRange

Method ByteRange

extern/re2/re2/compile.cc:365–371  ·  view source on GitHub ↗

Returns a fragment for the byte range lo-hi.

Source from the content-addressed store, hash-verified

363
364// Returns a fragment for the byte range lo-hi.
365Frag Compiler::ByteRange(int lo, int hi, bool foldcase) {
366 int id = AllocInst(1);
367 if (id < 0)
368 return NoMatch();
369 inst_[id].InitByteRange(lo, hi, foldcase, 0);
370 return Frag(id, PatchList::Mk(id << 1));
371}
372
373// Returns a no-op fragment. Sometimes unavoidable.
374Frag Compiler::Nop() {

Callers

nothing calls this directly

Calls 2

FragClass · 0.85
InitByteRangeMethod · 0.80

Tested by

no test coverage detected