Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 445 for unnamed (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  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. test/typeparam/issue50417.go

    	Sfm
    	m()
    }](p P) {
    	_ = p.f
    	p.f = 0
    	p.m()
    }
    
    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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 09 21:26:42 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/project/IsolatedProject.java

         * should use the {@link #getPath()} method for a unique identifier for the project.
         * If the root project is unnamed and is located on a file system root it will have a randomly-generated name
         * </p>
         *
         * @return The name of this project. Never return null.
         * @since 8.8
         */
        String getName();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 18:34:13 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

         */
        String CLASSPATH_JAR = "classpath-jar";
    
        /**
         * Artifact type name for a JAR file to unconditionally place on the module-path.
         * If the JAR is not modular, then it is loaded by Java as an unnamed module.
         * This type is new in Maven 4.
         */
        String MODULAR_JAR = "modular-jar";
    
        /**
         * Artifact type name for a JAR file that can be placed either on the annotation processor class-path
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/project/structure/impl/KtStandaloneProjectStructureProvider.kt

        override val allKtModules: List<KtModule>,
    ) : KtStaticProjectStructureProvider() {
        private val ktNotUnderContentRootModuleWithoutPsiFile by lazy {
            KtNotUnderContentRootModuleImpl(
                name = "unnamed-outside-content-root",
                moduleDescription = "Standalone-not-under-content-root-module-without-psi-file",
                project = project,
            )
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Apr 10 16:23:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top