- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 92 for newNames (0.3 sec)
-
src/cmd/compile/internal/types2/call.go
// or the result type in a return statement. Create a pseudo-expression for that operand // that makes sense when reported in error messages from infer, below. expr := syntax.NewName(x.Pos(), T.desc) args = []*operand{{mode: value, expr: expr, typ: T.sig}} reverse = true } // Rename type parameters to avoid problems with recursive instantiations.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 31.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_test.go
continue } } } // newDefined creates a new defined type named T with the given underlying type. func newDefined(underlying Type) *Named { tname := NewTypeName(nopos, nil, "T", nil) return NewNamed(tname, underlying, nil) } func TestConvertibleTo(t *testing.T) { for _, test := range []struct { v, t Type want bool }{ {Typ[Int], Typ[Int], true}, {Typ[Int], Typ[Float32], true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
src/go/types/api_test.go
// Helper function for use with TestIncompleteInterfaces only. func newDefined(underlying Type) *Named { tname := NewTypeName(nopos, nil, "T", nil) return NewNamed(tname, underlying, nil) } func TestConvertibleTo(t *testing.T) { for _, test := range []struct { v, t Type want bool }{ {Typ[Int], Typ[Int], true}, {Typ[Int], Typ[Float32], true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0) -
api/go1.5.txt
pkg go/types, func NewLabel(token.Pos, *Package, string) *Label pkg go/types, func NewMap(Type, Type) *Map pkg go/types, func NewMethodSet(Type) *MethodSet pkg go/types, func NewNamed(*TypeName, Type, []*Func) *Named pkg go/types, func NewPackage(string, string) *Package pkg go/types, func NewParam(token.Pos, *Package, string, Type) *Var
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0) -
tensorflow/compiler/jit/extract_outside_compilation_pass.cc
has_non_oc_output = true; break; } } if (!has_non_oc_output) { continue; } NodeDef copy_def = n->def(); copy_def.set_name(g->NewName(n->name())); copy_def.mutable_attr()->erase(outside_compilation_attr_name); TF_ASSIGN_OR_RETURN(Node * copy_node, g->AddNode(copy_def)); for (const Edge* e : n->in_edges()) { if (e->IsControlEdge()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 104.7K bytes - Viewed (0) -
pkg/scheduler/internal/queue/scheduling_queue_test.go
t.Errorf("Expected 1 item to be in unschedulablePods, but got: %v", len(q.unschedulablePods.podInfoMap)) } } func clonePod(pod *v1.Pod, newName string) *v1.Pod { pod = pod.DeepCopy() pod.Name = newName pod.UID = types.UID(pod.Name + pod.Namespace) return pod } func expectInFlightPods(t *testing.T, q *PriorityQueue, uids ...types.UID) { t.Helper()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 146.9K bytes - Viewed (0) -
src/net/dnsclient_unix_test.go
var TestAddr6 = [16]byte{0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1} func mustNewName(name string) dnsmessage.Name { nn, err := dnsmessage.NewName(name) if err != nil { panic(fmt.Sprint("creating name: ", err)) } return nn } func mustQuestion(name string, qtype dnsmessage.Type, class dnsmessage.Class) dnsmessage.Question { return dnsmessage.Question{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 72.4K bytes - Viewed (0) -
cmd/admin-handlers-users.go
if sp.Version == "" && len(sp.Statements) == 0 { sp = nil } } opts := updateServiceAccountOpts{ secretKey: updateReq.NewSecretKey, status: updateReq.NewStatus, name: updateReq.NewName, description: updateReq.NewDescription, expiration: updateReq.NewExpiration, sessionPolicy: sp, } updatedAt, err := globalIAMSys.UpdateServiceAccount(ctx, accessKey, opts) if err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 28 17:19:04 UTC 2024 - 78.6K bytes - Viewed (0) -
pkg/apis/core/validation/validation.go
return allErrs } func validateOnlyDeletedSchedulingGates(newGates, oldGates []core.PodSchedulingGate, fldPath *field.Path) field.ErrorList { allErrs := field.ErrorList{} if len(newGates) == 0 { return allErrs } additionalGates := make(map[string]int) for i, newGate := range newGates { additionalGates[newGate.Name] = i } for _, oldGate := range oldGates {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 349.5K bytes - Viewed (0) -
src/internal/trace/traceviewer/static/trace_viewer_full.html
PLATFORM_SPECIFIC_TOTAL_NAME_SUFFIX.length);} newName=newName.replace('_',' ').trim();newName=newName.charAt(0).toUpperCase()+newName.slice(1);}else{newName=UsedMemoryColumn.PLATFORM_SPECIFIC_TOTALS_MAP[name];}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:45:06 UTC 2023 - 2.5M bytes - Viewed (1)