- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 6,074 for case1 (0.05 sec)
-
pkg/kubelet/cm/topologymanager/scope_test.go
func TestAddContainer(t *testing.T) { testCases := []struct { name string containerID string podUID types.UID }{ { name: "Case1", containerID: "nginx", podUID: "0aafa4c4-38e8-11e9-bcb1-a4bf01040474", }, { name: "Case2", containerID: "Busy_Box", podUID: "b3ee37fc-39a5-11e9-bcb1-a4bf01040474", }, } scope := scope{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 10 11:44:15 UTC 2021 - 3.3K bytes - Viewed (0) -
test/fixedbugs/issue40367.go
// license that can be found in the LICENSE file. package main func case1() { rates := []int32{1,2,3,4,5,6} var sink [6]int j := len(sink) for star, _ := range rates { if star+1 < 1 { panic("") } j-- sink[j] = j } } func case2() { i := 0 var sink [3]int j := len(sink) top: j-- sink[j] = j if i < 2 { i++ if i < 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 30 17:23:11 UTC 2020 - 526 bytes - Viewed (0) -
src/cmd/go/testdata/script/clean_binary.txt
# Build something to create the executable, including several cases [short] skip # --------------------- clean executables ------------------------- # case1: test file-named executable 'main' env GO111MODULE=on ! exists main$GOEXE go build main.go exists -exec main$GOEXE go clean ! exists main$GOEXE # case2: test module-named executable 'a.b.c' ! exists a.b.c$GOEXE go build exists -exec a.b.c$GOEXE go clean
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 22 13:36:17 UTC 2020 - 1.3K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/fake_topology_manager_test.go
testCases := []struct { name string containerID string podUID string }{ { name: "Case1", containerID: "nginx", podUID: "0aafa4c4-38e8-11e9-bcb1-a4bf01040474", }, { name: "Case2", containerID: "Busy_Box", podUID: "b3ee37fc-39a5-11e9-bcb1-a4bf01040474", }, } fm := fakeManager{} for _, tc := range testCases {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 10 11:44:15 UTC 2021 - 2.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/fuse_test.go
CheckFunc(fun.f) fuseLate(fun.f) for k, b := range fun.blocks { if k[:1] == "z" && b.Kind != BlockInvalid { t.Errorf("case3 %s was not eliminated, but should have", k) } } } func TestFuseSideEffects(t *testing.T) { c := testConfig(t) // Case1, test that we don't fuse branches that have side effects but // have no use (e.g. followed by infinite loop). // See issue #36005.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 20:45:54 UTC 2023 - 7.4K bytes - Viewed (0) -
cmd/erasure-healing_test.go
expectedDangling bool }{ { name: "FileInfoExists-case1", metaArr: []FileInfo{ {}, {}, fi, fi, }, errs: []error{ errFileNotFound, errDiskNotFound, nil, nil, }, dataErrs: nil, expectedMeta: fi, expectedDangling: false, }, { name: "FileInfoExists-case2", metaArr: []FileInfo{ {}, {}, fi,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 49K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/noderesources/fit_test.go
existingPods []*v1.Pod expectedPriorities framework.NodeScoreList nodeResourcesFitArgs config.NodeResourcesFitArgs runPreScore bool }{ { name: "test case for ScoringStrategy RequestedToCapacityRatio case1", requestedPod: st.MakePod(). Req(map[v1.ResourceName]string{"cpu": "3000", "memory": "5000"}). Obj(), nodes: []*v1.Node{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 57.4K bytes - Viewed (0) -
pkg/kubelet/stats/cri_stats_provider.go
} return stats, cinfosByPodCgroupKey } func extractIDFromCgroupPath(cgroupPath string) string { // case0 == cgroupfs: "/kubepods/burstable/pod2fc932ce-fdcc-454b-97bd-aadfdeb4c340/9be25294016e2dc0340dd605ce1f57b492039b267a6a618a7ad2a7a58a740f32" id := filepath.Base(cgroupPath)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 35.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/cases/cases.go
} // Upper returns a Caser for language-specific uppercasing. func Upper(t language.Tag, opts ...Option) Caser { return Caser{makeUpper(t, getOpts(opts...))} } // Lower returns a Caser for language-specific lowercasing. func Lower(t language.Tag, opts ...Option) Caser { return Caser{makeLower(t, getOpts(opts...))} } // Title returns a Caser for language-specific title casing. It uses an
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 4.9K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Case.kt
package okhttp3.internal.http2.hpackjson import okhttp3.internal.http2.Header import okio.ByteString /** * Representation of an individual case (set of headers and wire format). There are many cases for a * single story. This class is used reflectively with Moshi to parse stories. */ data class Case( val seqno: Int = 0, val wire: ByteString? = null, val headers: List<Map<String, String>>, ) : Cloneable {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Dec 23 10:26:25 UTC 2023 - 1.3K bytes - Viewed (0)