Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for arguments (0.28 sec)

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

    internal fun mapAnnotationParameters(annotation: FirAnnotation): Map<Name, FirExpression> {
        if (annotation is FirAnnotationCall && annotation.arguments.isEmpty()) return emptyMap()
    
        checkWithAttachment(annotation.resolved, { "By now the annotations argument mapping should have been resolved" }) {
            withFirEntry("annotation", annotation)
            withClassEntry("annotationTypeRef", annotation.annotationTypeRef)
    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. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt

            with(printer) {
                val classifier = typeSegment.classifierDescriptor
    
                append(classifier.maybeLocalClassId.asString())
    
                val arguments = typeSegment.arguments
                printCollectionIfNotEmpty(arguments, separator = ", ", prefix = "<", postfix = ">") {
                    renderTypeProjection(it, printer)
                }
            }
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  3. src/builtin/builtin.go

    // arguments of [cmp.Ordered] types. There must be at least one argument.
    // If T is a floating-point type and any of the arguments are NaNs,
    // max will return NaN.
    func max[T cmp.Ordered](x T, y ...T) T
    
    // The min built-in function returns the smallest value of a fixed number of
    // arguments of [cmp.Ordered] types. There must be at least one argument.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. cmd/object-api-input-checks.go

    	"encoding/base64"
    	"runtime"
    	"strings"
    
    	"github.com/minio/minio-go/v7/pkg/s3utils"
    )
    
    // Checks on CopyObject arguments, bucket and object.
    func checkCopyObjArgs(ctx context.Context, bucket, object string) error {
    	return checkBucketAndObjectNames(ctx, bucket, object)
    }
    
    // Checks on GetObject arguments, bucket and object.
    func checkGetObjArgs(ctx context.Context, bucket, object string) error {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  5. cmd/sftp-server.go

    		tokens := strings.SplitN(arg, "=", 2)
    		if len(tokens) != 2 {
    			logger.Fatal(fmt.Errorf("invalid arguments passed to --sftp=%s", arg), "unable to start SFTP server")
    		}
    		switch tokens[0] {
    		case "address":
    			host, portStr, err := net.SplitHostPort(tokens[1])
    			if err != nil {
    				logger.Fatal(fmt.Errorf("invalid arguments passed to --sftp=%s (%v)", arg, err), "unable to start SFTP server")
    			}
    			port, err = strconv.Atoi(portStr)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

                }
    
                is FirVarargArgumentsExpression -> {
                    // Vararg arguments may have multiple independent expressions associated.
                    // Choose one to be the representative PSI value for the entire assembled argument.
                    val (annotationValues, representativePsi) = arguments.convertVarargsExpression(builder)
    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)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/FirUtils.kt

        return KtAnnotationApplicationWithArgumentsInfo(
            classId = toAnnotationClassId(builder.rootSession),
            psi = psi as? KtCallElement,
            useSiteTarget = useSiteTarget,
            arguments = arguments,
            index = index,
            constructorSymbolPointer = with(builder.analysisSession) { constructorSymbol?.createPointer() },
            token = builder.token,
        )
    }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/types/KtFe10FunctionalType.kt

                    else -> fe10Type.getValueParameterTypesFromFunctionType()
                }.map { it.type.toKtType(analysisContext) }
            }
    
        override val returnType: KtType
            get() = withValidityAssertion {
                when {
                    descriptor.functionTypeKind.isReflectType -> fe10Type.arguments.last().type
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

            val result = LinkedHashMap<KtExpression, KtVariableLikeSignature<KtValueParameterSymbol>>()
            for ((parameter, arguments) in valueArguments) {
                val parameterSymbol = KtFe10DescValueParameterSymbol(parameter, analysisContext)
    
                for (argument in arguments.arguments) {
                    val expression = argument.getArgumentExpression() ?: continue
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Apr 29 12:48:54 GMT 2024
    - 34.8K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

         * Maps [typeArguments] to the type parameters of [partiallyAppliedSymbol].
         *
         * If too many type arguments are provided, a mapping is still created. Extra type arguments are simply ignored. If this wasn't the
         * case, the resulting [KtCall] would contain no type arguments at all, which can cause problems later. If too few type arguments are
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
Back to top