Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for isParam (0.78 sec)

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

    		if i != 0 {
    			b.WriteString(", ")
    		}
    		fldconv(b, param, fieldVerb, mode, visited, true)
    	}
    	b.WriteByte(')')
    }
    
    func fldconv(b *bytes.Buffer, f *Field, verb rune, mode fmtMode, visited map[*Type]int, isParam bool) {
    	if f == nil {
    		b.WriteString("<T>")
    		return
    	}
    
    	var name string
    	nameSep := " "
    	if verb != 'S' {
    		s := f.Sym
    
    		// Using type aliases and embedded fields, it's possible to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 15:41:17 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  2. src/go/printer/testdata/parser.go

    	}
    
    	star := p.expect(token.MUL)
    	base := p.parseType()
    
    	return &ast.StarExpr{star, base}
    }
    
    func (p *parser) tryVarType(isParam bool) ast.Expr {
    	if isParam && p.tok == token.ELLIPSIS {
    		pos := p.pos
    		p.next()
    		typ := p.tryIdentOrType(isParam) // don't use parseType so we can provide better error message
    		if typ == nil {
    			p.error(pos, "'...' parameter is missing type")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/platform/internal/ArchitecturesTest.groovy

            Architectures.forInput(architecture).isArm32()
            Architectures.forInput(architecture).isArm()
            where:
            architecture << [ "arm", "armv7" ]
        }
    
        def "test ARM 64 aliases"() {
            expect:
            Architectures.forInput(architecture).isArm64()
            Architectures.forInput(architecture).isArm()
            where:
            architecture << [ "aarch64", "arm-v8" ]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/platform/internal/ArchitectureInternal.java

        @Internal
        boolean isI386();
    
        @Internal
        boolean isAmd64();
    
        @Internal
        boolean isIa64();
    
        @Internal
        default boolean isArm() {
            return isArm32() || isArm64();
        }
    
        @Internal
        boolean isArm32();
    
        @Internal
        boolean isArm64();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/op.go

    // OffsetOfArg returns the SP offset of argument which (indexed 0, 1, etc).
    // If the call is to a method, the receiver is the first argument (i.e., index 0)
    func (a *AuxCall) OffsetOfArg(which int64) int64 {
    	n := int64(a.abiInfo.InParam(int(which)).Offset())
    	return n
    }
    
    // RegsOfResult returns the register(s) used for result which (indexed 0, 1, etc).
    func (a *AuxCall) RegsOfResult(which int64) []abi.RegIndex {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/LegacyWindowsSdkInstall.java

            }
            if (platform.getArchitecture().isIa64()) {
                return new LegacyPlatformWindowsSdk(BINPATHS_IA64, LIBPATHS_IA64);
            }
            if (platform.getArchitecture().isArm()) {
                return new LegacyPlatformWindowsSdk(BINPATHS_ARM, LIBPATHS_ARM);
            }
            if (platform.getArchitecture().isI386()) {
                return new LegacyPlatformWindowsSdk(BINPATHS_X86, LIBPATHS_X86);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/target.go

    	}
    }
    
    //
    // Processor functions
    //
    
    func (t *Target) Is386() bool {
    	return t.Arch.Family == sys.I386
    }
    
    func (t *Target) IsARM() bool {
    	return t.Arch.Family == sys.ARM
    }
    
    func (t *Target) IsARM64() bool {
    	return t.Arch.Family == sys.ARM64
    }
    
    func (t *Target) IsAMD64() bool {
    	return t.Arch.Family == sys.AMD64
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 21:14:48 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/AvailableToolChains.java

                String config = "     eachPlatform { platformToolChain ->\n";
                config += "         if (platformToolChain.platform.architecture.isI386() || platformToolChain.platform.architecture.isArm()) {\n";
                config += "             platformToolChain.cCompiler.executable='i686-pc-cygwin-gcc.exe'\n";
                config += "             platformToolChain.cppCompiler.executable='i686-pc-cygwin-g++.exe'\n";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/AbstractGccCompatibleToolChain.java

                return targetPlatform.getOperatingSystem().isCurrent()
                    && targetPlatform.getOperatingSystem().isMacOsX()
                    && targetPlatform.getArchitecture().isArm();
            }
    
            @Override
            public void apply(DefaultGccPlatformToolChain gccToolChain) {
                final String[] compilerArgs = new String[]{"-arch", "arm64"};
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 20K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/data.go

    		return 0
    	}
    
    	n := uint64(0)
    	relocs := ldr.Relocs(s)
    	for ri := 0; ri < relocs.Count(); ri++ {
    		r := relocs.At(ri)
    		if r.Type().IsDirectCallOrJump() {
    			n++
    		}
    	}
    
    	switch {
    	case ctxt.IsARM():
    		return n * 20 // Trampolines in ARM range from 3 to 5 instructions.
    	case ctxt.IsARM64():
    		return n * 12 // Trampolines in ARM64 are 3 instructions.
    	case ctxt.IsPPC64():
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (1)
Back to top