Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 238 for declareNS (0.15 sec)

  1. test/linkname3.go

    package p
    
    import _ "unsafe"
    
    type t int
    
    var x, y int
    
    func F[T any](T) {}
    
    //go:linkname x ok
    
    // ERROR "//go:linkname must refer to declared function or variable"
    // ERROR "//go:linkname must refer to declared function or variable"
    // ERROR "duplicate //go:linkname for x"
    // ERROR "//go:linkname reference of an instantiation is not allowed"
    
    //line linkname3.go:20
    //go:linkname nonexist nonexist
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:27:25 UTC 2024
    - 720 bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/TestLauncherCrossVersionSpec.groovy

                }
            """
        }
    
        def "fails with meaningful error when no tests declared"() {
            when:
            launchTests { TestLauncher launcher ->
                launcher.withTaskAndTestClasses(':test',[])
            }
    
            then:
            def e = thrown(TestExecutionException)
            e.message == 'No test for task :test declared for execution.'
    
            when:
            launchTests { TestLauncher launcher ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/body-nested-models.md

        ```
    
    This will make `tags` be a list, although it doesn't declare the type of the elements of the list.
    
    ## List fields with type parameter
    
    But Python has a specific way to declare lists with internal types, or "type parameters":
    
    ### Import typing's `List`
    
    In Python 3.9 and above you can use the standard `list` to declare these type annotations as we'll see below. 💡
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildTestLauncherCrossVersionSpec.groovy

        }
    
        def "fails with meaningful error when no tests declared from included build"() {
            when:
            launchTests { TestLauncher launcher ->
                launcher.withTaskAndTestClasses(':included-build:test', [])
            }
    
            then:
            def e = thrown(TestExecutionException)
            e.message == 'No test for task :included-build:test declared for execution.'
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/request-forms.md

    !!! warning
        You can declare multiple `Form` parameters in a *path operation*, but you can't also declare `Body` fields that you expect to receive as JSON, as the request will have the body encoded using `application/x-www-form-urlencoded` instead of `application/json`.
    
        This is not a limitation of **FastAPI**, it's part of the HTTP protocol.
    
    ## Recap
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:02:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/ConfigurationInternal.java

         */
        @Nullable
        ConfigurationInternal getConsistentResolutionSource();
    
        /**
         * Test if this configuration can either be declared against or extends another
         * configuration which can be declared against.
         *
         * @return {@code true} if so; {@code false} otherwise
         */
        default boolean isDeclarableByExtension() {
            return isDeclarableByExtension(this);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:15 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/dependencyManagement/modelingFeatures-crossProjectPublications-advanced/kotlin/producer/build.gradle.kts

    plugins {
        `java-library`
    }
    
    // tag::declare-outgoing-configuration[]
    val instrumentedJars by configurations.creating {
        isCanBeConsumed = true
        isCanBeResolved = false
        attributes {
            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.LIBRARY))
            attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.JAVA_RUNTIME))
            attribute(Bundling.BUNDLING_ATTRIBUTE, objects.named(Bundling.EXTERNAL))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 927 bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/describer/ExternalRequestedConfigurationNotFoundFailureDescriber.java

        }
    
        private String buildExternalConfigurationNotFoundFailureMsg(ExternalRequestedConfigurationNotFoundFailure failure) {
            return String.format("A dependency was declared from configuration '%s' to configuration '%s' which is not declared in the descriptor for %s.", failure.getFromConfigurationName(), failure.getRequestedName(), failure.getRequestedComponentDisplayName());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 19:13:04 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. test/fixedbugs/issue21317.go

    	out, err := cmd.CombinedOutput()
    	if err == nil {
    		log.Fatalf("expected cmd/compile to fail")
    	}
    	wantErrs := []string{
    		"7:9: declared and not used: n",
    		"7:12: declared and not used: err",
    	}
    	outStr := string(out)
    	for _, want := range wantErrs {
    		if !strings.Contains(outStr, want) {
    			log.Fatalf("failed to match %q\noutput: %q", want, outStr)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/base/KtContextReceiver.kt

    }
    
    public typealias KtContextReceiver = KaContextReceiver
    
    /**
     * Something which can have a [KaContextReceiver] declared. This may be a callable symbol, a class symbol, or a functional type.
     */
    public interface KaContextReceiversOwner : KaLifetimeOwner {
        /**
         * List of [KaContextReceiver] directly declared in the source code
         */
        public val contextReceivers: List<KaContextReceiver>
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top