Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for arg (0.14 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/firAnnotationUtils.kt

    )
    
    private fun <T> FirAnnotation.findFromRawArguments(expectedEnumClass: ClassId, transformer: (String) -> T?): Set<T> = buildSet {
        fun addIfMatching(arg: FirExpression) {
            if (arg !is FirQualifiedAccessExpression) return
            val callableSymbol = arg.calleeReference.toResolvedCallableSymbol() ?: return
            if (callableSymbol.containingClassLookupTag()?.classId != expectedEnumClass) return
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  2. cmd/endpoint.go

    	var endpointType EndpointType
    	var scheme string
    
    	uniqueArgs := set.NewStringSet()
    	// Loop through args and adds to endpoint list.
    	for i, arg := range args {
    		endpoint, err := NewEndpoint(arg)
    		if err != nil {
    			return nil, fmt.Errorf("'%s': %s", arg, err.Error())
    		}
    
    		// All endpoints have to be same type and scheme if applicable.
    		//nolint:gocritic
    		if i == 0 {
    			endpointType = endpoint.Type()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  3. fastapi/security/api_key.py

                    parameter or in an HTTP Bearer token).
                    """
                ),
            ] = True,
        ):
            self.model: APIKey = APIKey(
                **{"in": APIKeyIn.query},  # type: ignore[arg-type]
                name=name,
                description=description,
            )
            self.scheme_name = scheme_name or self.__class__.__name__
            self.auto_error = auto_error
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 23 22:29:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

                                val resultMap = mutableMapOf<Name, FirExpression>()
                                resolvedArgumentMapping?.entries?.forEach { (arg, param) ->
                                    resultMap[param.name] = arg
                                }
    
                                KtAnnotationApplicationValue(
                                    KtAnnotationApplicationWithArgumentsInfo(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    		if !(strings.Contains(poolsArgs, "{") && strings.Contains(poolsArgs, "}")) {
    			// No ellipses pattern. Anonymize host name from every pool arg
    			pools := strings.Fields(poolsArgs)
    			anonPools = make([]string, len(pools))
    			for index, arg := range pools {
    				anonPools[index] = anonAddr(arg)
    			}
    			return cmdLineWithoutPools + strings.Join(anonPools, " ")
    		}
    
    		// Ellipses pattern in pool args. Regex groups:
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
Back to top