internal/abi.Name.DataChecked (method)
8 uses
internal/abi (current package)
type.go#L595: func (n Name) DataChecked(off int, whySafe string) *byte {
type.go#L625: x := *n.DataChecked(off+i, "read varint")
type.go#L663: return unsafeStringFor(n.DataChecked(1+i, "non-empty string"), l)
type.go#L673: return unsafeStringFor(n.DataChecked(1+i+l+i2, "non-empty string"), l2)
internal/reflectlite
type.go#L211: if n.Bytes == nil || *n.DataChecked(0, "name flag field")&(1<<2) == 0 {
type.go#L223: copy((*[4]byte)(unsafe.Pointer(&nameOff))[:], (*[4]byte)(unsafe.Pointer(n.DataChecked(off, "name offset field")))[:])
reflect
type.go#L386: if n.Bytes == nil || *n.DataChecked(0, "name flag field")&(1<<2) == 0 {
type.go#L398: copy((*[4]byte)(unsafe.Pointer(&nameOff))[:], (*[4]byte)(unsafe.Pointer(n.DataChecked(off, "name offset field")))[:])
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |