Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,122 for check$1 (0.18 sec)

  1. test/fixedbugs/issue37837.dir/b.go

    import "./a"
    
    func main() {
    	// Test that inlined type switches without short variable
    	// declarations work correctly.
    	check(0, a.F(nil)) // ERROR "inlining call to a.F"
    	check(1, a.F(0))   // ERROR "inlining call to a.F" "does not escape"
    	check(2, a.F(0.0)) // ERROR "inlining call to a.F" "does not escape"
    	check(3, a.F(""))  // ERROR "inlining call to a.F" "does not escape"
    
    	// Test that inlined type switches with short variable
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 06 20:49:11 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  2. test/fixedbugs/issue5373.go

    	for i := range b[f()] {
    		b[f()][i] = 0
    	}
    	if want := n + 1; x != n+1 {
    		fmt.Printf("range expr function calls = %d want %d\n", x, want)
    		os.Exit(1)
    	}
    }
    
    func main() {
    	check(0)
    	check(1)
    	check(15)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.4K bytes
    - Viewed (0)
  3. test/typeswitch1.go

    	}
    	panic("not reached")
    }
    
    func check(x interface{}, s string) {
    	w := whatis(x)
    	if w != s {
    		fmt.Println("whatis", x, "=>", w, "!=", s)
    		panic("fail")
    	}
    
    	w = whatis1(x)
    	if w != s {
    		fmt.Println("whatis1", x, "=>", w, "!=", s)
    		panic("fail")
    	}
    }
    
    func main() {
    	check(1, "signed 1")
    	check(uint(1), "unsigned 1")
    	check(int64(1), "signed64 1")
    	check(uint64(1), "unsigned64 1")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:48:19 UTC 2012
    - 1.6K bytes
    - Viewed (0)
  4. test/fixedbugs/issue13162.go

    		os.Exit(1)
    	}
    	if want := rune(-1); r != want {
    		fmt.Printf("rune after range without side-effect = %q want %q\n", r, want)
    		os.Exit(1)
    	}
    }
    
    func main() {
    	check(0)
    	check(1)
    	check(15)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 30 18:17:20 UTC 2016
    - 1.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/tests/composite-lowering.mlir

    // CHECK-LABEL: avg_pool2d_3
    // CHECK: %cst = arith.constant dense<[0, 2, 3, 1]> : tensor<4xi32>
    // CHECK: %0 = "tfl.transpose"(%arg0, %cst) : (tensor<1x1x1x8xf32>, tensor<4xi32>) -> tensor<1x1x8x1xf32>
    // CHECK{LITERAL}: %cst_0 = arith.constant dense<[[0, 0], [0, 0], [1, 1], [0, 0]]> : tensor<4x2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  6. src/internal/bytealg/equal_s390x.s

    	CMPBLT	R6, $4, lt4
    	MOVWZ	0(R3)(R2*1), R8
    	MOVWZ	0(R5)(R2*1), R9
    	CMPBNE	R8, R9, notequal
    	LA	4(R2), R2
    	SUB	$4, R6
    lt4:
    #define CHECK(n) \
    	CMPBEQ	R6, $n, equal \
    	MOVB	n(R3)(R2*1), R8 \
    	MOVB	n(R5)(R2*1), R9 \
    	CMPBNE	R8, R9, notequal
    	CHECK(0)
    	CHECK(1)
    	CHECK(2)
    	CHECK(3)
    	BR	equal
    
    TEXT memeqbodyclc<>(SB),NOSPLIT|NOFRAME,$0-0
    	CLC	$1, 0(R3), 0(R5)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 24 00:56:36 UTC 2019
    - 1.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/prepare-tf-fake-quant.mlir

      func.return %1 : tensor<2x1xf32>
    
    // CHECK:  %cst = arith.constant
    // CHECK:  %0 = "tf.Reshape"(%arg0, %cst)
    // CHECK-SAME: tensor<2x1xf32>
    // CHECK:  %1 = "tf.FakeQuantWithMinMaxVars"(%0, %arg1, %arg2)
    // CHECK:  return %1
    }
    
    // CHECK-LABEL: fakeQuantFollowedByReshapes
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/tensorflow/tests/tf_to_quant.mlir

      func.return %0 : tensor<8xf32>
    
    // CHECK:  %0 = "tf.FakeQuantWithMinMaxVars"(%arg0, %cst, %cst_0)
    // CHECK:  %1 = "quantfork.qcast"(%0) : (tensor<8xf32>) -> tensor<8x!quant.uniform<i8:f32, 1.000000e+00:-128>>
    // CHECK:  %2 = "quantfork.dcast"(%1)
    // CHECK:  return %2
    }
    
    // CHECK-LABEL: fakeQuantForActivationNoDuplication
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/quantization/tensorflow/tests/tf_to_quant_4bit.mlir

      func.return %0 : tensor<8xf32>
    
    // CHECK:  %0 = "tf.FakeQuantWithMinMaxVars"(%arg0, %cst, %cst_0)
    // CHECK:  %1 = "quantfork.qcast"(%0) : (tensor<8xf32>) -> tensor<8x!quant.uniform<i4:f32, 1.000000e+00:-8>>
    // CHECK:  %2 = "quantfork.dcast"(%1)
    // CHECK:  return %2
    }
    
    // CHECK-LABEL: fakeQuantForActivationNoDuplication
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/prepare-tf-fake-quant-4bit.mlir

      func.return %1 : tensor<2x1xf32>
    
    // CHECK:  %cst = arith.constant
    // CHECK:  %0 = "tf.Reshape"(%arg0, %cst)
    // CHECK-SAME: tensor<2x1xf32>
    // CHECK:  %1 = "tf.FakeQuantWithMinMaxVars"(%0, %arg1, %arg2)
    // CHECK:  return %1
    }
    
    // CHECK-LABEL: fakeQuantFollowedByReshapes
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 22K bytes
    - Viewed (0)
Back to top