Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,660 for declareNS (0.13 sec)

  1. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/feature_variants.adoc

    [[sec::declare_feature_variants]]
    == Registering features
    
    Features can be declared by applying the `java-library` plugin.
    The following code illustrates how to declare a feature named `mongodbSupport`:
    
    .Registering a feature
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 18:45:05 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/resolver.go

    		check.error(ident, InvalidInitDecl, "cannot declare init - must be func")
    		return
    	}
    
    	// spec: "The main package must have package name main and declare
    	// a function main that takes no arguments and returns no value."
    	if ident.Value == "main" && check.pkg.name == "main" {
    		check.error(ident, InvalidMainDecl, "cannot declare main - must be func")
    		return
    	}
    
    	check.declare(check.pkg.scope, ident, obj, nopos)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentReplacementIntegrationTest.groovy

        }
    
        def "does not allow replacing with self"() {
            declaredReplacements 'a->a'
            expect:
            fails().assertHasCause("Cannot declare module replacement that replaces self: org:a->org:a")
        }
    
        def "when multiple replacement targets declared only the last one applies"() {
            publishedMavenModules 'c'
            declaredDependencies 'a', 'b', 'c'
            declaredReplacements 'a->b', 'a->c'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/CapabilitiesUseCasesIntegrationTest.groovy

            true        | 'conflict fix applied'
        }
    
        /**
         * This test highlights the case where published module declares a relocation. This is the drop-in replacement
         * for "replacedBy" rules when a module has been relocated, and that the publisher uses Gradle. There's the
         * ability to declare, in a newer version of the module, that it actually provides the same capability as an
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/interface.go

    }
    
    // OptionalVariableDeclarations declares which optional CEL variables
    // are declared for an expression.
    type OptionalVariableDeclarations struct {
    	// HasParams specifies if the "params" variable is declared.
    	// The "params" variable may still be bound to "null" when declared.
    	HasParams bool
    	// HasAuthorizer specifies if the "authorizer" and "authorizer.requestResource"
    	// variables are declared. When declared, the authorizer variables are
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/vardecl.go

    		var x2 /* ERROR "declared and not used" */ int
    		x1 = 1
    		(x2) = 2
    
    		y1 /* ERROR "declared and not used" */ := 1
    		y2 /* ERROR "declared and not used" */ := 2
    		y1 = 1
    		(y1) = 2
    	}
    
    	if x /* ERROR "declared and not used" */ := 0; a < b {}
    
    	switch x /* ERROR "declared and not used" */, y := 0, 1; a {
    	case 0:
    		_ = y
    	case 1:
    		x /* ERROR "declared and not used" */ := 0
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/response-change-status-code.md

    And if you declared a `response_model`, it will still be used to filter and convert the object you returned.
    
    **FastAPI** will use that *temporal* response to extract the status code (also cookies and headers), and will put them in the final response that contains the value you returned, filtered by any `response_model`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jan 11 16:31:18 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/body-multiple-params.md

    You can also declare singular values to be received as part of the body.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jun 09 02:01:51 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top