- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of about 10,000 for FILE (0.12 sec)
-
platforms/jvm/plugins-groovy/src/test/groovy/org/gradle/api/tasks/GroovyRuntimeTest.groovy
project.file("other.jar"), project.file("groovy-${groovyVersion}.jar"), project.file("groovy-ant-${groovyVersion}.jar"), project.file("groovy-astbuilder-${groovyVersion}.jar"), project.file("groovy-console-${groovyVersion}.jar"), project.file("groovy-datetime-${groovyVersion}.jar"), project.file("groovy-dateutil-${groovyVersion}.jar"),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 12 18:44:49 UTC 2023 - 6.6K bytes - Viewed (0) -
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) -
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) -
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) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/UnpackingVisitorTest.groovy
def "resolves String"() { def file = new File('some-file') when: visitor.add('path') then: 1 * resolver.resolve('path') >> file 1 * context.accept(_) >> { FileCollectionInternal collection -> collection.files == [file] as Set } 0 * context._ } def "resolves File"() { def file = new File('some-file')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5.9K bytes - Viewed (0) -
pkg/filewatcher/fakefilewatcher_test.go
default: } wantEvent := fsnotify.Event{Name: file, Op: fsnotify.Write} fakeWatcher.InjectEvent(file, wantEvent) gotEvent := <-watcher.Events(file) if gotEvent != wantEvent { t.Fatalf("Events() failed: got %v want %v", gotEvent, wantEvent) } wantError := fmt.Errorf("error=%v", file) fakeWatcher.InjectError(file, wantError) gotError := <-watcher.Errors(file) if gotError != wantError {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 14:06:41 UTC 2023 - 3.8K bytes - Viewed (0) -
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) -
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) -
platforms/jvm/language-jvm/src/main/java/org/gradle/api/internal/tasks/compile/DefaultJvmLanguageCompileSpec.java
import javax.annotation.Nullable; import java.io.File; import java.io.Serializable; import java.util.List; public class DefaultJvmLanguageCompileSpec implements JvmLanguageCompileSpec, Serializable { private File workingDir; private File tempDir; private List<File> classpath; private File destinationDir; private Iterable<File> sourceFiles; private Integer release;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractBaseDirFileResolver.java
} File file = convertObjectToFile(path); if (file == null) { throw new IllegalArgumentException(String.format("Cannot convert path to File. path='%s'", path)); } if (!file.isAbsolute()) { File baseDir = getBaseDir(); if (!GUtil.isTrue(baseDir)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.5K bytes - Viewed (0)