Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for argument (0.25 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt

                    print("<ERROR TYPE REF>")
                }
    
                printCollection(namedValues, separator = ", ", prefix = "(", postfix = ")") { argument ->
                    append(argument.name.render())
                    append(" = ")
                    renderConstantValueDebug(argument.expression, printer)
                }
            }
        }
    
        private fun renderConstantValueDebug(value: KtAnnotationValue, printer: PrettyPrinter) {
    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)
  2. 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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

                token,
            )
        }
        add(FirErrors.ANNOTATION_ARGUMENT_KCLASS_LITERAL_OF_TYPE_PARAMETER_ERROR) { firDiagnostic ->
            AnnotationArgumentKclassLiteralOfTypeParameterErrorImpl(
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.ANNOTATION_ARGUMENT_MUST_BE_CONST) { firDiagnostic ->
            AnnotationArgumentMustBeConstImpl(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 208.3K bytes
    - Viewed (0)
  4. 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)
  5. cmd/api-errors.go

    	},
    	ErrInvalidMaxUploads: {
    		Code:           "InvalidArgument",
    		Description:    "Argument max-uploads must be an integer between 0 and 2147483647",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidMaxKeys: {
    		Code:           "InvalidArgument",
    		Description:    "Argument maxKeys must be an integer between 0 and 2147483647",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 90.6K bytes
    - Viewed (6)
  6. cmd/common-main.go

    }
    
    func buildServerCtxt(ctx *cli.Context, ctxt *serverCtxt) (err error) {
    	// Get "json" flag from command line argument and
    	ctxt.JSON = ctx.IsSet("json") || ctx.GlobalIsSet("json")
    	// Get quiet flag from command line argument.
    	ctxt.Quiet = ctx.IsSet("quiet") || ctx.GlobalIsSet("quiet")
    	// Get anonymous flag from command line argument.
    	ctxt.Anonymous = ctx.IsSet("anonymous") || ctx.GlobalIsSet("anonymous")
    	// Fetch address option
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 35.5K bytes
    - Viewed (2)
  7. android/guava/src/com/google/common/base/Equivalence.java

       */
      @ForOverride
      protected abstract int doHash(T t);
    
      /**
       * Returns a new equivalence relation for {@code F} which evaluates equivalence by first applying
       * {@code function} to the argument, then evaluating using {@code this}. That is, for any pair of
       * non-null objects {@code x} and {@code y}, {@code equivalence.onResultOf(function).equivalent(a,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Ordering.java

       * Returns an ordering that compares objects according to the order in which they are given to
       * this method. Only objects present in the argument list (according to {@link Object#equals}) may
       * be compared. This comparator imposes a "partial ordering" over the type {@code T}. Null values
       * in the argument list are not supported.
       *
       * <p>The returned comparator throws a {@link ClassCastException} when it receives an input
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  9. 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)
  10. common/config/.golangci.yml

        rules:
          - name: blank-imports
          - name: context-keys-type
          - name: time-naming
          - name: var-declaration
          - name: unexported-return
          - name: errorf
          - name: context-as-argument
          - name: dot-imports
          - name: error-return
          - name: error-strings
          - name: error-naming
          - name: increment-decrement
          - name: var-naming
          - name: package-comments
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 19:22:39 GMT 2024
    - 11K bytes
    - Viewed (0)
Back to top