- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of about 10,000 for FUNC (0.15 sec)
-
test/escape2n.go
return x } } func foo23a(x int) func() int { f := func() int { // ERROR "func literal escapes to heap$" return x } return f } func foo23b(x int) *(func() int) { f := func() int { return x } // ERROR "func literal escapes to heap$" "moved to heap: f$" return &f } func foo23c(x int) func() int { // ERROR "moved to heap: x$"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 35.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-binary-elementwise.mlir
func.return %0 : tensor<4xi32> } // CHECK-LABEL: func @div_unranked func.func @div_unranked(%arg0: tensor<*xi32>, %arg1: tensor<?x?xi32>) -> tensor<?x?xi32> { // CHECK-NEXT: tf.Div %0 = "tf.Div"(%arg0, %arg1) : (tensor<*xi32>, tensor<?x?xi32>) -> tensor<?x?xi32> func.return %0: tensor<?x?xi32> } // CHECK-LABEL: func @maximum
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 06 15:32:52 UTC 2024 - 18.4K bytes - Viewed (0) -
src/runtime/signal_freebsd_riscv64.go
func (c *sigctxt) t1() uint64 { return c.regs().mc_gpregs.gp_t[1] } func (c *sigctxt) t2() uint64 { return c.regs().mc_gpregs.gp_t[2] } func (c *sigctxt) s0() uint64 { return c.regs().mc_gpregs.gp_s[0] } func (c *sigctxt) s1() uint64 { return c.regs().mc_gpregs.gp_s[1] } func (c *sigctxt) a0() uint64 { return c.regs().mc_gpregs.gp_a[0] } func (c *sigctxt) a1() uint64 { return c.regs().mc_gpregs.gp_a[1] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 28 03:17:13 UTC 2022 - 3.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/xla_rewrite.mlir
// CHECK-LABEL: func.func @convert_cluster_func func.func @convert_cluster_func(%arg0: tensor<i32>) -> tensor<i32> { // CHECK: "tf.XlaLaunch"(%arg0) <{function = @func, operandSegmentSizes = array<i32: 0, 1, 0>}> : (tensor<i32>) -> tensor<i32> %0 = "tf_device.cluster_func"(%arg0) {func = @func} : (tensor<i32>) -> tensor<i32> func.return %0 : tensor<i32> } func.func @func(%arg0: tensor<i32>) -> tensor<i32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 2.8K bytes - Viewed (0) -
src/runtime/testdata/testprog/deadlock.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 27 20:44:24 UTC 2021 - 6.5K bytes - Viewed (0) -
test/makeslice.go
shouldPanic("len out of range", func() { _ = make(T, int64(n)) }) shouldPanic("cap out of range", func() { _ = make(T, 0, int64(n)) }) shouldPanic("len out of range", func() { _ = make(T, uint64(n)) }) shouldPanic("cap out of range", func() { _ = make(T, 0, uint64(n)) }) } func testMakeBytes(n uint64) { type T []byte shouldPanic("len out of range", func() { _ = make(T, int(n)) }) shouldPanic("cap out of range", func() { _ = make(T, 0, int(n)) })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 07 17:50:24 UTC 2020 - 5.5K bytes - Viewed (0) -
src/sync/oncefunc_test.go
} }() f() } func onceFuncPanic() { panic("x") } func TestOnceXGC(t *testing.T) { fns := map[string]func([]byte) func(){ "OnceFunc": func(buf []byte) func() { return sync.OnceFunc(func() { buf[0] = 1 }) }, "OnceValue": func(buf []byte) func() { f := sync.OnceValue(func() any { buf[0] = 1; return nil }) return func() { f() } },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 17:31:33 UTC 2023 - 6.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_device_ops.mlir
func.return } // ----- // CHECK-LABEL: func @empty_replicate func.func @empty_replicate() { tf_device.replicate {n = 2 : i32} { } func.return // CHECK: tf_device.replicate // CHECK-SAME: n = 2 // CHECK-NEXT: tf_device.return } // ----- // CHECK-LABEL: func @no_operand_replicate func.func @no_operand_replicate() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 23 23:53:20 UTC 2024 - 7.7K bytes - Viewed (0) -
test/fixedbugs/issue50672.go
package main var ok = false func f() func(int, int) int { ok = true return func(int, int) int { return 0 } } func g() (int, int) { if !ok { panic("FAIL") } return 0, 0 } var _ = f()(g()) func main() { f1() f2() f3() f4() } func f1() { ok := false f := func() func(int, int) { ok = true return func(int, int) {} } g := func() (int, int) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 11 08:12:15 UTC 2022 - 1.2K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue59956.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 04 17:35:44 UTC 2023 - 873 bytes - Viewed (0)