- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 3,782 for vfunc (0.1 sec)
-
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) -
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) -
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) -
src/cmd/link/internal/ld/pcln.go
// filename[0] // filename[1] // // Looking up a filename then becomes: // 0. Given a func, and filename index [K] // 1. Get Func.CUIndex: M := func.cuOffset // 2. Find filename offset: fileOffset := runtime.cutab[M+K] // 3. Get the filename: getcstring(runtime.filetab[fileOffset]) func (state *pclntab) generateFilenameTabs(ctxt *Link, compUnits []*sym.CompilationUnit, funcs []loader.Sym) []uint32 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 29.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-func-attr.pbtxt
# CHECK-LABEL: func @main() { # Verify that the NameAttrList is properly turned into reference to functions on import # CHECK: tf.Case # CHECK-SAME: branches = [@[[FOO:[a-z0-9]+]], @[[BAR:[a-z0-9]+]]] # CHECK-DAG: func private @[[FOO]]() # CHECK-DAG: func private @[[BAR]]() node { name: "predicate" op: "Const" attr { key: "dtype"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Nov 11 19:14:04 UTC 2020 - 2.5K bytes - Viewed (0)