Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 925 for mexpr (0.06 sec)

  1. src/internal/types/testdata/check/vardecl.go

    var _, _ int = 1, 2
    var _ int = 1, 2 /* ERROR "extra init expr 2" */
    var _, _ int = 1 /* ERRORx `assignment mismatch: [1-9]+ variables but.*[1-9]+ value(s)?` */
    var _, _, _ /* ERROR "missing init expr for _" */ int = 1, 2
    
    var (
    	_, _ = 1, 2
    	_ = 1, 2 /* ERROR "extra init expr 2" */
    	_, _ = 1 /* ERRORx `assignment mismatch: [1-9]+ variables but.*[1-9]+ value(s)?` */
    	_, _, _ /* ERROR "missing init expr for _" */ = 1, 2
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile_test.go

    		}
    		t.Run(tc.name, func(t *testing.T) {
    			for _, expr := range tc.expressions {
    				t.Run(expr, func(t *testing.T) {
    					t.Run("expression", func(t *testing.T) {
    						options := OptionalVariableDeclarations{HasParams: tc.hasParams, HasAuthorizer: tc.hasAuthorizer}
    
    						result := compiler.CompileCELExpression(&fakeValidationCondition{
    							Expression: expr,
    						}, options, envType)
    						if result.Error != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/switch.go

    	// ordered comparison with the load used for the later equality check.
    	//   if expr[3] <= 'd' { ... if expr[0] == 'f' && expr[1] == 'o' && expr[2] == 'o' && expr[3] == 'd' { ... } }
    	// If we did both expr[3] loads in the unsigned domain, they would be CSEd, and that
    	// would in turn defeat the combining of expr[0]...expr[3] into a single 4-byte load.
    	// See issue 48222.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  4. analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_DivByZero.kt

    val p = <expr>42 / 0</expr>...
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Mar 11 12:51:16 UTC 2022
    - 28 bytes
    - Viewed (0)
  5. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/collectionLiteralInvalidUnused.kt

    fun test() {
        <expr>[1, 2, 3]</expr>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 41 bytes
    - Viewed (0)
  6. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/classInitializer.kt

    class Test {
        <expr>init {
            "value"
        }</expr>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 60 bytes
    - Viewed (0)
  7. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/callableReferenceRHSUnused.kt

    fun test() {
        s::<expr>length</expr>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 41 bytes
    - Viewed (0)
  8. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/expressionBodyLambdaReturningInt.kt

    fun test(): Int = <expr>{
        65
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 41 bytes
    - Viewed (0)
  9. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/implicitNullBlock.kt

    fun test(): Unit = {
        <expr>Unit</expr>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 44 bytes
    - Viewed (0)
  10. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/classLiteralExpressionUnused.kt

    fun test() {
        <expr>String::class</expr>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 45 bytes
    - Viewed (0)
Back to top