Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 212 for newnames (0.13 sec)

  1. src/go/types/universe.go

    		def(universeAnyAlias)
    	}
    
    	// type error interface{ Error() string }
    	{
    		obj := NewTypeName(nopos, nil, "error", nil)
    		obj.setColor(black)
    		typ := NewNamed(obj, nil, nil)
    
    		// error.Error() string
    		recv := NewVar(nopos, nil, "", typ)
    		res := NewVar(nopos, nil, "", Typ[String])
    		sig := NewSignatureType(recv, nil, nil, nil, NewTuple(res), false)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/arch/x86/x86asm/inst.go

    	TR4
    	TR5
    	TR6
    	TR7
    )
    
    const regMax = TR7
    
    func (Reg) isArg() {}
    
    func (r Reg) String() string {
    	i := int(r)
    	if i < 0 || i >= len(regNames) || regNames[i] == "" {
    		return fmt.Sprintf("Reg(%d)", i)
    	}
    	return regNames[i]
    }
    
    // A Mem is a memory reference.
    // The general form is Segment:[Base+Scale*Index+Disp].
    type Mem struct {
    	Segment Reg
    	Base    Reg
    	Scale   uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/Swift3.groovy

        }
    
        @Override
        List<SourceFile> getFiles() {
            return [sourceFile("swift", "swift3-code.swift", '''
                public typealias Name = (firstName: String, lastName: String)
    
                public func getNames() -> [Name] {
                    return [("Bart", "den Hollander")]
                }
    
                public func getLastNameOfFirstEntry(names: [Name]) -> String {
                    var result: String = ""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/universe.go

    	s.Def = ir.NewConstAt(src.NoXPos, s, types.UntypedBool, constant.MakeBool(false))
    
    	s = Lookup("_")
    	types.BlankSym = s
    	ir.BlankNode = ir.NewNameAt(src.NoXPos, s, types.Types[types.TBLANK])
    	s.Def = ir.BlankNode
    
    	s = types.BuiltinPkg.Lookup("_")
    	s.Def = ir.NewNameAt(src.NoXPos, s, types.Types[types.TBLANK])
    
    	s = types.BuiltinPkg.Lookup("nil")
    	s.Def = NodNil()
    
    	// initialize okfor
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/Configurations.java

    import org.gradle.api.artifacts.Configuration;
    import org.gradle.api.capabilities.Capability;
    
    import java.util.Collection;
    import java.util.Set;
    
    public class Configurations {
        public static ImmutableSet<String> getNames(Collection<Configuration> configurations) {
            if (configurations.isEmpty()) {
                return ImmutableSet.of();
            }
            if (configurations.size() == 1) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. src/go/types/named.go

    // Must only be called while holding n.mu.
    func (n *Named) setState(state namedState) {
    	atomic.StoreUint32(&n.state_, uint32(state))
    }
    
    // newNamed is like NewNamed but with a *Checker receiver.
    func (check *Checker) newNamed(obj *TypeName, underlying Type, methods []*Func) *Named {
    	typ := &Named{check: check, obj: obj, fromRHS: underlying, underlying: underlying, methods: methods}
    	if obj.typ == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/signatures/KtVariableLikeSignature.kt

         *
         * Some variables can have their names changed by special annotations like `@ParameterName(name = "newName")`. This is used to preserve
         * the names of the lambda parameters in the situations like this:
         *
         * ```
         * // compiled library
         * fun foo(): (bar: String) -> Unit { ... }
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/Swift4Test.groovy

        }
    
        @Override
        List<XCTestCaseElement> getTestCases() {
            return [
                testCase("testOnlyOneEntryWithSpecificFirstAndLastName",
                """// Assume only one entry
                    getNames().forEach({ name in
                        XCTAssertEqual(name.firstName, "Bart")
                        XCTAssertEqual(name.lastName, "den Hollander")
                    })"""),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. pkg/config/analysis/analyzers/telemetry/util.go

    	"istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pkg/config/analysis"
    	"istio.io/istio/pkg/config/analysis/analyzers/util"
    	"istio.io/istio/pkg/config/resource"
    	"istio.io/istio/pkg/config/schema/gvk"
    )
    
    func getNames(entries []*resource.Instance) []string {
    	names := make([]string, 0, len(entries))
    	for _, rs := range entries {
    		names = append(names, string(rs.Metadata.FullName.Name))
    	}
    	sort.Strings(names)
    	return names
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/Swift4.groovy

        }
    
        @Override
        List<SourceFile> getFiles() {
            return [sourceFile("swift", "swift4-code.swift", '''
                public typealias Name = (firstName: String, lastName: String)
    
                public func getNames() -> [Name] {
                    return [("Bart", "den Hollander")]
                }
    
                public func getLastNameOfFirstEntry(names: [Name]) -> String {
                    var result: String = ""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top