MCPcopy Create free account
hub / github.com/pingcap/tidb / encode

Method encode

pkg/util/rowcodec/encoder.go:231–231  ·  view source on GitHub ↗
(encoder *Encoder, buf []byte)

Source from the content-addressed store, hash-verified

229// Checksum is used to calculate and append checksum data into the raw bytes
230type Checksum interface {
231 encode(encoder *Encoder, buf []byte) ([]byte, error)
232}
233
234// NoChecksum indicates no checksum is encoded into the returned raw bytes.

Callers 5

doWriteRowMethod · 0.65
closeImplMethod · 0.65
Test3KFilesRangeSplitterFunction · 0.65
flushSortedKVsMethod · 0.65
EncodeMethod · 0.65

Implementers 5

rangePropertiesCollectorpkg/lightning/backend/external/writer.
LogHookpkg/testkit/testutil/loghook.go
NoChecksumpkg/util/rowcodec/encoder.go
RawChecksumpkg/util/rowcodec/encoder.go
sqlCryptpkg/util/encrypt/crypt.go

Calls

no outgoing calls

Tested by 1

Test3KFilesRangeSplitterFunction · 0.52