Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 187 for Peinit (0.12 sec)

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

    		}
    		if *ld.FlagTextAddr == -1 {
    			*ld.FlagTextAddr = ld.Rnd(0x08048000, *ld.FlagRound) + int64(ld.HEADR)
    		}
    
    	case objabi.Hwindows: /* PE executable */
    		// ld.HEADR, ld.FlagTextAddr, ld.FlagRound are set in ld.Peinit
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. src/cmd/link/internal/arm/obj.go

    		}
    		if *ld.FlagTextAddr == -1 {
    			*ld.FlagTextAddr = ld.Rnd(0x10000, *ld.FlagRound) + int64(ld.HEADR)
    		}
    
    	case objabi.Hwindows: /* PE executable */
    		// ld.HEADR, ld.FlagTextAddr, ld.FlagRound are set in ld.Peinit
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. src/cmd/link/internal/amd64/obj.go

    		}
    		if *ld.FlagTextAddr == -1 {
    			*ld.FlagTextAddr = ld.Rnd(1<<22, *ld.FlagRound) + int64(ld.HEADR)
    		}
    
    	case objabi.Hwindows: /* PE executable */
    		// ld.HEADR, ld.FlagTextAddr, ld.FlagRound are set in ld.Peinit
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. src/cmd/link/internal/arm64/obj.go

    		}
    		if *ld.FlagTextAddr == -1 {
    			*ld.FlagTextAddr = ld.Rnd(1<<32, *ld.FlagRound) + int64(ld.HEADR)
    		}
    
    	case objabi.Hwindows: /* PE executable */
    		// ld.HEADR, ld.FlagTextAddr, ld.FlagRound are set in ld.Peinit
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/pe.go

    	}
    
    	if pe64 != 0 {
    		binary.Write(ctxt.Out, binary.LittleEndian, &oh64)
    	} else {
    		binary.Write(ctxt.Out, binary.LittleEndian, &oh)
    	}
    }
    
    var pefile peFile
    
    func Peinit(ctxt *Link) {
    	var l int
    
    	if ctxt.Arch.PtrSize == 8 {
    		// 64-bit architectures
    		pe64 = 1
    		PEBASE = 1 << 32
    		if ctxt.Arch.Family == sys.AMD64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 48.8K bytes
    - Viewed (0)
  6. src/internal/cpu/cpu_ppc64x.go

    //go:build ppc64 || ppc64le
    
    package cpu
    
    const CacheLinePadSize = 128
    
    func doinit() {
    	options = []option{
    		{Name: "darn", Feature: &PPC64.HasDARN},
    		{Name: "scv", Feature: &PPC64.HasSCV},
    		{Name: "power9", Feature: &PPC64.IsPOWER9},
    	}
    
    	osinit()
    }
    
    func isSet(hwc uint, value uint) bool {
    	return hwc&value != 0
    }
    
    func Name() string {
    	switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 20:05:43 UTC 2022
    - 651 bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/lib.go

    		sb := ctxt.loader.MakeSymbolUpdater(symIdx)
    		sb.SetType(sym.SNOPTRDATA)
    		sb.AddUint8(1)
    	}
    
    	// Recalculate pe parameters now that we have ctxt.LinkMode set.
    	if ctxt.HeadType == objabi.Hwindows {
    		Peinit(ctxt)
    	}
    
    	if ctxt.LinkMode == LinkExternal {
    		// When external linking, we are creating an object file. The
    		// absolute address is irrelevant.
    		*FlagTextAddr = 0
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  8. src/internal/cpu/cpu_arm64.go

    // We choose 128 because Apple Silicon, a.k.a. M1, has 128-byte cache line size.
    // It doesn't cost much and is much more future-proof.
    const CacheLinePadSize = 128
    
    func doinit() {
    	options = []option{
    		{Name: "aes", Feature: &ARM64.HasAES},
    		{Name: "pmull", Feature: &ARM64.HasPMULL},
    		{Name: "sha1", Feature: &ARM64.HasSHA1},
    		{Name: "sha2", Feature: &ARM64.HasSHA2},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 25 14:08:20 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. test/noinit.go

    func gopherize(s string) string { return "gopher gopher gopher " + s }
    
    var animals = gopherize("badger")
    
    // These init funcs should optimize away.
    
    func init() {
    }
    
    func init() {
    	if false {
    	}
    }
    
    func init() {
    	for false {
    	}
    }
    
    // Actual test: check for init funcs in runtime data structures.
    
    type initTask struct {
    	state uint32
    	nfns  uint32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 14 17:57:36 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  10. misc/cgo/gmp/gmp.go

    	return z
    }
    
    // Sub sets z = x - y and returns z.
    func (z *Int) Sub(x, y *Int) *Int {
    	x.doinit()
    	y.doinit()
    	z.doinit()
    	C.mpz_sub(&z.i[0], &x.i[0], &y.i[0])
    	return z
    }
    
    // Mul sets z = x * y and returns z.
    func (z *Int) Mul(x, y *Int) *Int {
    	x.doinit()
    	y.doinit()
    	z.doinit()
    	C.mpz_mul(&z.i[0], &x.i[0], &y.i[0])
    	return z
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
Back to top