Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for UncommonSize (0.22 sec)

  1. src/internal/abi/compiletype.go

    func StructFieldSize(ptrSize int) int { return 3 * ptrSize }
    
    // UncommonSize returns sizeof(UncommonType).  This currently does not depend on ptrSize.
    // This exported function is in an internal package, so it may change to depend on ptrSize in the future.
    func UncommonSize() uint64 { return 4 + 2 + 2 + 4 + 4 }
    
    // TFlagOff returns the offset of Type.TFlag for a compilation target with a given ptrSize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 03:01:24 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/decodesym.go

    func structfieldSize(arch *sys.Arch) int { return abi.StructFieldSize(arch.PtrSize) } // runtime.structfield
    func uncommonSize(arch *sys.Arch) int    { return int(abi.UncommonSize()) }           // runtime.uncommontype
    
    // Type.commonType.kind
    func decodetypeKind(arch *sys.Arch, p []byte) abi.Kind {
    	return abi.Kind(p[2*arch.PtrSize+7]) & abi.KindMask //  0x13 / 0x1f
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top