Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for div (0.16 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

    import org.jetbrains.kotlin.resolve.constants.evaluate.evalUnaryOp
    import org.jetbrains.kotlin.types.ConstantValueKind
    
    /**
     * An evaluator that transform numeric operation, such as div, into compile-time constant iff involved operands, such as explicit receiver
     * and the argument, are compile-time constant as well.
     */
    internal object FirCompileTimeConstantEvaluator {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Mar 20 14:53:27 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

            private val operatorWithAssignmentVariant = setOf(
                OperatorNameConventions.PLUS,
                OperatorNameConventions.MINUS,
                OperatorNameConventions.TIMES,
                OperatorNameConventions.DIV,
                OperatorNameConventions.REM,
                OperatorNameConventions.MOD,
            )
    
            private val callArgErrors = setOf(
                Errors.ARGUMENT_PASSED_TWICE,
    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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

        ): CompoundArrayAccessPartiallyAppliedSymbols? {
            // The last argument of `set` is the new value to be set. This value should be a call to the respective `plus`, `minus`,
            // `times`, `div`, or `rem` function.
            val operationCall = fir.arguments.lastOrNull() as? FirFunctionCall ?: return null
    
    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