Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for typeptrdata (0.34 sec)

  1. src/reflect/type.go

    		Typ:    field.Type.common(),
    		Offset: 0,
    	}
    	return f, field.PkgPath
    }
    
    // typeptrdata returns the length in bytes of the prefix of t
    // containing pointer data. Anything after this offset is scalar data.
    // keep in sync with ../cmd/compile/internal/reflectdata/reflect.go
    func typeptrdata(t *abi.Type) uintptr {
    	switch t.Kind() {
    	case abi.Struct:
    		st := (*structType)(unsafe.Pointer(t))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
Back to top