Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 731 for declareNS (0.73 sec)

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

    // license that can be found in the LICENSE file.
    
    package P
    
    // For now, a lone type parameter is not permitted as RHS in a type declaration (issue #45639).
    // // It is not permitted to declare a local type whose underlying
    // // type is a type parameters not declared by that type declaration.
    // func _[T any]() {
    // 	type _ T         // ERROR "cannot use function type parameter T as RHS in type declaration"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 623 bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentMetadataRulesInSettingsIntegrationTest.groovy

                }
            }
            run ':checkDeps'
    
            then:
            outputContains 'Rule from settings applied on org:module:1.0'
        }
    
        def "doesn't apply rules from settings if project declares rules"() {
            withLoggingRuleInSettings()
            repository {
                'org:module:1.0'()
            }
            buildFile << """
                dependencies {
                    conf 'org:module:1.0'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/path-params.md

    ```JSON
    {"item_id":"foo"}
    ```
    
    ## Path parameters with types
    
    You can declare the type of a path parameter in the function, using standard Python type annotations:
    
    ```Python hl_lines="7"
    {!../../../docs_src/path_params/tutorial002.py!}
    ```
    
    In this case, `item_id` is declared to be an `int`.
    
    !!! check
        This will give you editor support inside of your function, with error checks, completion, etc.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. platforms/jvm/language-jvm/src/main/java/org/gradle/api/plugins/FeatureSpec.java

     */
    @HasInternalProtocol
    public interface FeatureSpec {
        /**
         * Declares the source set which this feature is built from.
         * @param sourceSet the source set
         */
        void usingSourceSet(SourceSet sourceSet);
    
        /**
         * Declares a capability of this feature.
         * <p>
         * Calling this method multiple times will declare <i>additional</i>
         * capabilities. Note that calling this method will drop the default
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. platforms/jvm/platform-jvm/src/main/java/org/gradle/api/internal/tasks/JvmConstants.java

         * be declared.
         *
         * @since 3.4
         */
        public static final String API_CONFIGURATION_NAME = "api";
    
        /**
         * The name of the implementation configuration, where dependencies that are only used internally by
         * a component should be declared.
         *
         * @since 3.4
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/response-headers.md

    ## Use a `Response` parameter
    
    You can declare a parameter of type `Response` in your *path operation function* (as you can do for cookies).
    
    And then you can set headers in that *temporal* response object.
    
    ```Python hl_lines="1  7-8"
    {!../../../docs_src/response_headers/tutorial002.py!}
    ```
    
    And then you can return any object you need, as you normally would (a `dict`, a database model, etc).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jan 11 16:31:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/response-cookies.md

    ## Use a `Response` parameter
    
    You can declare a parameter of type `Response` in your *path operation function*.
    
    And then you can set cookies in that *temporal* response object.
    
    ```Python hl_lines="1  8-9"
    {!../../../docs_src/response_cookies/tutorial002.py!}
    ```
    
    And then you can return any object you need, as you normally would (a `dict`, a database model, etc).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jan 11 16:31:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/core_dependency_management.adoc

    ====
    
    <1> *Here we define repositories for the project.*
    
    <2> *Here we declare remote and local repositories for dependency locations.*
    +
    You can <<declaring_repositories.adoc#declaring-repositories,declare _repositories_>> to tell Gradle where to fetch local or remote _dependencies_. +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 17:38:38 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/ServiceRegistryBuilderTest.groovy

            exception.message.contains("The service '${BuildTreeScopedService.name}' declares service scope 'BuildTree' but is registered in the 'Build' scope. Either update the '@ServiceScope()' annotation on '${BuildTreeScopedService.simpleName}' to include the 'Build' scope or move the service registration to one of the declared scopes.")
        }
    
        @ServiceScope(Scope.BuildTree)
        static class BuildTreeScopedService {}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_vendor_goversion.txt

    # 'go mod vendor' failed to record dependency versions, and it has most of
    # the language features added since modules were introduced in Go 1.11.
    #
    # Even so, modules that declare 'go 1.17' and use 1.17 features spuriously fail
    # to build, and modules that declare an older version and use features from a
    # newer one spuriously build (instead of failing as they ought to).
    
    go mod vendor
    
    ! grep 1.17 vendor/modules.txt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 21:29:39 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top