- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 3,335 for FUNC (0.04 sec)
-
src/cmd/compile/internal/ir/func.go
func (n *Func) editChildren(edit func(Node) Node) { editNodes(n.Body, edit) } func (n *Func) editChildrenWithHidden(edit func(Node) Node) { editNodes(n.Body, edit) } func (f *Func) Type() *types.Type { return f.Nname.Type() } func (f *Func) Sym() *types.Sym { return f.Nname.Sym() } func (f *Func) Linksym() *obj.LSym { return f.Nname.Linksym() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 21.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/func.go
} func (f *Func) ConstInt32(t *types.Type, c int32) *Value { return f.constVal(OpConst32, t, int64(c), true) } func (f *Func) ConstInt64(t *types.Type, c int64) *Value { return f.constVal(OpConst64, t, c, true) } func (f *Func) ConstFloat32(t *types.Type, c float64) *Value { return f.constVal(OpConst32F, t, int64(math.Float64bits(float64(float32(c)))), true) } func (f *Func) ConstFloat64(t *types.Type, c float64) *Value {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 25.8K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/func.go
// (Call typecheck.Func instead.) func tcFunc(n *ir.Func) { if base.EnableTrace && base.Flag.LowerT { defer tracePrint("tcFunc", n)(nil) } if name := n.Nname; name.Typecheck() == 0 { base.AssertfAt(name.Type() != nil, n.Pos(), "missing type: %v", name) name.SetTypecheck(1) } } // tcCall typechecks an OCALL node. func tcCall(n *ir.CallExpr, top int) ir.Node {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 15:23:18 UTC 2024 - 21.1K bytes - Viewed (0) -
src/cmd/compile/internal/test/logic_test.go
f func(int32) int32 golden func(int32) int32 }{ {"x|x", func(x int32) int32 { return x | x }, id}, {"x|0", func(x int32) int32 { return x | 0 }, id}, {"x|-1", func(x int32) int32 { return x | -1 }, func(x int32) int32 { return -1 }}, {"x&x", func(x int32) int32 { return x & x }, id}, {"x&0", func(x int32) int32 { return x & 0 }, zero}, {"x&-1", func(x int32) int32 { return x & -1 }, id},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 23:34:11 UTC 2023 - 11.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/call_graph_util_test.cc
func.return %0 : tensor<i1> } // CHECK-LABEL: func.func @while_body_func func.func @while_body_func(%arg0: tensor<i32>) -> (tensor<i32>) { %0 = "tf.StatefulPartitionedCall"(%arg0) {config = "", config_proto = "", device = "/device:CPU:0", executor_type = "", f = @outer_stateful_pcall_func} : (tensor<i32>) -> (tensor<i32>) func.return %0 : tensor<i32> } func.func @outer_stateful_pcall_func(%arg0: tensor<i32>) -> (tensor<i32>) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 20 04:39:18 UTC 2023 - 11.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/tftext_utils.cc
auto op = builder.create<CustomOp>( func.getLoc(), func.getFunctionType().getResults(), func.getArguments(), api, CustomOption(&builder, custom_option_buffer)); builder.create<func::ReturnOp>(func.getLoc(), op.getResults()); return success(); } LogicalResult VerifySgnnProjection(func::FuncOp func, FuncAttr attr) { if (func.getFunctionType().getNumInputs() != 2 || func.getFunctionType().getNumResults() != 1) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.4K bytes - Viewed (0) -
test/recover.go
type T1 struct{} func (*T1) M() { mustRecoverBody(doubleRecover(), recover(), recover(), 9) } func test9() { var i I = &T1{} defer i.M() panic(9) } func test9reflect1() { f := reflect.ValueOf(&T1{}).Method(0).Interface().(func()) defer f() panic(9) } func test9reflect2() { f := reflect.TypeOf(&T1{}).Method(0).Func.Interface().(func(*T1)) defer f(&T1{}) panic(9)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 10.6K bytes - Viewed (0) -
pkg/bootstrap/platform/gcp_test.go
func() bool { return true }, func() (string, error) { return "pid", nil }, func() (string, error) { return "npid", nil }, func() (string, error) { return "location", nil }, func() (string, error) { return "cluster", nil }, func() (string, error) { return "instanceName", nil }, func() (string, error) { return "instance", nil }, func() (string, error) { return "", errors.New("error") },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 15 00:37:33 UTC 2023 - 17.7K bytes - Viewed (0) -
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)