Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for visitTar (1.16 sec)

  1. testing/performance/src/templates/archivePerformanceProject/build.gradle

    tasks.register("visitZip") {
        doLast {
            visitIterations.each {
                zipTree(file("archive.zip")).each {
                    logger.info it.path
                }
            }
        }
    }
    
    tasks.register("visitTar") {
        doLast {
            visitIterations.each {
                tarTree(file("archive.tar")).each {
                    logger.info it.path
                }
            }
        }
    }
    
    tasks.register("visitTarGz") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 11:42:52 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/ArchiveTreePerformanceTest.groovy

        }
    
        @RunFor(
            @Scenario(type = PER_DAY, operatingSystems = [LINUX], testProjects = ["archivePerformanceProject"])
        )
        def "visiting tar trees"() {
            given:
            runner.tasksToRun = ['visitTar']
            runner.addBuildMutator { createArchive(it, "archive.tar") { contents, output -> contents.tarTo(output) } }
    
            when:
            def result = runner.run()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 11:42:52 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/visitor.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package schema
    
    // Visitor recursively walks through a structural schema.
    type Visitor struct {
    	// Structural is called on each Structural node in the schema, before recursing into
    	// the subtrees. It is allowed to mutate s. Return true if something has been changed.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/internal/classpath/ClasspathWalker.java

            visitDir(dir, "", visitor);
        }
    
        private void visitDir(File dir, String prefix, ClasspathEntryVisitor visitor) throws IOException {
            File[] files = dir.listFiles();
    
            // Apply a consistent order, regardless of file system ordering
            Arrays.sort(files, Comparator.comparing(File::getName));
    
            for (File file : files) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/file/archive/ZipFileTree.java

                        DetailsImpl details = new DetailsImpl(zipFile, expandedDir, entry, zip, stopFlag, chmod);
                        if (entry.isDirectory()) {
                            visitor.visitDir(details);
                        } else {
                            visitor.visitFile(details);
                        }
                    }
                } catch (GradleException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:15:04 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/internal/exceptions/ContextAwareExceptionTest.groovy

            when:
            e.accept(visitor)
    
            then:
            1 * visitor.visitCause(cause)
            1 * visitor.endVisiting()
    
            3 * visitor.startChildren()
            1 * visitor.node(childCause1)
            1 * visitor.node(childCause4)
            1 * visitor.node(childCause3)
            1 * visitor.node(childCause2)
            3 * visitor.endChildren()
            0 * visitor._
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 13:32:53 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/DependencyLockingGraphVisitorTest.groovy

        ModuleIdentifier mid = DefaultModuleIdentifier.newId("org", "foo")
    
        @Subject
        def visitor = new DependencyLockingGraphVisitor(lockId, Describables.of("owner"), dependencyLockingProvider)
    
        def 'initialises when there is lock state'() {
            when:
            visitor.start(rootNode)
    
            then:
            1 * dependencyLockingProvider.loadLockState(lockId, _) >> lockState
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/UnpackingVisitor.java

            this(visitor, resolver, taskDependencyFactory, patternSetFactory, ProviderResolutionStrategy.REQUIRE_PRESENT, true);
        }
    
        public UnpackingVisitor(Consumer<FileCollectionInternal> visitor, PathToFileResolver resolver, TaskDependencyFactory taskDependencyFactory, Factory<PatternSet> patternSetFactory, ProviderResolutionStrategy providerResolutionStrategy, boolean includeBuildable) {
            this.visitor = visitor;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:50 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/exceptions/ContextAwareException.java

                    }
                    visitor.endChildren();
                }
            } else if (t.getCause() != null) {
                visitor.startChildren();
                visitContextual(t.getCause(), visitor);
                visitor.endChildren();
            }
        }
    
        private void visitContextual(Throwable t, TreeVisitor<? super Throwable> visitor) {
            Throwable next = findNearestContextual(t);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 13:32:53 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/internal/exceptions/LocationAwareExceptionTest.groovy

        def "visitor visits location"() {
            ExceptionContextVisitor visitor = Mock()
            def cause = new RuntimeException()
            def e = new LocationAwareException(cause, "location", 42)
    
            when:
            e.accept(visitor)
    
            then:
            1 * visitor.visitCause(cause)
            1 * visitor.endVisiting()
            1 * visitor.visitLocation("Location line: 42")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 13:32:53 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top