MCPcopy Create free account
hub / github.com/blastrain/vitess-sqlparser / peek

Function peek

tidbparser/dependency/util/codec/codec.go:394–427  ·  view source on GitHub ↗

peek peeks the first encoded value from b and returns its length.

(b []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

CutOneFunction · 0.85
SetRawValuesFunction · 0.85

Calls 8

DecimalPeakFunction · 0.92
PeekBytesAsJSONFunction · 0.92
peekBytesFunction · 0.85
peekCompactBytesFunction · 0.85
peekVarintFunction · 0.85
peekUvarintFunction · 0.85
NewMethod · 0.80
ErrorfMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…