- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for numFail (0.1 sec)
-
src/index/suffixarray/suffixarray_test.go
if i < len(x) { for x[i] = 1; x[i] <= byte(max); x[i]++ { testRec(t, x, i+1, max, numFail, build) } return } if !testSA(t, x, build) { *numFail++ if *numFail >= 10 { t.Errorf("stopping after %d failures", *numFail) t.FailNow() } } } // testSA tests the suffix array build function on the input x. // It constructs the suffix array and then checks that it is correct.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 14.1K bytes - Viewed (0) -
pkg/kubelet/apis/podresources/server_v1_test.go
podUID := types.UID("pod-uid") containerName := "container-name" numaID := int64(1) mockCtrl := gomock.NewController(t) defer mockCtrl.Finish() devs := []*podresourcesapi.ContainerDevices{ { ResourceName: "resource", DeviceIds: []string{"dev0", "dev1"}, Topology: &podresourcesapi.TopologyInfo{Nodes: []*podresourcesapi.NUMANode{{ID: numaID}}}, }, } cpus := []int64{12, 23, 30}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 45.9K bytes - Viewed (0) -
src/encoding/hex/hex.go
d.err = InvalidByteError(d.in[len(d.in)-1]) } else { d.err = io.ErrUnexpectedEOF } } } // Decode internal buffer into output buffer if numAvail := len(d.in) / 2; len(p) > numAvail { p = p[:numAvail] } numDec, err := Decode(p, d.in[:len(p)*2]) d.in = d.in[2*numDec:] if err != nil { d.in, d.err = nil, err // Decode error; discard input remainder }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:30:23 UTC 2024 - 9.5K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/pod_devices.go
continue } devicePluginMap := make(map[string]pluginapi.Device) for numaid, devlist := range allocateInfo.deviceIds { for _, devID := range devlist { var topology *pluginapi.TopologyInfo if numaid != nodeWithoutTopology { NUMANodes := []*pluginapi.NUMANode{{ID: numaid}} if pDev, ok := devicePluginMap[devID]; ok && pDev.Topology != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jan 27 02:10:25 UTC 2024 - 16.7K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/cpu_assignment.go
// Returns true if the supplied NUMANode is fully available in `a.details`. // "fully available" means that all the CPUs in it are free. func (a *cpuAccumulator) isNUMANodeFree(numaID int) bool { return a.details.CPUsInNUMANodes(numaID).Size() == a.topo.CPUDetails.CPUsInNUMANodes(numaID).Size() } // Returns true if the supplied socket is fully available in `a.details`. // "fully available" means that all the CPUs in it are free.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 25 23:56:21 UTC 2024 - 36.3K bytes - Viewed (0)