- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for NewSnapshot (0.23 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/SetValueSnapshot.java
ValueSnapshot newSnapshot = snapshotter.snapshot(value); if (isEqualSetValueSnapshot(newSnapshot)) { return this; } return newSnapshot; } private boolean isEqualSetValueSnapshot(ValueSnapshot newSnapshot) { if (newSnapshot instanceof SetValueSnapshot) { SetValueSnapshot other = (SetValueSnapshot) newSnapshot;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/MapValueSnapshot.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/GradleSerializedValueSnapshot.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 09:46:00 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppCachingIntegrationTest.groovy
if (isNonRelocatableCompilation(buildType)) { return } snapshotsInOriginalLocation.each { path, originalSnapshot -> def newSnapshot = snapshotsInNewLocation[path] assert originalSnapshot.hash == newSnapshot.hash } } private boolean isNonRelocatableCompilation(String buildType) { nonDeterministicCompilation || isAbsolutePathsInFile(buildType) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 6.1K bytes - Viewed (0) -
pkg/scheduler/internal/cache/snapshot.go
func NewEmptySnapshot() *Snapshot { return &Snapshot{ nodeInfoMap: make(map[string]*framework.NodeInfo), usedPVCSet: sets.New[string](), } } // NewSnapshot initializes a Snapshot struct and returns it. func NewSnapshot(pods []*v1.Pod, nodes []*v1.Node) *Snapshot { nodeInfoMap := createNodeInfoMap(pods, nodes) nodeInfoList := make([]*framework.NodeInfo, 0, len(nodeInfoMap))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 17 01:38:03 UTC 2023 - 6.6K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/interpodaffinity/plugin_test.go
}, } for _, tc := range tests { t.Run(tc.name, func(t *testing.T) { logger, ctx := ktesting.NewTestContext(t) ctx, cancel := context.WithCancel(ctx) defer cancel() snapshot := cache.NewSnapshot(nil, nil) pl := plugintesting.SetupPluginWithInformers(ctx, t, New, &config.InterPodAffinityArgs{}, snapshot, namespaces) p := pl.(*InterPodAffinity)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 12 03:08:44 UTC 2024 - 9.7K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/noderesources/requested_to_capacity_ratio_test.go
t.Run(test.name, func(t *testing.T) { _, ctx := ktesting.NewTestContext(t) ctx, cancel := context.WithCancel(ctx) defer cancel() state := framework.NewCycleState() snapshot := cache.NewSnapshot(test.existingPods, test.nodes) fh, _ := runtime.NewFramework(ctx, nil, nil, runtime.WithSnapshotSharedLister(snapshot)) p, err := NewFit(ctx, &config.NodeResourcesFitArgs{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 21.2K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonLifecycleTest.groovy
cleanup: // In the event this fails, clean up any orphaned children children.each { child -> new ProcessFixture(child as Long).kill(true) } } void newSnapshot() { logSnapshot = daemons.daemon.log } String sinceSnapshot() { return daemons.daemon.log - logSnapshot }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 6.4K bytes - Viewed (0) -
pkg/scheduler/framework/preemption/preemption_test.go
frameworkruntime.WithSnapshotSharedLister(internalcache.NewSnapshot(tt.testPods, tt.nodes)), frameworkruntime.WithLogger(logger), ) if err != nil { t.Fatal(err) } informerFactory.Start(ctx.Done()) informerFactory.WaitForCacheSync(ctx.Done()) snapshot := internalcache.NewSnapshot(tt.initPods, tt.nodes) nodeInfos, err := snapshot.NodeInfos().List() if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 18.7K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/podtopologyspread/plugin_test.go
expectedHint: framework.Queue, }, } for _, tc := range testcases { t.Run(tc.name, func(t *testing.T) { logger, ctx := ktesting.NewTestContext(t) snapshot := cache.NewSnapshot(nil, nil) pl := plugintesting.SetupPlugin(ctx, t, topologySpreadFunc, &config.PodTopologySpreadArgs{DefaultingType: config.ListDefaulting}, snapshot) p := pl.(*PodTopologySpread)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 17 06:30:53 UTC 2023 - 13K bytes - Viewed (0)