- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 141 for toName (0.19 sec)
-
operator/cmd/mesh/test-util_test.go
} // NegatedFailureMessage implements the Matcher interface. func (m *HavePathValueEqualMatcher) NegatedFailureMessage(actual any) string { pv := m.expected.(PathValue) node := actual.(map[string]any) return fmt.Sprintf("Expected the following parseObjectSetFromManifest not to have path=value %s=%v\n\n%v", pv.path, pv.value, util.ToYAML(node)) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 15.3K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
// Accept only [RegA-RegB] syntax. // Don't use p.get() to provide better error messages. loName := p.next().String() lo, ok := p.arch.Register[loName] if !ok { if loName == "EOF" { p.errorf("register list: expected ']', found EOF") } else { p.errorf("register list: bad low register in `[%s`", loName) } return } if tok := p.next().ScanToken; tok != '-' {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 14:34:57 UTC 2024 - 36.9K bytes - Viewed (0) -
src/cmd/cgo/ast.go
error_(sel.Pos(), "cannot embed C type") } goname := sel.Sel.Name if goname == "errno" { error_(sel.Pos(), "cannot refer to errno directly; see documentation") return } if goname == "_CMalloc" { error_(sel.Pos(), "cannot refer to C._CMalloc; use C.malloc") return } if goname == "malloc" { goname = "_CMalloc" } name := f.Name[goname] if name == nil { name = &Name{ Go: goname,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 07 16:54:27 UTC 2023 - 14.3K bytes - Viewed (0) -
src/internal/reflectlite/type.go
i := 0 for j := 0; j < len(v.Methods); j++ { tm := &t.Methods[i] tmName := rT.nameOff(tm.Name) vm := &v.Methods[j] vmName := rV.nameOff(vm.Name) if vmName.Name() == tmName.Name() && rV.typeOff(vm.Typ) == rT.typeOff(tm.Typ) { if !tmName.IsExported() { tmPkgPath := pkgPath(tmName) if tmPkgPath == "" { tmPkgPath = t.PkgPath.Name() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 16.2K bytes - Viewed (0) -
src/cmd/compile/internal/staticdata/data.go
"cmd/internal/src" ) // InitAddrOffset writes the static name symbol lsym to n, it does not modify n. // It's the caller responsibility to make sure lsym is from ONAME/PEXTERN node. func InitAddrOffset(n *ir.Name, noff int64, lsym *obj.LSym, off int64) { if n.Op() != ir.ONAME { base.Fatalf("InitAddr n op %v", n.Op()) } if n.Sym() == nil { base.Fatalf("InitAddr nil n sym") } s := n.Linksym()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:08:50 UTC 2023 - 10.3K bytes - Viewed (0) -
operator/pkg/tpath/tree_test.go
t.Error("tt.want is set but never checked") } return } err := WritePathContext(pc, tt.value, false) if err != nil { t.Fatal(err) } gotYAML := util.ToYAML(root) diff := util.YAMLDiff(gotYAML, tt.want) if diff != "" { t.Errorf("%s: (got:-, want:+):\n%s\n", tt.desc, diff) } }) } } func TestWriteNode(t *testing.T) { testTreeYAML := `
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 15.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testshared/shared_test.go
func TestNoTextrel(t *testing.T) { globalSkip(t) sopath := filepath.Join(gorootInstallDir, soname) f, err := elf.Open(sopath) if err != nil { t.Fatal("elf.Open failed: ", err) } defer f.Close() if hasDynTag(f, elf.DT_TEXTREL) { t.Errorf("%s has DT_TEXTREL set", soname) } } // The shared library does not contain symbols called ".dup" // (See golang.org/issue/14841.)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 26 01:54:41 UTC 2023 - 36.3K bytes - Viewed (0) -
pkg/config/mesh/mesh_test.go
"foo": "bar", } orig, err := protomarshal.ToYAML(config) if err != nil { t.Fatal(err) } if _, err := mesh.ApplyProxyConfig(`proxyMetadata: {"merged":"override","override":"bar"}`, config); err != nil { t.Fatal(err) } after, err := protomarshal.ToYAML(config) if err != nil { t.Fatal(err) } if orig != after {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 11.7K bytes - Viewed (0) -
src/cmd/compile/internal/ir/func.go
// // There are multiple nodes that represent a Func in the IR. // // The ONAME node (Func.Nname) is used for plain references to it. // The ODCLFUNC node (the Func itself) is used for its declaration code. // The OCLOSURE node (Func.OClosure) is used for a reference to a // function literal. // // An imported function will have an ONAME node which points to a Func // with an empty body.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 21.1K bytes - Viewed (0) -
pkg/test/framework/components/echo/echotest/run.go
svc := svc namespacedNames := svc.NamespacedNames() var toNames []string if includeNS { toNames = namespacedNames.NamesWithNamespacePrefix() } else { toNames = namespacedNames.Names() } ctx.NewSubTestf("to %s", strings.Join(toNames, " ")).Run(func(ctx framework.TestContext) { testFn(ctx, svc) }) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Sep 27 22:08:42 UTC 2023 - 13K bytes - Viewed (0)