Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for snapshotting (0.15 sec)

  1. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/CaptureOutputsAfterExecutionStepTest.groovy

            _ * context.cachingState >> CachingState.disabledWithoutInputs(new CachingDisabledReason(CachingDisabledReasonCategory.UNKNOWN, "Unknown"))
            0 * _
        }
    
        def "fails if snapshotting outputs fail"() {
            def delegateDuration = Duration.ofMillis(123)
            def failure = new OutputSnapshotter.OutputFileSnapshottingException("output", new IOException("Error")) {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/TestProjectGenerator.groovy

                generateProject(subProjectDir, dependencyTree, subProjectNumber, projectDepth - 1)
            }
        }
    
        /**
         * This is just to ensure we test the overhead of having a buildSrc project, e.g. snapshotting the Gradle API.
         */
        private addDummyBuildSrcProject(File projectDir) {
            file projectDir, "buildSrc/src/main/${config.language.name}/Thing.${config.language.name}", "public class Thing {}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/CaptureOutputsAfterExecutionStep.java

            long snapshotOutputDuration = timer.getElapsedMillis();
    
            // The origin execution time is recorded as “work duration” + “output snapshotting duration”,
            // As this is _roughly_ the amount of time that is avoided by reusing the outputs,
            // which is currently the _only_ thing this value is used for.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:33 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/AbstractVirtualFileSystem.java

                updateRootUnderLock(root -> updateNotifyingListeners(diffListener -> root.store(absolutePath, snapshot, diffListener)));
            } else {
                LOGGER.debug("Changes to the virtual file system happened while snapshotting '{}', not storing resulting snapshot", absolutePath);
            }
        }
    
        @Override
        public void invalidate(Iterable<String> locations) {
            LOGGER.debug("Invalidating VFS paths: {}", locations);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/compilability_check_util.h

        // operations in general because we do not support snapshotting them.
        //
        // TODO(b/112837194): This restriction can be lifted with some work.
        bool allow_stack_ops = false;
    
        // Whether TensorArray operations are allowed.  We avoid auto-clustering
        // TensorArray operations in general because we do not support snapshotting
        // them.
        //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  6. cmd/kube-apiserver/app/options/validation.go

    	// Should be smallish sized cidr, this thing is kept in etcd
    	// bigger cidr (specially those offered by IPv6) will add no value
    	// significantly increase snapshotting time.
    	var ones, bits = cidr.Mask.Size()
    	if bits-ones > maxCIDRBits {
    		return fmt.Errorf("specified %s is too large; for %d-bit addresses, the mask must be >= %d", cidrFlag, bits, bits-maxCIDRBits)
    	}
    
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultFileSystemAccess.java

            Supplier<T> readFromDisk
        ) {
            return virtualFileSystem.findSnapshot(location)
                .map(snapshotProcessor)
                // Avoid snapshotting the same location at the same time
                .orElseGet(() -> producingSnapshots.guardByKey(location,
                    () -> virtualFileSystem.findSnapshot(location)
                        .map(snapshotProcessor)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:35 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. cluster/images/etcd/migrate/migrator.go

    	if err != nil {
    		klog.Fatalf("Unable to automatically downgrade etcd: starting etcd version %s to capture rollback snapshot failed: %v", current.version, err)
    		return nil, err
    	}
    
    	klog.Infof("Snapshotting etcd %s to %s", current.version, snapshotFilename)
    	err = m.client.Snapshot(current.version, snapshotFilename)
    	if err != nil {
    		return nil, err
    	}
    
    	err = runner.Stop()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 28 07:33:23 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterTest.groovy

            snapshot.children.every { it.accessType == AccessType.VIA_SYMLINK }
            unfilteredSubsnapshots == [snapshot]
            0 * _
        }
    
        @Requires(UnitTestPreconditions.FilePermissions)
        def "snapshotting unreadable #type fails"() {
            given:
            def rootDir = tmpDir.createDir("root")
            rootDir.file('readableFile').createFile()
            rootDir.file('readableDirectory').createDir()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SmokeContinuousIntegrationTest.groovy

            // `input/marker`. So we don't trigger a rebuild.
            exitsContinuousBuildSinceNotWatchingAnyLocationsExceptForConfigCache()
        }
    
        def "does not detect changes when no snapshotting happens (#description)"() {
            given:
            def markerFile = file("input/marker")
            buildFile << """
                task myTask {
                  def inputFile = file("input/marker")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 18.5K bytes
    - Viewed (0)
Back to top