Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 173 for tophash (0.13 sec)

  1. 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)
  2. 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)
  3. src/cmd/vendor/golang.org/x/mod/sumdb/dirhash/hash.go

    			return fmt.Errorf("%s is not a directory", dir)
    		}
    
    		rel := file
    		if dir != "." {
    			rel = file[len(dir)+1:]
    		}
    		f := filepath.Join(prefix, rel)
    		files = append(files, filepath.ToSlash(f))
    		return nil
    	})
    	if err != nil {
    		return nil, err
    	}
    	return files, nil
    }
    
    // HashZip returns the hash of the file content in the named zip file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:59:52 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/SingleIncludePatternFileTree.java

                    RelativePath path = new RelativePath(true, pathSegments.toArray(new String[0]));
                    FileVisitDetails details = AttributeBasedFileVisitDetailsFactory.getRootFileVisitDetails(file.toPath(), path, stopFlag, fileSystem);
                    if (!excludeSpec.isSatisfiedBy(details)) {
                        visitor.visitFile(details);
                    }
                }
            } else if (file.isDirectory()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  7. 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)
  8. okhttp/src/test/java/okhttp3/CacheCorruptionTest.kt

    import okhttp3.Headers.Companion.headersOf
    import okhttp3.internal.buildCache
    import okhttp3.java.net.cookiejar.JavaNetCookieJar
    import okhttp3.okio.LoggingFilesystem
    import okhttp3.testing.PlatformRule
    import okio.Path.Companion.toPath
    import okio.fakefilesystem.FakeFileSystem
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. pkg/volume/validation/pv_validation.go

    	}
    	return allErrs
    }
    
    // ValidatePathNoBacksteps will make sure the targetPath does not have any element which is ".."
    func ValidatePathNoBacksteps(targetPath string) error {
    	parts := strings.Split(filepath.ToSlash(targetPath), "/")
    	for _, item := range parts {
    		if item == ".." {
    			return errors.New("must not contain '..'")
    		}
    	}
    
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 09 11:14:08 UTC 2017
    - 2.2K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                    // to delete on exit
                }
            } else if (metadataFile.exists()) {
                try (InputStream input = Files.newInputStream(metadataFile.toPath())) {
                    metadata = new Metadata(new MetadataStaxReader().read(input, false));
                }
            }
    
            boolean changed;
    
            // If file could not be found or was not valid, start from scratch
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top