- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of about 10,000 for FUNC (0.09 sec)
-
test/escape2.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/tensorflow/tests/inlining.mlir
func.func private @simple_callee() -> tensor<2xi32> { %cst = "tf.Const"() { value = dense<2> : tensor<2xi32> } : () -> tensor<2xi32> func.return %cst : tensor<2xi32> } func.func private @simple_callee_with_noinline() -> tensor<2xi32> attributes {tf._noinline = true} { %cst = "tf.Const"() { value = dense<2> : tensor<2xi32> } : () -> tensor<2xi32> func.return %cst : tensor<2xi32> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 7.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/openapi/adaptor.go
} func (s *Schema) Maximum() *float64 { return s.Schema.Maximum } func (s *Schema) IsExclusiveMaximum() bool { return s.Schema.ExclusiveMaximum } func (s *Schema) MultipleOf() *float64 { return s.Schema.MultipleOf } func (s *Schema) UniqueItems() bool { return s.Schema.UniqueItems } func (s *Schema) MinItems() *int64 { return s.Schema.MinItems }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 10 21:26:55 UTC 2023 - 4.9K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_386.go
//go:noinline func Load8(ptr *uint8) uint8 { return *ptr } //go:noescape func And8(ptr *uint8, val uint8) //go:noescape func Or8(ptr *uint8, val uint8) //go:noescape func And(ptr *uint32, val uint32) //go:noescape func Or(ptr *uint32, val uint32) //go:noescape func And32(ptr *uint32, val uint32) uint32 //go:noescape func Or32(ptr *uint32, val uint32) uint32 //go:noescape
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 2.2K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_amd64.go
func Xchg64(ptr *uint64, new uint64) uint64 //go:noescape func Xchguintptr(ptr *uintptr, new uintptr) uintptr //go:nosplit //go:noinline func Load8(ptr *uint8) uint8 { return *ptr } //go:noescape func And8(ptr *uint8, val uint8) //go:noescape func Or8(ptr *uint8, val uint8) //go:noescape func And(ptr *uint32, val uint32) //go:noescape func Or(ptr *uint32, val uint32) //go:noescape
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 2.5K bytes - Viewed (0) -
test/escape_closure.go
package escape var sink interface{} func ClosureCallArgs0() { x := 0 func(p *int) { // ERROR "p does not escape" "func literal does not escape" *p = 1 }(&x) } func ClosureCallArgs1() { x := 0 for { func(p *int) { // ERROR "p does not escape" "func literal does not escape" *p = 1 }(&x) } } func ClosureCallArgs2() { for { x := 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 17 16:36:09 UTC 2023 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir
func.return %0 : tensor<8x16xf32> // CHECK-LABEL: square // CHECK: "tfl.square"(%arg0) : (tensor<8x16xf32>) -> tensor<8x16xf32> } func.func @neg(%arg0: tensor<8x16xf32>) -> tensor<8x16xf32> { %0 = "tf.Neg"(%arg0) : (tensor<8x16xf32>) -> tensor<8x16xf32> func.return %0 : tensor<8x16xf32> // CHECK-LABEL: neg // CHECK: "tfl.neg"(%arg0) : (tensor<8x16xf32>) -> tensor<8x16xf32> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 05 01:54:33 UTC 2024 - 153.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/constant-fold.mlir
func.return %1 : tensor<5xi64> } // CHECK-LABEL: func @testEmptyFloat func.func @testEmptyFloat() -> (tensor<5xf64>) { %0 = "tf.Const"() { value = dense<5> : tensor<i32> } : () -> tensor<i32> // CHECK: [[VAL:%.+]] = "tf.Const"() <{value = dense<0.000000e+00> : tensor<5xf64>}> // CHECK: return [[VAL]] %1 = "tf.Empty"(%0) : (tensor<i32>) -> (tensor<5xf64>) func.return %1 : tensor<5xf64> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 31 23:22:24 UTC 2024 - 36.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/freeze_variables.mlir
func.func private @f_callee_callee(%arg0: tensor<*x!tf_type.resource>) -> tensor<0xf32> { %0 = "tf.PartitionedCall"(%arg0) {config = "", config_proto = "", executor_type = "", f = @f_callee_callee} : (tensor<*x!tf_type.resource>) -> (tensor<0xf32>) func.return %0 : tensor<0xf32> } } // ----- // Test If Region immutable case. module {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 23.6K bytes - Viewed (0) -
src/internal/types/testdata/spec/conversions.go
func _[X Unsigned, T Unsigned](x X) T { return T(x) } func _[X Float, T Unsigned](x X) T { return T(x) } func _[X Integer, T Float](x X) T { return T(x) } func _[X Unsigned, T Float](x X) T { return T(x) } func _[X Float, T Float](x X) T { return T(x) } func _[X, T Integer | Unsigned | Float](x X) T { return T(x) } func _[X, T Integer | ~string](x X) T {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 7.4K bytes - Viewed (0)