Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for MaxAlign (0.09 sec)

  1. src/cmd/compile/internal/types/size.go

    		// field types.
    		if align := typ.align; align > maxAlign {
    			maxAlign = align
    		}
    
    		// Each field needs its own registers.
    		// We sum in uint64 to avoid possible overflows.
    		intRegs += uint64(typ.intRegs)
    		floatRegs += uint64(typ.floatRegs)
    	}
    
    	// Final size includes trailing padding.
    	size = RoundUp(size, int64(maxAlign))
    
    	if intRegs > math.MaxUint8 || floatRegs > math.MaxUint8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. src/runtime/chan.go

    //  c.qcount < c.dataqsiz implies that c.sendq is empty.
    
    import (
    	"internal/abi"
    	"internal/runtime/atomic"
    	"runtime/internal/math"
    	"unsafe"
    )
    
    const (
    	maxAlign  = 8
    	hchanSize = unsafe.Sizeof(hchan{}) + uintptr(-int(unsafe.Sizeof(hchan{}))&(maxAlign-1))
    	debugChan = false
    )
    
    type hchan struct {
    	qcount   uint           // total data in the queue
    	dataqsiz uint           // size of the circular queue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    	// any of them counts as writing to result.
    	retRegs []string
    	// calculated during initialization
    	sizes    types.Sizes
    	intSize  int
    	ptrSize  int
    	maxAlign int
    }
    
    // An asmFunc describes the expected variables for a function on a given architecture.
    type asmFunc struct {
    	arch        *asmArch
    	size        int // size of all arguments
    	vars        map[string]*asmVar
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  4. api/go1.5.txt

    pkg go/types, type Sizes interface, Offsetsof([]*Var) []int64
    pkg go/types, type Sizes interface, Sizeof(Type) int64
    pkg go/types, type Slice struct
    pkg go/types, type StdSizes struct
    pkg go/types, type StdSizes struct, MaxAlign int64
    pkg go/types, type StdSizes struct, WordSize int64
    pkg go/types, type Struct struct
    pkg go/types, type Tuple struct
    pkg go/types, type Type interface { String, Underlying }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
Back to top