Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/cmd/link/internal/loong64/obj.go

    import (
    	"cmd/internal/objabi"
    	"cmd/internal/sys"
    	"cmd/link/internal/ld"
    )
    
    func Init() (*sys.Arch, ld.Arch) {
    	arch := sys.ArchLoong64
    
    	theArch := ld.Arch{
    		Funcalign:        funcAlign,
    		Maxalign:         maxAlign,
    		Minalign:         minAlign,
    		Dwarfregsp:       dwarfRegSP,
    		Dwarfreglr:       dwarfRegLR,
    		CodePad:          []byte{0x00, 0x00, 0x2a, 0x00}, // BREAK 0
    		Adddynrel:        adddynrel,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 13:49:14 UTC 2024
    - 1.5K 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/link/internal/ld/data.go

    	syms = syms[:0]
    	for k := range sl {
    		s := sl[k].sym
    		if s != head && s != tail {
    			align := symalign(ldr, s)
    			if maxAlign < align {
    				maxAlign = align
    			}
    		}
    		syms = append(syms, s)
    	}
    
    	return syms, maxAlign
    }
    
    // Add buildid to beginning of text segment, on non-ELF systems.
    // Non-ELF binary formats are not always flexible enough to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (1)
  4. src/cmd/link/internal/ld/lib.go

    	}
    	if ctxt.IsDarwin() {
    		ctxt.mkArchSym(".linkedit.got", 0, &ctxt.LinkEditGOT)
    		ctxt.mkArchSym(".linkedit.plt", 0, &ctxt.LinkEditPLT)
    	}
    }
    
    type Arch struct {
    	Funcalign  int
    	Maxalign   int
    	Minalign   int
    	Dwarfregsp int
    	Dwarfreglr int
    
    	// Threshold of total text size, used for trampoline insertion. If the total
    	// text size is smaller than TrampLimit, we won't need to insert trampolines.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
Back to top