Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 561 for visitTar (0.17 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/cli-runtime/pkg/resource/visitor.go

    }
    
    // DecoratedVisitor will invoke the decorators in order prior to invoking the visitor function
    // passed to Visit. An error will terminate the visit.
    type DecoratedVisitor struct {
    	visitor    Visitor
    	decorators []VisitorFunc
    }
    
    // NewDecoratedVisitor will create a visitor that invokes the provided visitor functions before
    // the user supplied visitor function is invoked, giving them the opportunity to mutate the Info
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 10:17:56 UTC 2023
    - 21.3K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/check/visitor.go

    			return err
    		}
    		return o(r)
    	}
    }
    
    // Or returns a Visitor that performs a logical OR of this Visitor and the one provided.
    func (v Visitor) Or(o Visitor) Visitor {
    	return func(r echoClient.Response) error {
    		if err := v(r); err != nil {
    			return err
    		}
    		return o(r)
    	}
    }
    
    // Checker returns an echo.Checker based on this Visitor.
    func (v Visitor) Checker() echo.Checker {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 28 23:06:21 UTC 2022
    - 2K bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/compiler/mlir/tensorflow/utils/visitor.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/tensorflow/utils/visitor.h"
    
    #include <utility>
    
    #include "llvm/ADT/DenseSet.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/Support/Casting.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 03:46:51 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/SingleIncludePatternFileTreeSpec.groovy

            fileTree.visit(visitor)
    
            then:
            1 * visitor.visitDir({ it.file == tempDir.file("dir1") })
            1 * visitor.visitDir({ it.file == tempDir.file("dir2") })
            1 * visitor.visitDir({ it.file == tempDir.file("dir3") })
            1 * visitor.visitDir({ it.file == tempDir.file("dir2/dir1") })
            1 * visitor.visitDir({ it.file == tempDir.file("dir2/dir2") })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/FilteredMinimalFileTreeTest.groovy

            1 * visitor.visitDir(included)
            0 * _
        }
    
        def "ignores file that is not included"() {
            def spec = Mock(Spec)
            def included = Stub(FileVisitDetails)
            def excluded = Stub(FileVisitDetails)
            def visitor = Mock(FileVisitor)
    
            when:
            tree.visit(visitor)
    
            then:
            _ * patterns.asSpec >> spec
            1 * spec.isSatisfiedBy(included) >> true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. 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)
  10. subprojects/core/src/testFixtures/groovy/org/gradle/api/file/FileVisitorUtil.groovy

            Map<String, File> visited = [:]
            FileVisitor visitor = [
                    visitFile: {FileVisitDetails details ->
                        visited.put(details.path, details.file)
                    },
                    visitDir: {FileVisitDetails details ->
                    }
            ] as FileVisitor
    
            tree.visit(visitor)
    
            assertThat(visited, equalTo(files))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 22 14:26:33 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top