Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 80 for unnamed1 (0.13 sec)

  1. src/internal/types/testdata/fixedbugs/issue50755.go

    // license that can be found in the LICENSE file.
    
    package p
    
    // The core type of M2 unifies with the type of m1
    // during function argument type inference.
    // M2's constraint is unnamed.
    func f1[K1 comparable, E1 any](m1 map[K1]E1) {}
    
    func f2[M2 map[string]int](m2 M2) {
    	f1(m2)
    }
    
    // The core type of M3 unifies with the type of m1
    // during function argument type inference.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 1K bytes
    - Viewed (0)
  2. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/containingDeclarationProvider/AbstractContainingDeclarationProviderByReferenceTest.kt

                is KaClassLikeSymbol -> symbol.classId?.toString()
                else -> null
            }
    
            return qualifiedName ?: (symbol as? KaNamedSymbol)?.name?.asString() ?: "Unnamed"
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. testing/smoke-test/src/smokeTest/groovy/org/gradle/play/integtest/fixtures/external/AbstractPlayExternalContinuousBuildIntegrationTest.groovy

        }
    
        static jpmsForkOptions() {
            if (JavaVersion.current().isJava9Compatible()) {
                return "forkOptions.jvmArgs += ['--add-modules', 'java.sql', '--add-opens', 'java.base/sun.net.www.protocol.file=ALL-UNNAMED']"
            } else {
                return ""
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/server/scaninfo/DaemonScanInfoIntegrationSpec.groovy

                // For java.util.concurrent.CountDownLatch being serialized reflectively by configuration cache
                executer.withArgument('-Dorg.gradle.jvmargs=--add-opens java.base/java.util.concurrent=ALL-UNNAMED --add-opens java.base/java.util.concurrent.locks=ALL-UNNAMED')
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  5. src/cmd/gofmt/testdata/typeswitch.golden

    	switch x.(type) { // should become: switch x.(type) {
    	case int:
    	}
    
    	switch x.(type) { // should remain the same
    	case []int:
    	}
    
    	// Parenthesized (x.(type)) in type switches containing cases
    	// with unnamed (literal) types were never permitted by gofmt;
    	// thus there won't be any code in the wild using this style if
    	// the code was gofmt-ed.
    	/*
    		switch (x.(type)) {
    		case []int:
    		}
    	*/
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 15 17:17:30 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  6. platforms/extensibility/unit-test-fixtures/src/integTest/groovy/org/gradle/testfixtures/ProjectBuilderEndUserIntegrationTest.groovy

                }
                @Override
                Iterable<String> asArguments() {
                    return test.javaVersion.isCompatibleWith(JavaVersion.VERSION_1_9)
                        ? ["--add-opens=java.base/java.lang=ALL-UNNAMED"]
                        : []
                }
            }
            tasks.withType(Test).configureEach {
                jvmArgumentProviders.add(new AddOpensArgProvider(it))
            }
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/cmd/gofmt/testdata/typeswitch.input

    	switch (x.(type)) { // should become: switch x.(type) {
    	case int:
    	}
    
    	switch x.(type) { // should remain the same
    	case []int:
    	}
    
    	// Parenthesized (x.(type)) in type switches containing cases
    	// with unnamed (literal) types were never permitted by gofmt;
    	// thus there won't be any code in the wild using this style if
    	// the code was gofmt-ed.
    	/*
    	switch (x.(type)) {
    	case []int:
    	}
    	*/
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 15 17:17:30 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  8. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/AbstractClasspathEntry.java

                // entries by putting a list as value into the 'entryAttributes' Map.
                // For exmaple: entryAttributes['add-exports'] = ['java.base/jdk.internal.access=ALL-UNNAMED', 'java.base/jdk.internal.loader=ALL-UNNAMED']
                if (value instanceof Iterable) {
                    Cast.<Iterable<?>>uncheckedCast(value).forEach(valueElement ->
                        attributesNode.appendNode("attribute", ImmutableMap.of(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/CustomPluginObjectFactoryIntegrationTest.groovy

     */
    package org.gradle.api.internal.model
    
    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    
    class CustomPluginObjectFactoryIntegrationTest extends AbstractIntegrationSpec {
    
        def "plugin can create unnamed instances of class using injected factory"() {
            buildFile """
    
                @groovy.transform.Canonical
                class CustomExtension {
                    NestedExtension nested
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 13 21:29:11 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  10. test/typeparam/issue50417.go

    var _ = f2[Sfm]
    
    // special case: core type is a named pointer type
    
    type PSfm *Sfm
    
    func f3[P interface{ PSfm }](p P) {
    	_ = p.f
    	p.f = 0
    }
    
    var _ = f3[PSfm]
    
    // special case: core type is an unnamed pointer type
    
    func f4[P interface{ *Sfm }](p P) {
    	_ = p.f
    	p.f = 0
    }
    
    var _ = f4[*Sfm]
    
    type A int
    type B int
    type C float64
    
    type Int interface {
    	*Sf | A
    	*Sf | B
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 09 21:26:42 UTC 2022
    - 1.5K bytes
    - Viewed (0)
Back to top