Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for snapshotting (0.26 sec)

  1. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/impl/DefaultOutputSnapshotterTest.groovy

                snapshot >> outputSnapshot
            }
            0 * _
    
            then:
            result as Map == ["output": outputSnapshot]
        }
    
        def "reports snapshotting problem"() {
            def failure = new UncheckedIOException(new IOException("Error"))
    
            when:
            outputSnapshotter.snapshotOutputs(work, workspace)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileIntegrationTest.groovy

            'resources directory' | 'RESOURCES' | 'resources/main'    | 'processResources' | 'compileJava'
        }
    
        @Issue("gradle/gradle#1347")
        def "compile classpath snapshotting ignores non-relevant elements"() {
            def buildFileWithDependencies = { String... dependencies ->
                buildFile.text = """
                    apply plugin: 'java'
    
                    ${mavenCentralRepository()}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/MissingTaskDependenciesIntegrationTest.groovy

                    outputFile = file("classes.jar")
                }
            """
    
            // This is to make sure that:
            //   - The snapshotting of the zip task finishes after the outputs have been broadcast by the compile task
            //   - The snapshotting of the zip task finishes before the snapshotting of the outputs of the compile task
            server.expectConcurrent("zipFileSnapshottingStarted", "compileAction1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 08:14:44 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/ConfigurableFileTreeIntegrationTest.groovy

            run("generate")
    
            then:
            result.assertTaskNotSkipped(":generate")
            output.count("checking") == 22 // checked twice, once to snapshot and once when the task action runs. Should be memoized when snapshotting
            outputContains("checking a/a.txt")
            outputContains("checking d/d.txt")
            file("out.txt").text == "a.txt,c.txt,d.txt"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top