MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / Size

Method Size

pkg/sql/sem/tree/datum.go:1706–1708  ·  view source on GitHub ↗

Size implements the Datum interface.

()

Source from the content-addressed store, hash-verified

1704
1705// Size implements the Datum interface.
1706func (d *DEncodedKey) Size() uintptr {
1707 return unsafe.Sizeof(*d) + uintptr(len(*d))
1708}
1709
1710// UnsafeBytes returns the raw bytes avoiding allocation. It is "unsafe" because
1711// the contract is that callers must not to mutate the bytes but there is

Callers

nothing calls this directly

Calls 1

SizeofMethod · 0.80

Tested by

no test coverage detected