- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 117 for cfunc (0.27 sec)
-
test/fixedbugs/issue31412a.go
package main type Name string type EFunc func(int) int func Register(f EFunc, names ...Name) int { return f(len(names)) } const ( B Name = "B" ) func RegisterIt() { n := B + "Duck" d := B + "Goose" f := func(x int) int { return x + 9 } Register(f, n, d) } func main() { RegisterIt()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:17:26 UTC 2019 - 531 bytes - Viewed (0) -
internal/s3select/sql/analysis.go
result.combine(arg.analyze(s)) } return result case sqlFnCharLength, sqlFnCharacterLength: if len(e.SFunc.ArgsList) != 1 { return qProp{err: fmt.Errorf("%s needs exactly 2 arguments", string(funcName))} } for _, arg := range e.SFunc.ArgsList { result.combine(arg.analyze(s)) } return result case sqlFnLower, sqlFnUpper: if len(e.SFunc.ArgsList) != 1 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Dec 23 07:19:11 UTC 2023 - 8.5K bytes - Viewed (0) -
src/runtime/symtab.go
} func (f *Func) raw() *_func { return (*_func)(unsafe.Pointer(f)) } func (f *Func) funcInfo() funcInfo { return f.raw().funcInfo() } func (f *_func) funcInfo() funcInfo { // Find the module containing fn. fn is located in the pclntable. // The unsafe.Pointer to uintptr conversions and arithmetic // are safe because we are working with module addresses.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 40K bytes - Viewed (0) -
src/cmd/cover/testdata/pkgcfg/a/a.go
package a type Atyp int func (ap *Atyp) Set(q int) { *ap = Atyp(q) } func (ap Atyp) Get() int { inter := func(q Atyp) int { return int(q) } return inter(ap) } var afunc = func(x int) int { return x + 1 } var Avar = afunc(42) func A(x int) int { if x == 0 { return 22 } else if x == 1 { return 33 } return 44
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 28 11:48:40 UTC 2022 - 330 bytes - Viewed (0) -
src/index/suffixarray/gen.go
for { x := bytes.Index(data, []byte("\nfunc ")) if x < 0 { break } data = data[x:] p := bytes.IndexByte(data, '(') if p < 0 { p = len(data) } name := string(data[len("\nfunc "):p]) x = bytes.Index(data, []byte("\n}\n")) if x < 0 { log.Fatalf("cannot find end of func %s", name) } fn := string(data[:x+len("\n}\n")]) data = data[x+len("\n}"):]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.9K bytes - Viewed (0) -
test/fixedbugs/issue34503.dir/b.go
// Copyright 2019 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package b import "./a" func Bfunc() { a.Hook(101)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 215 bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/verify_input_dialect_to_executor_pass_test.mlir
// ----- // CHECK-LABEL: func @testNoClusterFuncOpPasses func.func @testNoClusterFuncOpPasses(%arg0: tensor<4x?x!tf_type.stringref>) -> tensor<4x2x!tf_type.string> { %0 = "tf.Identity"(%arg0) : (tensor<4x?x!tf_type.stringref>) -> tensor<4x2x!tf_type.string> func.return %0 : tensor<4x2x!tf_type.string> } // ----- func.func @_func(%arg0: tensor<i32>) -> tensor<i32> { func.return %arg0 : tensor<i32> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 30 22:07:53 UTC 2024 - 1.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/reconcilers/peer_endpoint_lease_test.go
server, sc := etcd3testing.NewUnsecuredEtcd3TestClientServer(t) t.Cleanup(func() { server.Terminate(t) }) newFunc := func() runtime.Object { return &corev1.Endpoints{} } newListFunc := func() runtime.Object { return &corev1.EndpointsList{} } sc.Codec = apitesting.TestStorageCodec(codecs, corev1.SchemeGroupVersion)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/func-attr-invalid.mlir
func.func @main() attributes {tf._implements = #tf_type.func<@symbol>} { func.return } // ----- // expected-error@+1 {{expected symbol while parsing tf.func attribute}} func.func @main() attributes {tf._implements = #tf_type.func<{}>} { func.return } // ----- // expected-error@+1 {{expected empty string or symbol while parsing tf.func attribute}}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 06 09:05:45 UTC 2022 - 1.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/g3doc/space_to_depth.md
```mlir // Example: original program: // module { func @while_body { %input = "tf.IteratorGetNext"(...) {device = "/CPU:0"}: -> tensor<2x224x224x3xf32> %device_launch = "tf_device.launch_func"(%input,...) {func = @_func,...) return ... } func @_func(%input: tensor<2x224x224x3xf32>, %filter: tensor<7x7x3x64xf32>) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Oct 24 02:51:43 UTC 2020 - 8.3K bytes - Viewed (0)