MCPcopy
hub / github.com/uptrace/uptrace / Pointer

Method Pointer

pkg/clickhouse/ch/chschema/field.go:36–36  ·  view source on GitHub ↗
(strct unsafe.Pointer)

Source from the content-addressed store, hash-verified

34func (f *Field) String() string { return "field=" + f.GoName }
35func (f *Field) Value(strct reflect.Value) reflect.Value { return fieldByIndexAlloc(strct, f.Index) }
36func (f *Field) Pointer(strct unsafe.Pointer) unsafe.Pointer { return pointerAtOffset(strct, f.Offset) }
37func (f *Field) AppendValue(fmter Formatter, b []byte, strct reflect.Value) []byte {
38 fv, ok := fieldByIndex(strct, f.Index)
39 if !ok {

Callers 15

newTimeseriesMethod · 0.80
ParseFunction · 0.80
decodeArrayMethod · 0.80
decodeSliceMethod · 0.80
decodeMapMethod · 0.80
decodeStructMethod · 0.80
decodePointerMethod · 0.80
AppendFunction · 0.80
encodeArrayMethod · 0.80
encodeMapMethod · 0.80
encodeStructMethod · 0.80

Calls 1

pointerAtOffsetFunction · 0.85

Tested by

no test coverage detected