Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 189 for tophash (0.12 sec)

  1. maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

                Artifact artifact = createArtifact("artifact", "1.0");
    
                File file = new File(artifactBasedir, "artifact-1.0.jar");
                assertEquals("dummy", new String(Files.readAllBytes(file.toPath()), StandardCharsets.UTF_8).trim());
    
                artifactDeployer.deploy(file, artifact, remoteRepository(), localRepository());
    
                ArtifactRepository remoteRepository = remoteRepository();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/test/groovy/org/gradle/tooling/internal/provider/continuous/ContinuousBuildActionExecutorTest.groovy

            then:
            conditions.eventually {
                waitingForChangesMessageAppears()
            }
    
            when:
            changeListeners.broadcastChange(FileWatcherRegistry.Type.MODIFIED, file.toPath())
    
            then:
            conditions.eventually {
                rebuiltBecauseOfChange()
            }
    
            cleanup:
            cancellationToken.cancel()
            buildExits(runningBuild)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java

            this.modelLocator = modelLocator;
            this.modelReader = modelReader;
        }
    
        @Deprecated
        @Override
        public File locatePom(File projectDirectory) {
            return locatePom(projectDirectory.toPath()).toFile();
        }
    
        @Override
        public Path locatePom(Path projectDirectory) {
            // Note that the ModelProcessor#locatePom never returns null
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/nio/Jdk7FileCanonicalizer.java

    public class Jdk7FileCanonicalizer implements FileCanonicalizer {
        @SuppressWarnings("Since15")
        @Override
        public File canonicalize(File file) throws FileException {
            try {
                return file.toPath().toRealPath().toFile();
            } catch (IOException e) {
                throw new FileException(String.format("Could not canonicalize file %s.", file), e);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/nio/NioFileMetadataAccessorTest.groovy

            assert fileMetadata.lastModified == lastModified(file)
        }
    
        private static long lastModified(File file) {
            return Files.getFileAttributeView(file.toPath(), BasicFileAttributeView, LinkOption.NOFOLLOW_LINKS).readAttributes().lastModifiedTime().toMillis()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

    import okio.BufferedSink
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    import okio.FileSystem
    import okio.Path
    import okio.Path.Companion.toPath
    import okio.buffer
    import okio.gzip
    
    /**
     * Downloads the public suffix list from https://publicsuffix.org/list/public_suffix_list.dat and
     * transforms the file into an efficient format used by OkHttp.
     *
     *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top