MCPcopy Create free account
hub / github.com/CLD2Owners/cld2 / MapBack

Method MapBack

internal/getonescriptspan.cc:1076–1078  ·  view source on GitHub ↗

Maps byte offset in most recent GetOneScriptSpan/Lower span->text [0..text_bytes] into an additional byte offset from span->offset, to get back to corresponding text in the original input buffer. text_offset must be the first byte of a UTF-8 character, or just beyond the last character. Normally this routine is called with the first byte of an interesting range and again with the first byte of the

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected