- Sort Score
- Result 10 results
- Languages All
Results 11 - 15 of 15 for shouldList (0.23 sec)
-
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/DirectorySnapshotter.java
} private boolean shouldVisitDirectory(Path dir, String internedName) { return pathTracker.isRoot() || shouldVisit(dir, internedName, true); } private boolean shouldVisitFile(Path file, String internedName) { return shouldVisit(file, internedName, false); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 24.4K bytes - Viewed (0) -
pkg/kubelet/util/manager/cache_based_manager_test.go
"github.com/stretchr/testify/assert" ) func checkObject(t *testing.T, store *objectStore, ns, name string, shouldExist bool) { _, err := store.Get(ns, name) if shouldExist && err != nil { t.Errorf("unexpected actions: %#v", err) } if !shouldExist && (err == nil || !strings.Contains(err.Error(), fmt.Sprintf("object %q/%q not registered", ns, name))) { t.Errorf("unexpected actions: %#v", err) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 19.6K bytes - Viewed (0) -
src/cmd/internal/testdir/testdir_test.go
// Build tags separated by a comma are AND-ed together. assertNot(shouldTest("// +build !windows,!plan9", "windows", "amd64")) assertNot(shouldTest("// +build !windows,!plan9", "plan9", "386")) // Build tags on multiple lines are AND-ed together. assert(shouldTest("// +build !windows\n// +build amd64", "linux", "amd64"))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:08:06 UTC 2024 - 57.5K bytes - Viewed (0) -
cmd/xl-storage_test.go
} } var deleted [len(versions)]bool checkVerExist := func(t testing.TB) { t.Helper() for i := range versions { shouldExist := !deleted[i] fi, err := xl.ReadVersion(ctx, "", volume, object, versions[i], ReadOptions{}) if shouldExist { if err != nil { t.Fatalf("Version %s should exist, but got err %v", versions[i], err) } return }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 11 17:45:28 UTC 2024 - 66.7K bytes - Viewed (0) -
pkg/kubelet/kubelet_test.go
ctx := context.Background() t.Helper() kl := testKubelet.kubelet kl.podManager.SetPods(pods) kl.HandlePodSyncs(pods) kl.HandlePodCleanups(ctx) for i, pod := range podsToCheck { exist := dirExists(kl.getPodDir(pod.UID)) assert.Equal(t, shouldExist, exist, "directory of pod %d", i) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 106.9K bytes - Viewed (0)