- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for St (0.1 sec)
-
pkg/scheduler/framework/plugins/schedulinggates/scheduling_gates_test.go
oldObj: st.MakePod().Name("p").SchedulingGates([]string{"foo", "bar"}).Obj(), newObj: st.MakePod().Name("p").SchedulingGates([]string{"foo"}).Obj(), expectedHint: framework.QueueSkip, }, "queue-on-gates-become-empty": { pod: st.MakePod().Name("p").SchedulingGates([]string{"foo"}).Obj(), oldObj: st.MakePod().Name("p").SchedulingGates([]string{"foo"}).Obj(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 3.7K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/noderesources/fit_test.go
}, "insufficient resource": { pod: st.MakePod().Req(map[v1.ResourceName]string{v1.ResourceCPU: "2"}).Obj(), node: st.MakeNode().Capacity(map[v1.ResourceName]string{v1.ResourceCPU: "1"}).Obj(), expected: false, }, "sufficient resource": { pod: st.MakePod().Req(map[v1.ResourceName]string{v1.ResourceCPU: "1"}).Obj(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 57.4K bytes - Viewed (0) -
internal/grid/grid_test.go
if inCap > 0 { go func() { defer close(st.Requests) if !blockReq { <-nowBlocking return } for { select { case <-nowBlocking: return case <-st.Done(): case st.Requests <- []byte{1}: time.Sleep(10 * time.Millisecond) } } }() } // Check that local returned. err = st.Results(func(b []byte) error { <-st.Done()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 36.4K bytes - Viewed (0) -
internal/grid/benchmark_test.go
// Send the payload. t := time.Now() st, err := conn.NewStream(ctx, handlerTest, payload) if err != nil { if debugReqs { fmt.Println(err.Error()) } b.Fatal(err.Error()) } got := 0 for i := 0; i < requests; i++ { got++ st.Requests <- append(GetByteBuffer()[:0], payload...) } close(st.Requests) err = st.Results(func(b []byte) error {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 15.7K bytes - Viewed (0) -
pkg/scheduler/internal/queue/scheduling_queue_test.go
func TestUnschedulablePodsMap(t *testing.T) { var pods = []*v1.Pod{ st.MakePod().Name("p0").Namespace("ns1").Annotation("annot1", "val1").NominatedNodeName("node1").Obj(), st.MakePod().Name("p1").Namespace("ns1").Annotation("annot", "val").Obj(), st.MakePod().Name("p2").Namespace("ns2").Annotation("annot2", "val2").Annotation("annot3", "val3").NominatedNodeName("node3").Obj(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 146.9K bytes - Viewed (0) -
cmd/xl-storage.go
} for tgt, st := range sizeS.replTargetStats { res["repl-size-"+tgt] = strconv.FormatInt(st.replicatedSize, 10) res["repl-count-"+tgt] = strconv.FormatInt(st.replicatedCount, 10) if st.failedCount > 0 { res["repl-failed-"+tgt] = fmt.Sprintf("%d versions, %d bytes", st.failedCount, st.failedSize) } if st.pendingCount > 0 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 85.3K bytes - Viewed (0) -
cmd/bucket-replication.go
s.Lock() defer s.Unlock() m := s.statusMap[opts.bucket] st := m.TargetsMap[opts.arn] st.Object = ts.Object st.ReplicatedCount += ts.ReplicatedCount st.FailedCount += ts.FailedCount st.ReplicatedSize += ts.ReplicatedSize st.FailedSize += ts.FailedSize m.TargetsMap[opts.arn] = st m.LastUpdate = UTCNow() s.statusMap[opts.bucket] = m }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 06:56:12 UTC 2024 - 114.4K bytes - Viewed (0) -
src/cmd/link/internal/ld/data.go
if !ldr.AttrReachable(s) || ldr.AttrSpecial(s) || ldr.AttrSubSymbol(s) || !ldr.TopLevelSym(s) { continue } st := state.symType(s) if st <= sym.STEXT || st >= sym.SXREF { continue } state.data[st] = append(state.data[st], s) // Similarly with checking the onlist attr. if ldr.AttrOnList(s) { log.Fatalf("symbol %s listed multiple times", ldr.SymName(s))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (0) -
cmd/storage-rest-client.go
return stat, toStorageErr(err) } rd := msgpNewReader(respReader) defer readMsgpReaderPoolPut(rd) for { var st StatInfo err = st.DecodeMsg(rd) if err != nil { if errors.Is(err, io.EOF) { err = nil } break } stat = append(stat, st) } return stat, toStorageErr(err) } // ReadMultiple will read multiple files and send each back as response.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 27.4K bytes - Viewed (0) -
cmd/metrics-v2.go
Type: counterMetric, }, VariableLabels: map[string]string{"target_id": st.ID.ID, "target_name": st.ID.Name}, Value: float64(st.FailedRequests), }) } // Audit and system: audit := logger.CurrentStats() for id, st := range audit { metrics = append(metrics, MetricV2{ Description: MetricDescription{ Namespace: minioNamespace,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:54 UTC 2024 - 131.9K bytes - Viewed (0)