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

Method Size

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

Size implements the Datum interface.

()

Source from the content-addressed store, hash-verified

1455
1456// Size implements the Datum interface.
1457func (d *DCollatedString) Size() uintptr {
1458 return unsafe.Sizeof(*d) + uintptr(len(d.Contents)) + uintptr(len(d.Locale)) + uintptr(len(d.Key))
1459}
1460
1461// IsComposite implements the CompositeDatum interface.
1462func (d *DCollatedString) IsComposite() bool {

Callers

nothing calls this directly

Calls 1

SizeofMethod · 0.80

Tested by

no test coverage detected