MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / nthJEntry

Method nthJEntry

pkg/util/json/encoded.go:299–301  ·  view source on GitHub ↗
(n int, off int)

Source from the content-addressed store, hash-verified

297}
298
299func (j *jsonEncoded) nthJEntry(n int, off int) (jEntry, error) {
300 return getJEntryAt(j.value, containerHeaderLen+n*jEntryLen, off)
301}
302
303// objectGetDataRange returns the [begin, end) subslice of the object's data.
304func (j *jsonEncoded) objectGetDataRange(begin, end int) []byte {

Callers 1

getNthEntryBoundsMethod · 0.95

Calls 1

getJEntryAtFunction · 0.85

Tested by

no test coverage detected