- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of about 10,000 for FILE (0.19 sec)
-
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-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/ChmodBenchmark.java
File file = new File(tempDirFile, "file-" + counter.incrementAndGet()); boolean created = file.createNewFile(); blackhole.consume(created); } @Benchmark public void createFileJava7(Blackhole blackhole) throws IOException { Path file = Files.createFile(tempDirPath.resolve("file-" + counter.incrementAndGet())); blackhole.consume(file);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 12:13:32 UTC 2024 - 7.7K 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) -
platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionLifecycleIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 10:55:07 UTC 2023 - 11.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskIntegrationSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 67.9K bytes - Viewed (0) -
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) -
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) -
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)