- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for makeSet (0.13 sec)
-
pkg/scheduler/internal/queue/scheduling_queue_test.go
if err != nil { t.Fatalf("unexpected error from AddUnschedulableIfNotPresent: %v", err) } expectedSet := makeSet([]*v1.Pod{medPriorityPodInfo.Pod, unschedulablePodInfo.Pod, highPriorityPodInfo.Pod}) gotPods, gotSummary := q.PendingPods() if diff := cmp.Diff(expectedSet, makeSet(gotPods)); diff != "" { t.Errorf("Unexpected list of pending Pods (-want, +got):\n%s", diff) }
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/reflect/value.go
// convertOp: intXX -> [u]intXX func cvtInt(v Value, t Type) Value { return makeInt(v.flag.ro(), uint64(v.Int()), t) } // convertOp: uintXX -> [u]intXX func cvtUint(v Value, t Type) Value { return makeInt(v.flag.ro(), v.Uint(), t) } // convertOp: floatXX -> intXX func cvtFloatInt(v Value, t Type) Value { return makeInt(v.flag.ro(), uint64(int64(v.Float())), t) } // convertOp: floatXX -> uintXX
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0) -
tests/integration/pilot/common/routing.go
}) } } } type vmCase struct { name string from echo.Instance to echo.Instances host string } func DNSTestCases(t TrafficContext) { makeSE := func(ips ...string) string { return tmpl.MustEvaluate(` apiVersion: networking.istio.io/v1alpha3 kind: ServiceEntry metadata: name: dns spec: hosts: - "fake.service.local"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 21:52:51 UTC 2024 - 135.9K bytes - Viewed (0) -
doc/go1.17_spec.html
</p> <pre> f := t.Mv; f(7) // like t.Mv(7) f := pt.Mp; f(7) // like pt.Mp(7) f := pt.Mv; f(7) // like (*pt).Mv(7) f := t.Mp; f(7) // like (&t).Mp(7) f := makeT().Mp // invalid: result of makeT() is not addressable </pre> <p> Although the examples above use non-interface types, it is also legal to create a method value from a value of interface type. </p> <pre>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 211.6K bytes - Viewed (0)