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

Function GetTextSpanOffsets

internal/scoreonescriptspan.cc:164–184  ·  view source on GitHub ↗

At this point, The chunk is described by hitbuffer->base[cspan->chunk_base .. cspan->chunk_base + cspan->base_len) hitbuffer->delta[cspan->chunk_delta ... ) hitbuffer->distinct[cspan->chunk_distinct ... ) Scored text is in text[lo..hi) where lo is 0 or the min of first base/delta/distinct hitbuffer offset and hi is the min of next base/delta/distinct hitbuffer offset after base_len, etc.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

minintFunction · 0.85

Tested by

no test coverage detected