Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 490 for Arches (0.13 sec)

  1. test/fixedbugs/bug458.go

    // license that can be found in the LICENSE file.
    
    // Issue 4200: 6g crashes when a type is larger than 4GB.
    
    package main
    
    import "unsafe"
    
    // N=16 on 32-bit arches, 256 on 64-bit arches.
    // On 32-bit arches we don't want to test types
    // that are over 4GB large.
    const N = 1 << unsafe.Sizeof(uintptr(0))
    
    type T [N][10][10][10][10][3]byte
    
    func F(t *T) byte {
    	return t[0][0][0][0][0][0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 513 bytes
    - Viewed (0)
  2. tools/build-kind-image.sh

    # Example usage: `tools/build-kind-image.sh ~/go/src/k8s.io/kubernetes gcr.io/istio-testing/kind-node:v1.23.4`
    
    set -uex
    
    kdir="${1:?Kubernetes directory}"
    registry="${2:?registry}"
    
    ARCHES="${ARCHES:-amd64 arm64}"
    IFS=" " read -r -a __arches__ <<< "$ARCHES"
    
    images=()
    for arch in "${__arches__[@]}"; do
        image="${registry}-${arch}"
        kind build node-image --image="${image}" --arch="${arch}" "${kdir}"
        images+=("${image}")
    done
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 12 17:36:35 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  3. src/debug/macho/fat.go

    			if fa.Type != machoType {
    				return nil, &FormatError{offset, fmt.Sprintf("Mach-O type for architecture #%d (type=%#x) does not match first (type=%#x)", i, fa.Type, machoType), nil}
    			}
    		}
    
    		ff.Arches = append(ff.Arches, fa)
    	}
    
    	return &ff, nil
    }
    
    // OpenFat opens the named file using [os.Open] and prepares it for use as a Mach-O
    // universal binary.
    func OpenFat(name string) (*FatFile, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. src/debug/macho/file_test.go

    		t.Fatal(err)
    	}
    
    	if ff.Magic != MagicFat {
    		t.Errorf("OpenFat: got magic number %#x, want %#x", ff.Magic, MagicFat)
    	}
    	if len(ff.Arches) != 2 {
    		t.Errorf("OpenFat: got %d architectures, want 2", len(ff.Arches))
    	}
    
    	for i := range ff.Arches {
    		arch := &ff.Arches[i]
    		ftArch := &fileTests[i]
    
    		if arch.Cpu != ftArch.hdr.Cpu || arch.SubCpu != ftArch.hdr.SubCpu {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 12.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    		&asmArchS390X,
    		&asmArchWasm,
    		&asmArchLoong64,
    	}
    )
    
    func init() {
    	for _, arch := range arches {
    		arch.sizes = types.SizesFor("gc", arch.name)
    		if arch.sizes == nil {
    			// TODO(adonovan): fix: now that asmdecl is not in the standard
    			// library we cannot assume types.SizesFor is consistent with arches.
    			// For now, assume 64-bit norms and print a warning.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    	case "ppc64", "ppc64le":
    		arch = macho.CpuPpc64
    	default:
    		return nil, fmt.Errorf("unsupported host architecture for %s: %s", name, runtime.GOARCH)
    	}
    	for i := range of.Arches {
    		if of.Arches[i].Cpu == arch {
    			return b.openMachOCommon(name, of.Arches[i].File, start, limit, offset)
    		}
    	}
    	return nil, fmt.Errorf("architecture not found in %s: %s", name, runtime.GOARCH)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. src/internal/abi/abi.go

    // register space otherwise.
    type RegArgs struct {
    	// Values in these slots should be precisely the bit-by-bit
    	// representation of how they would appear in a register.
    	//
    	// This means that on big endian arches, integer values should
    	// be in the top bits of the slot. Floats are usually just
    	// directly represented, but some architectures treat narrow
    	// width floating point values specially (e.g. they're promoted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 23 15:51:32 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. src/runtime/mkpreempt.go

    func main() {
    	flag.Parse()
    	if flag.NArg() > 0 {
    		out = os.Stdout
    		for _, arch := range flag.Args() {
    			gen, ok := arches[arch]
    			if !ok {
    				log.Fatalf("unknown arch %s", arch)
    			}
    			header(arch)
    			gen()
    		}
    		return
    	}
    
    	for arch, gen := range arches {
    		f, err := os.Create(fmt.Sprintf("preempt_%s.s", arch))
    		if err != nil {
    			log.Fatal(err)
    		}
    		out = f
    		header(arch)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  9. src/debug/buildinfo/buildinfo.go

    	case bytes.HasPrefix(ident, []byte("\xCA\xFE\xBA\xBE")) || bytes.HasPrefix(ident, []byte("\xCA\xFE\xBA\xBF")):
    		f, err := macho.NewFatFile(r)
    		if err != nil || len(f.Arches) == 0 {
    			return "", "", errUnrecognizedFormat
    		}
    		x = &machoExe{f.Arches[0].File}
    	case bytes.HasPrefix(ident, []byte{0x01, 0xDF}) || bytes.HasPrefix(ident, []byte{0x01, 0xF7}):
    		f, err := xcoff.NewFile(r)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. src/cmd/internal/testdir/testdir_test.go

    			// Create the build environments corresponding the above specifiers
    			envs := make([]buildEnv, 0, 4)
    			arches := []string{arch}
    			// ppc64x is a pseudo-arch, generate tests for both endian variants.
    			if arch == "ppc64x" {
    				arches = []string{"ppc64", "ppc64le"}
    			}
    			for _, arch := range arches {
    				if subarch != "" {
    					envs = append(envs, buildEnv(os+"/"+arch+"/"+subarch))
    				} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
Back to top