Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 145 for declareNS (0.56 sec)

  1. docs/en/docs/advanced/security/oauth2-scopes.md

    It will always have the security scopes declared in the current `Security` dependencies and all the dependants for **that specific** *path operation* and **that specific** dependency tree.
    
    Because the `SecurityScopes` will have all the scopes declared by dependants, you can use it to verify that a token has the required scopes in a central dependency function, and then declare different scope requirements in different *path operations*.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/KtVariableLikeSymbol.kt

     *
     * The type of the enum entry is the enum class itself. The members declared in an enum entry's body are local to the body and cannot be
     * accessed from the outside. Hence, while it might look like enum entries can declare their own members (see the example below), they do
     * not have a (declared) member scope.
     *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. src/go/types/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.Name == "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: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/signature.go

    	sig.scope = check.scope
    	defer check.closeScope()
    
    	if recvPar != nil {
    		// collect generic receiver type parameters, if any
    		// - a receiver type parameter is like any other type parameter, except that it is declared implicitly
    		// - the receiver specification acts as local declaration for its type parameters, which may be blank
    		_, rname, rparams := check.unpackRecv(recvPar.Type, true)
    		if len(rparams) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:33:05 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/internal/component/ResolutionFailureHandlerIntegrationTest.groovy

           - Configuration ':myElements' declares attribute 'color' with value 'blue':
               - Incompatible because this component declares attribute 'artifactType' with value 'jar' and the consumer needed attribute 'artifactType' with value 'dll'
           - Configuration ':myElements' variant secondary declares attribute 'color' with value 'blue':
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 45K bytes
    - Viewed (0)
  6. src/go/types/stmt.go

    				// _ := x.(type) is an invalid short variable declaration
    				check.softErrorf(lhs, NoNewVar, "no new variable on left side of :=")
    				lhs = nil // avoid declared and not used error below
    			} else {
    				check.recordDef(lhs, nil) // lhs variable is implicitly declared in each cause clause
    			}
    
    			rhs = guard.Rhs[0]
    
    		default:
    			check.error(s, InvalidSyntaxTree, "incorrect form of type switch guard")
    			return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtScopeProvider.kt

         * declared in the given [KaSymbolWithMembers].
         *
         * The declared member scope does not contain classifiers (including the companion object) except for inner classes. To retrieve the
         * classifiers declared in this [KaSymbolWithMembers], please use the *static* declared member scope provided by
         * [getStaticDeclaredMemberScope].
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/query-params-str-validations.md

        It is used by Pydantic and FastAPI to explicitly declare that a value is required.
    
    This will let **FastAPI** know that this parameter is required.
    
    ### Required with `None`
    
    You can declare that a parameter can accept `None`, but that it's still required. This would force clients to send a value, even if the value is `None`.
    
    To do that, you can declare that `None` is a valid type but still use `...` as the default:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/stmt.go

    			// _ := x.(type) is an invalid short variable declaration
    			check.softErrorf(lhs, NoNewVar, "no new variable on left side of :=")
    			lhs = nil // avoid declared and not used error below
    		} else {
    			check.recordDef(lhs, nil) // lhs variable is implicitly declared in each cause clause
    		}
    	}
    
    	// check rhs
    	var x operand
    	check.expr(nil, &x, guard.X)
    	if x.mode == invalid {
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/viewing_debugging_dependencies.adoc

    You can declare dependencies for external tooling with the help of a <<declaring_dependencies.adoc#sec:what-are-dependency-configurations,custom dependency configuration>>.
    This avoids polluting other contexts, such as the compilation classpath for your production source code.
    
    The following example declares a custom dependency configuration named "scm" that contains the JGit dependency:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top