- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 3,782 for _func (0.06 sec)
-
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) -
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) -
src/cmd/cgo/internal/testcshared/testdata/go2c2go/m1/main.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main // extern int CFunc(void); import "C" import ( "fmt" "os" ) func main() { got := C.CFunc() const want = (1 << 8) | 2 if got != want { fmt.Printf("got %#x, want %#x\n", got, want) os.Exit(1) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 380 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) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/function-func-attr.pbtxt
# CHECK-DAG: func private @custom_embedding_matmul{{[0-9]*}}(){{.+}}tf._implements = #tf_type.func<@tensorflow.embedding_matmul, {key1 = 2 : i64, key2 = false}>, tf._original_func_name = "custom_embedding_matmul"}...
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 01 20:09:54 UTC 2023 - 1.3K 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) -
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) -
src/cmd/cgo/internal/testplugin/testdata/plugin2/plugin2.go
// license that can be found in the LICENSE file. package main //#include <errno.h> //#include <string.h> import "C" // #include // void cfunc() {} // uses cgo_topofstack import ( "reflect" "strings" "testplugin/common" ) func init() { _ = strings.NewReplacer() // trigger stack unwind, Issue #18190. C.strerror(C.EIO) // uses cgo_topofstack common.X = 2 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 796 bytes - Viewed (0)