Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for NewSnapshot (0.24 sec)

  1. 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)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/MapValueSnapshot.java

            super(entries);
        }
    
        @Override
        public ValueSnapshot snapshot(Object value, ValueSnapshotter snapshotter) {
            ValueSnapshot newSnapshot = snapshotter.snapshot(value);
            if (equals(newSnapshot)) {
                return this;
            }
            return newSnapshot;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/GradleSerializedValueSnapshot.java

                GradleSerializedValueSnapshot newSnapshot = (GradleSerializedValueSnapshot) snapshot;
                if (!Objects.equal(implementationHash, newSnapshot.implementationHash)) {
                    // Different implementation - assume value has changed
                    return false;
                }
                if (Arrays.equals(serializedValue, newSnapshot.serializedValue)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
Back to top