- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 73 for leastOf (0.21 sec)
-
pkg/scheduler/schedule_one_test.go
// Those two goroutines will stop until ctx.Done() is called, which means all waiting pods are scheduled at least once. go wait.Until(deleteNodesOneRound, 10*time.Millisecond, ctx.Done()) go wait.Until(createPodsOneRound, 9*time.Millisecond, ctx.Done()) // Capture the events to wait all pods to be scheduled at least once. allWaitSchedulingPods := sets.New[string]() for i := 0; i < waitSchedulingPodNumber; i++ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0) -
src/database/sql/sql.go
stop: cancel, } go db.connectionOpener(ctx) return db } // Open opens a database specified by its database driver name and a // driver-specific data source name, usually consisting of at least a // database name and connection information. // // Most users will open a database via a driver-specific connection // helper function that returns a [*DB]. No database drivers are included
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 103.6K bytes - Viewed (0) -
src/cmd/go/alldocs.go
// go doc text/template.new # One argument // Show documentation for text/template's New function. // go doc text/template new # Two arguments // Show documentation for text/template's New function. // // At least in the current tree, these invocations all print the // documentation for json.Decoder's Decode method: // // go doc json.Decoder.Decode // go doc json.decoder.decode // go doc json.decode
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 142.4K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_control_test.go
} if pods, err = om.podsLister.Pods(set.Namespace).List(selector); err != nil { t.Error(err) } terminalPodOrdinal := -1 for i, pod := range pods { // Set at least Pending phase to acknowledge the creation of pods newPhase := v1.PodPending if i == 0 { // Set terminal phase for the first pod newPhase = terminalPhase terminalPodOrdinal = getOrdinal(pod) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 07 19:01:47 UTC 2024 - 108.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
template <typename WhileOpTy> bool InferShapeForWhile(WhileOpTy op, TypeRange body_result_types); // Performs shape inference on the provided op and return true if the type of // at least one result has been changed. // A tf.Cast() is inserted for any uses that isn't in the TensorFlow dialect. // `graph_version` indicates the current GraphDef compatibility versions // (the versions field in graph.proto).
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
src/crypto/x509/verify_test.go
return false } } return true } // Every expected chain should match one (or more) returned chain. We tolerate multiple // matches, as due to root store semantics it is plausible that (at least on the system // verifiers) multiple identical (looking) chains may be returned when two roots with the // same subject are present. for _, expectedChain := range test.expectedChains { var match bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 110.2K bytes - Viewed (0) -
src/cmd/link/internal/ld/data.go
// That test doesn't make much sense, and I'm not sure it ever works. // Just generate trampoline for now (which will turn a direct call to // an indirect call, which at least builds). limit = 1 } // First pass: assign addresses assuming the program is small and will // not require trampoline generation. big := false for _, s := range ctxt.Textp {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (0) -
pkg/controller/podautoscaler/horizontal_test.go
} tc.verifyRecordedMetric(t, m) } func (tc *testCase) verifyRecordedMetric(t *testing.T, m *mockMonitor) { // First, wait for the reconciliation completed at least once. m.waitUntilRecorded(t) assert.Equal(t, tc.expectedReportedReconciliationActionLabel, m.reconciliationActionLabels[0], "the reconciliation action should be recorded in monitor expectedly")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 199.3K bytes - Viewed (0) -
pkg/kubelet/kubelet.go
serviceLister serviceLister // serviceHasSynced indicates whether services have been sync'd at least once. // Check this before trusting a response from the lister. serviceHasSynced cache.InformerSynced // nodeLister knows how to list nodes nodeLister corelisters.NodeLister // nodeHasSynced indicates whether nodes have been sync'd at least once. // Check this before trusting a response from the node lister.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 126.1K bytes - Viewed (0) -
src/net/http/server.go
// to bw. is11 is whether the HTTP request is HTTP/1.1. false means HTTP/1.0. // code is the response status code. // scratch is an optional scratch buffer. If it has at least capacity 3, it's used. func writeStatusLine(bw *bufio.Writer, is11 bool, code int, scratch []byte) { if is11 { bw.WriteString("HTTP/1.1 ") } else { bw.WriteString("HTTP/1.0 ") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 123.4K bytes - Viewed (0)