Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of about 10,000 for FILE (0.23 sec)

  1. src/go/token/position.go

    // from the beginning of the file. Thus, the file base offset is the Pos value
    // representing the first byte in the file.
    //
    // To create the Pos value for a specific source offset (measured in bytes),
    // first add the respective file to the current file set using [FileSet.AddFile]
    // and then call [File.Pos](offset) for that file. Given a Pos value p
    // for a specific file set fset, the corresponding [Position] value is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/classpath/ClasspathWalker.java

            for (File file : files) {
                FileMetadata fileMetadata = stat.stat(file);
                if (fileMetadata.getType() == FileType.RegularFile) {
                    visitFile(file, prefix + file.getName(), visitor);
                } else if (fileMetadata.getType() == FileType.Directory) {
                    visitDir(file, prefix + file.getName() + "/", visitor);
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_request_files/test_tutorial001.py

        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": 14}
    
    
    def test_post_large_file(tmp_path):
        default_pydantic_max_size = 2**16
        path = tmp_path / "test.txt"
        path.write_bytes(b"x" * (default_pydantic_max_size + 1))
    
        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. maven-model-builder/src/main/java/org/apache/maven/model/locator/ModelLocator.java

         */
        @Deprecated
        File locatePom(File projectDirectory);
    
        /**
         * Locates the POM file within the specified project directory. In case the given project directory does not exist
         * or does not contain a POM file, the return value indicates the expected path to the POM file. Subdirectories of
         * the project directory will not be considered when locating the POM file. The return value will be an absolute
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/files/fileCollections/groovy/build.gradle

    import java.nio.file.Paths
    
    // tag::simple-params[]
    FileCollection collection = layout.files('src/file1.txt',
                                      new File('src/file2.txt'),
                                      ['src/file3.csv', 'src/file4.csv'],
                                      Paths.get('src', 'file5.txt'))
    // end::simple-params[]
    
    file('src').mkdirs()
    file('src/dir1').mkdirs()
    file('src/file1.txt').mkdirs()
    file('src2').mkdirs()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 13:55:00 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

            File file = new File(localRepository.getBasedir(), localRepository.pathOf(a));
            file.delete();
            a.setFile(file);
    
            File touchFile = updateCheckManager.getTouchfile(a);
            touchFile.delete();
    
            assertTrue(updateCheckManager.isUpdateRequired(a, remoteRepository));
    
            file.getParentFile().mkdirs();
            file.createNewFile();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/impl/DefaultDeleter.java

        }
    
        private void tryHardToDeleteOrThrow(File file) throws IOException {
            FileDeletionResult result = tryHardToDelete(file);
            if (!result.isSuccessful) {
                throw new IOException("Couldn't delete " + file, result.exception);
            }
        }
    
        private FileDeletionResult tryHardToDelete(File file) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 17:10:06 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintWriter.kt

        private
        fun reportUniqueFileSystemEntryInput(file: File, consumer: String?) {
            if (reportedFileSystemEntries.add(file)) {
                reportFileSystemEntryInput(file, consumer)
            }
        }
    
        private
        fun reportFileInput(file: File, consumer: String?) {
            reportInput(consumer, null) {
                text("file ")
                reference(host.displayNameOf(file))
            }
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_request_files/test_tutorial001_an.py

        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": 14}
    
    
    def test_post_large_file(tmp_path):
        default_pydantic_max_size = 2**16
        path = tmp_path / "test.txt"
        path.write_bytes(b"x" * (default_pydantic_max_size + 1))
    
        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/cache/internal/DefaultFileContentCacheFactoryTest.groovy

            def file = new File("thing.txt")
            def cache = factory.newCache("cache", 12000, calculator, BaseSerializerFactory.INTEGER_SERIALIZER)
    
            when:
            def result = cache.get(file)
    
            then:
            result == 12
    
            and:
            interaction {
                snapshotRegularFile(file)
            }
            1 * calculator.calculate(file, true) >> 12
            0 * _
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top