- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 92 for newNames (0.23 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch_test.go
New: `{"int32":1000000,"name":"newname"}`, ExpectedPatch: `{"name":"newname"}`, ExpectedResult: `{"int32":1000000,"name":"newname"}`, }, "int32 max": { Old: `{"int32":2147483647}`, New: `{"int32":2147483647,"name":"newname"}`, ExpectedPatch: `{"name":"newname"}`, ExpectedResult: `{"int32":2147483647,"name":"newname"}`, }, "int64 medium": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 16:45:45 UTC 2023 - 130.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/object_test.go
check(obj, name == "any" || name == "byte" || name == "rune") } } // various other types pkg := NewPackage("p", "p") t1 := NewTypeName(nopos, pkg, "t1", nil) n1 := NewNamed(t1, new(Struct), nil) t5 := NewTypeName(nopos, pkg, "t5", nil) NewTypeParam(t5, nil) for _, test := range []struct { name *TypeName alias bool }{ {NewTypeName(nopos, nil, "t0", nil), false}, // no type yet
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 14:10:44 UTC 2024 - 5.2K bytes - Viewed (0) -
src/cmd/gofmt/gofmt.go
perm := info.Mode().Perm() if err := writeFile(filename, src, res, perm, info.Size()); err != nil { return err } } if *doDiff { newName := filepath.ToSlash(filename) oldName := newName + ".orig" r.Write(diff.Diff(oldName, src, newName, res)) } } if !*list && !*write && !*doDiff { _, err = r.Write(res) } return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 15.1K bytes - Viewed (0) -
src/cmd/compile/internal/walk/switch.go
// Switch on the result of the call (or cache lookup). var newCases []*ir.CaseClause for i, c := range interfaceCases { newCases = append(newCases, &ir.CaseClause{ List: []ir.Node{ir.NewInt(base.Pos, int64(i))}, Body: []ir.Node{c.jmp}, }) } // TODO: add len(newCases) case, mark switch as bounded sw2 := ir.NewSwitchStmt(base.Pos, caseVar, newCases) sw.Compiled.Append(typecheck.Stmt(sw2))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 30.1K bytes - Viewed (0) -
src/go/types/typeterm_test.go
// license that can be found in the LICENSE file. package types import ( "strings" "testing" ) var myInt = func() Type { tname := NewTypeName(nopos, nil, "myInt", nil) return NewNamed(tname, Typ[Int], nil) }() var testTerms = map[string]*term{ "∅": nil, "𝓤": {}, "int": {false, Typ[Int]}, "~int": {true, Typ[Int]}, "string": {false, Typ[String]},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 5.2K bytes - Viewed (0) -
src/go/types/object_test.go
check(obj, name == "any" || name == "byte" || name == "rune") } } // various other types pkg := NewPackage("p", "p") t1 := NewTypeName(nopos, pkg, "t1", nil) n1 := NewNamed(t1, new(Struct), nil) t5 := NewTypeName(nopos, pkg, "t5", nil) NewTypeParam(t5, nil) for _, test := range []struct { name *TypeName alias bool }{ {NewTypeName(nopos, nil, "t0", nil), false}, // no type yet
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 14:10:44 UTC 2024 - 5.2K bytes - Viewed (0) -
src/reflect/type.go
pkgPathName := abi.Name{Bytes: (*byte)(resolveTypeOff(unsafe.Pointer(n.Bytes), nameOff))} return pkgPathName.Name() } func newName(n, tag string, exported, embedded bool) abi.Name { return abi.NewName(n, tag, exported, embedded) } /* * The compiler knows the exact layout of all the data structures above. * The compiler does not know about the data structures and methods below.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 20:00:09 UTC 2024 - 15.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typeterm_test.go
// license that can be found in the LICENSE file. package types2 import ( "strings" "testing" ) var myInt = func() Type { tname := NewTypeName(nopos, nil, "myInt", nil) return NewNamed(tname, Typ[Int], nil) }() var testTerms = map[string]*term{ "∅": nil, "𝓤": {}, "int": {false, Typ[Int]}, "~int": {true, Typ[Int]}, "string": {false, Typ[String]},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 20 23:30:58 UTC 2021 - 5.1K bytes - Viewed (0) -
src/internal/abi/type.go
i2, l2 := n.ReadVarint(1 + i + l) return unsafe.String(n.DataChecked(1+i+l+i2, "non-empty string"), l2) } func NewName(n, tag string, exported, embedded bool) Name { if len(n) >= 1<<29 { panic("abi.NewName: name too long: " + n[:1024] + "...") } if len(tag) >= 1<<29 { panic("abi.NewName: tag too long: " + tag[:1024] + "...") } var nameLen [10]byte var tagLen [10]byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:09:59 UTC 2024 - 21.8K bytes - Viewed (0)