Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 5,904 for FILE (0.04 sec)

  1. platforms/core-execution/build-cache-local/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCache.java

        }
    
        private void loadInsideLock(HashCode key, Consumer<? super File> reader) {
            File file = getCacheEntryFile(key);
            if (!file.exists()) {
                return;
            }
    
            fileAccessTracker.markAccessed(file);
    
            try {
                reader.accept(file);
            } catch (Exception e) {
                // Try to move the file out of the way in case its permanently corrupt
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:53 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/RandomAccessFileInputStream.java

        private final RandomAccessFile file;
    
        public RandomAccessFileInputStream(RandomAccessFile file) {
            this.file = file;
        }
    
        @Override
        public long skip(long n) throws IOException {
            file.seek(file.getFilePointer() + n);
            return n;
        }
    
        @Override
        public int read(byte[] bytes) throws IOException {
            return file.read(bytes);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/integTest/resources/org/gradle/compile/daemon/ParallelCompilerDaemonIntegrationTest/shared/JavaClass.java

                urls.add(file.toURI());
            }
            return urls;
        }
    
        public Collection<File> getAsFiles() {
            return files;
        }
    
        public URL[] getAsURLArray() {
            Collection<URL> result = getAsURLs();
            return result.toArray(new URL[0]);
        }
    
        public Collection<URL> getAsURLs() {
            List<URL> urls = new ArrayList<URL>();
            for (File file : files) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:27:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/CppLibraryInitIntegrationTest.groovy

            then:
            subprojectDir.file("src/main/cpp").assertHasDescendants(SAMPLE_LIB_CLASS)
            subprojectDir.file("src/main/public").assertHasDescendants("some-thing.h")
            subprojectDir.file("src/test/cpp").assertHasDescendants(SAMPLE_LIB_TEST_CLASS)
    
            and:
            subprojectDir.file("src/main/public/some-thing.h").text.contains("namespace some_thing {")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/NativePlatformBackedFileMetadataAccessor.java

    import net.rubygrapefruit.platform.file.FileInfo;
    import net.rubygrapefruit.platform.file.Files;
    import org.gradle.api.UncheckedIOException;
    import org.gradle.internal.file.FileMetadata;
    import org.gradle.internal.file.FileMetadata.AccessType;
    import org.gradle.internal.file.FileMetadataAccessor;
    import org.gradle.internal.file.impl.DefaultFileMetadata;
    
    import java.io.File;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:55 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/FileMetadataAccessor.java

     */
    
    package org.gradle.internal.file;
    
    import java.io.File;
    
    public interface FileMetadataAccessor {
        /**
         * Gets the file metadata of a {@link File}.
         * <p>
         * If the type of the file cannot be determined, or is
         * neither {@link org.gradle.internal.file.FileType#RegularFile}
         * nor {@link org.gradle.internal.file.FileType#Directory},
         * then the file type of the file metadata is of type
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:55 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute3InstanceInstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy

                [fromString(), "command.execute(['FOOBAR=foobar'], file('$pwd'))", pwd, "foobar"],
                [fromGroovyString(), "command.execute(['FOOBAR=foobar'], file('$pwd'))", pwd, "foobar"],
                [fromStringArray(), "command.execute(['FOOBAR=foobar'], file('$pwd'))", pwd, "foobar"],
                [fromStringList(), "command.execute(['FOOBAR=foobar'], file('$pwd'))", pwd, "foobar"],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. platforms/core-runtime/build-process-services/src/main/java/org/gradle/api/internal/classpath/ManifestUtil.java

        private static final String[] EMPTY = new String[0];
    
        public static String createManifestClasspath(File jarFile, Collection<File> classpath) {
            List<String> paths = new ArrayList<String>(classpath.size());
            for (File file : classpath) {
                String path = constructRelativeClasspathUri(jarFile, file);
                paths.add(path);
            }
    
            return CollectionUtils.join(" ", paths);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/store/ResolutionResultsStoreFactoryTest.groovy

            def store3 = f.createStoreSet().nextBinaryStore()
    
            then:
            store.file != store2.file //rolled
            [store.file, store2.file, store3.file].each { it.exists() }
    
            when:
            new CompositeStoppable().add(store, store2, store3)
    
            then:
            [store.file, store2.file, store3.file].each { !it.exists() }
        }
    
        def "provides stores"() {
            def set1 = f.createStoreSet()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskWiringIntegrationTest.groovy

                    inFile = file("in.txt")
                    outFile = layout.buildDirectory.file("out.txt")
                }
                task transformer(type: InputTask) {
                    inValue = producer.outFile.map { f -> f.asFile.text as Integer }.map { i -> i + 2 }
                    outFile = file("out.txt")
                }
            """
            def input = file("in.txt")
            def output = file("out.txt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top