Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 264 for tophash (0.29 sec)

  1. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/incremental/transaction/CompileTransactionTest.groovy

        private List<String> listAllFiles(File file) {
            return Files.find(file.toPath(), 99, { path, attributes -> attributes.isRegularFile() })
                .collect { file.toPath().relativize(it).toString().replace("\\", "/") }
                .toSorted()
        }
    
        private boolean hasOnlyDirectories(File file) {
            try (Stream<Path> stream = Files.walk(file.toPath())) {
                return stream.allMatch { Files.isDirectory(it) }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 18K bytes
    - Viewed (0)
  2. platforms/software/signing/src/test/groovy/org/gradle/plugins/signing/SigningTasksSpec.groovy

            addSigningProperties()
            createJarTaskOutputFile('jar')
    
            when:
            Sign signTask = signing.sign(jar).first()
    
            then:
            def outputPath = jar.outputs.files.singleFile.toPath().toAbsolutePath().toString()
            signTask.signaturesByKey.containsKey(outputPath)
            signTask.signaturesByKey.get(outputPath) == signTask.singleSignature
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. src/cmd/gofmt/long_test.go

    	handleFile := func(filename string, d fs.DirEntry, err error) error {
    		if err != nil {
    			t.Error(err)
    			return nil
    		}
    		// don't descend into testdata directories
    		if isGoFile(d) && !strings.Contains(filepath.ToSlash(filename), "/testdata/") {
    			filenames <- filename
    			nfiles++
    		}
    		return nil
    	}
    
    	// test Go files provided via -files, if any
    	if *files != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 20:27:28 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/files/misc/groovy/build.gradle

    tasks.register('ensureDirectory') {
        // Store target directory into a variable to avoid project reference in the configuration cache
        def directory = file("images")
    
        doLast {
            Files.createDirectories(directory.toPath())
        }
    }
    // end::mkdir-example[]
    
    // tag::move-example[]
    tasks.register('moveReports') {
        // Store the build directory into a variable to avoid project reference in the configuration cache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 932 bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java

                    try {
                        Path dest = download.getPath();
                        Files.createDirectories(dest.getParent());
                        Files.copy(remoteFile.toPath(), dest);
                    } catch (IOException e) {
                        if (!remoteFile.exists()) {
                            download.setException(new ArtifactNotFoundException(download.getArtifact(), repository));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 16:33:18 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Equivalence.java

     *     source-compatible</a> since 4.0)
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    /*
     * The type parameter is <T> rather than <T extends @Nullable> so that we can use T in the
     * doEquivalent and doHash methods to indicate that the parameter cannot be null.
     */
    public abstract class Equivalence<T> {
      /** Constructor for use by subclasses. */
      protected Equivalence() {}
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                File remoteFile = new File(remoteRepo.getBasedir(), remoteRepo.pathOf(artifact));
    
                Files.createDirectories(localFile.toPath().getParent());
                Files.copy(remoteFile.toPath(), localFile.toPath());
            }
    
            artifact.setResolved(true);
        }
    
        public void retrieve(
                ArtifactRepository repository,
                File destination,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/samples/templates/precompiled-script-plugin-utils/src/main/java/com/example/ReadmeVerificationTask.java

        public abstract ListProperty<String> getReadmePatterns();
    
        @TaskAction
        void verifyServiceReadme() throws IOException {
            String readmeContents = new String (Files.readAllBytes(getReadme().getAsFile().get().toPath()));
            for (String requiredSection : getReadmePatterns().get()) {
                Pattern pattern = Pattern.compile(requiredSection, Pattern.MULTILINE);
                if (!pattern.matcher(readmeContents).find()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

        }
    
        @Nonnull
        @Override
        public Path getPomPath() {
            return nonNull(project.getFile(), "pomPath").toPath();
        }
    
        @Override
        public Path getBasedir() {
            return nonNull(project.getBasedir(), "basedir").toPath();
        }
    
        @Nonnull
        @Override
        public List<DependencyCoordinate> getDependencies() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 16 08:45:24 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/ClassLoaderUtilsTest.groovy

            File classpath = ClasspathUtil.getClasspathForClass(testClass)
            File classFile = new File(classpath, testClass.name.replace('.', '/') + '.class')
            byte[] bytes = Files.readAllBytes(classFile.toPath())
            MyClassLoader myClassLoader = new MyClassLoader()
    
            when:
            Class klass = ClassLoaderUtils.define(myClassLoader, DefaultClassLoaderFactoryTestHelper.name, bytes)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top