Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 8,738 for FILE (0.08 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractDirectorySensitivityIntegrationSpec.groovy

            createParameterizedTransformWithSensitivity(DirectorySensitivity.DEFAULT)
            file('augmented').mkdir()
            file('augmented/a').mkdir()
            file('augmented/b').mkdir()
            file('augmented/b/b1').createFile()
    
            file('bar/foo').mkdir()
            file('bar/foo/c').mkdir()
            file('bar/foo/d').mkdir()
            file('bar/foo/d1').createFile()
    
            when:
            execute('showTransformedFiles')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Install.java

        private List<File> listDirs(File distDir) {
            if (!distDir.exists()) {
                return emptyList();
            }
            File[] files = distDir.listFiles();
            if (files == null) {
                return emptyList();
            }
    
            List<File> dirs = new ArrayList<File>();
            for (File file : files) {
                if (file.isDirectory()) {
                    dirs.add(file);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/GFileUtilsTest.groovy

            def original = file.makeOlder().lastModified()
    
            when:
            touch(file)
    
            then:
            file.file
            file.lastModified() > original
            file.length() == 0
        }
    
        def "does not use fallback for touching non-empty files"() {
            given:
            def fileAttributeView = Stub(BasicFileAttributeView) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/files/src/testFixtures/groovy/org/gradle/internal/file/AbstractFileMetadataAccessorTest.groovy

            def file = tmpDir.file("file")
            file.text = "123"
            def link = tmpDir.file("link")
            link.createLink(file)
            def linkToLink = tmpDir.file("linkToLink")
            linkToLink.createLink(link)
    
            expect:
            def stat = accessor.stat(linkToLink)
            stat.type == FileType.RegularFile
            assertSameLastModified(stat, file)
            stat.length == 3
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top