Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 874 for unnamed (0.14 sec)

  1. 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)
  2. 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)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultTaskTest.groovy

            task.actions[5].displayName == "I have a name"
    
        }
    
        def "unconventionally added actions that are not describable are unnamed"() {
            when:
            task.actions.add(Mock(Action))
    
            then:
            task.actions[0].displayName == "Execute unnamed action"
        }
    
        def "can detect tasks with custom actions added"() {
            expect:
            !task.hasCustomActions
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 24 11:56:02 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. plugin/pkg/admission/noderestriction/admission_test.go

    		},
    		{
    			name:       "forbid create of unnamed eviction for unknown pod",
    			podsGetter: noExistingPods,
    			attributes: admission.NewAttributesRecord(unnamedEviction, nil, evictionKind, coremypod.Namespace, coremypod.Name, podResource, "eviction", admission.Create, &metav1.CreateOptions{}, false, mynode),
    			err:        "not found",
    		},
    
    		// Eviction for unnamed pod
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 73.2K 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