- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 5,782 for Const8 (0.29 sec)
-
test/const2.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 01 21:49:31 UTC 2020 - 1008 bytes - Viewed (0) -
test/const1.go
f(Bool) // ERROR "convert|wrong type|cannot|incompatible" } const ptr = nil // ERROR "const.*nil|not constant" const _ = string([]byte(nil)) // ERROR "is not a? ?constant" const _ = uintptr(unsafe.Pointer((*int)(nil))) // ERROR "is not a? ?constant" const _ = unsafe.Pointer((*int)(nil)) // ERROR "cannot be nil|invalid constant type|is not a constant|not constant"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 01 21:49:31 UTC 2020 - 3.8K bytes - Viewed (0) -
src/internal/types/testdata/check/const1.go
// license that can be found in the LICENSE file. // constant conversions package const1 import "math" const( mi = ^int(0) mu = ^uint(0) mp = ^uintptr(0) logSizeofInt = uint(mi>>8&1 + mi>>16&1 + mi>>32&1) logSizeofUint = uint(mu>>8&1 + mu>>16&1 + mu>>32&1) logSizeofUintptr = uint(mp>>8&1 + mp>>16&1 + mp>>32&1) ) const ( minInt8 = -1<<(8<<iota - 1) minInt16 minInt32 minInt64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 16:11:16 UTC 2023 - 8.5K bytes - Viewed (0) -
src/runtime/internal/sys/consts.go
const StackGuardMultiplier = 1 + goos.IsAix + isRace // DefaultPhysPageSize is the default physical page size. const DefaultPhysPageSize = goarch.DefaultPhysPageSize // PCQuantum is the minimal unit for a program counter (1 on x86, 4 on most other systems). // The various PC tables record PC deltas pre-divided by PCQuantum. const PCQuantum = goarch.PCQuantum
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 16:26:25 UTC 2022 - 1.4K bytes - Viewed (0) -
test/const3.go
package main import "fmt" type T int func (t T) String() string { return fmt.Sprintf("T%d", int(t)) } const ( A T = 1 << (1 << iota) B C D E ) func main() { s := fmt.Sprintf("%v %v %v %v %v", A, B, C, D, E) if s != "T2 T4 T16 T256 T65536" { println("type info didn't propagate in const: got", s) panic("fail") } x := uint(5) y := float64(uint64(1)<<x) // used to fail to compile
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 02:19:43 UTC 2012 - 659 bytes - Viewed (0) -
test/const5.go
package p var b struct { a[10]int } var m map[string][20]int var s [][30]int func f() *[40]int var c chan *[50]int var z complex128 const ( n1 = len(b.a) n2 = len(m[""]) n3 = len(s[10]) n4 = len(f()) // ERROR "is not a constant|is not constant" n5 = len(<-c) // ERROR "is not a constant|is not constant"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jul 11 14:36:33 UTC 2015 - 835 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tpu_space_to_depth_pass.mlir
// CHECK: %[[CONST2:.*]] = "tf.Const"() <{value = dense< // CHECK-SAME: [8, 8, 3, 64] // CHECK: %[[RESHAPE1:.*]] = "tf.Reshape"(%[[TRANSPOSE1:.*]], %[[CONST2:.*]]) : (tensor<4x2x4x2x3x64xf32>, tensor<4xi64>) -> tensor<8x8x3x64xf32> // CHECK: %[[CONST3:.*]] = "tf.Const"() <{value = dense< // CHECK-SAME: [7, 7, 3, 64]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 37.4K bytes - Viewed (0) -
test/const7.go
return } dir, err := ioutil.TempDir("", "const7_") if err != nil { log.Fatalf("creating temp dir: %v\n", err) } defer os.RemoveAll(dir) const bitLimit = 512 const charLimit = 10000 // compiler-internal constant length limit testProg(dir, "x1", bitLimit, "") testProg(dir, "x2", bitLimit+1, "constant overflow")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 20:56:32 UTC 2023 - 1.9K bytes - Viewed (0) -
test/const.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 26 23:54:29 UTC 2019 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/mlir2graph/convert_tensor.mlir
// CHECK: name: "const2" // CHECK-NEXT: op: "Const" // CHECK: dtype: DT_HALF // CHECK: half_val: 15360 // CHECK-NEXT: half_val: 16384 %2:2 = tf_executor.island wraps "tf.Const"() {device = "", dtype = bf16, value = dense<[4.900000e+01, 8.200000e+02]> : tensor<2xbf16>} : () -> tensor<bf16> loc("const3") // CHECK: name: "const3" // CHECK-NEXT: op: "Const" // CHECK: dtype: DT_BFLOAT16 // CHECK: half_val: 16964
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 20 23:11:32 UTC 2023 - 1.4K bytes - Viewed (0)