- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 3,934 for MFiles (1.52 sec)
-
src/internal/diff/diff_test.go
} func Test(t *testing.T) { files, _ := filepath.Glob("testdata/*.txt") if len(files) == 0 { t.Fatalf("no testdata") } for _, file := range files { t.Run(filepath.Base(file), func(t *testing.T) { a, err := txtar.ParseFile(file) if err != nil { t.Fatal(err) } if len(a.Files) != 3 || a.Files[2].Name != "diff" { t.Fatalf("%s: want three files, third named \"diff\"", file) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 18 16:56:29 UTC 2022 - 1.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/NioFileInterceptors.java
@InterceptCalls @StaticMethod(ofClass = Files.class) public static boolean intercept_isRegularFile( Path path, @VarargParameter LinkOption[] options, @CallerClassName String consumer ) { tryReportFileSystemEntryObserved(path, consumer); return Files.isRegularFile(path, options); } @InterceptCalls @StaticMethod(ofClass = Files.class)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 20 12:34:20 UTC 2023 - 12.2K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/FileUtilsTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 4.2K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial002_py39.py
client = TestClient(app) with path.open("rb") as file, path2.open("rb") as file2: response = client.post( "/files/", files=( ("files", ("test.txt", file)), ("files", ("test2.txt", file2)), ), ) assert response.status_code == 200, response.text assert response.json() == {"file_sizes": [14, 15]}
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 9K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial003_an.py
client = TestClient(app) with path.open("rb") as file, path2.open("rb") as file2: response = client.post( "/files/", files=( ("files", ("test.txt", file)), ("files", ("test2.txt", file2)), ), ) assert response.status_code == 200, response.text assert response.json() == {"file_sizes": [14, 15]}
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 7.1K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classpath/DefaultClassPath.java
} public static ClassPath of(File... files) { if (files == null || files.length == 0) { return EMPTY; } else { return of(Arrays.asList(files)); } } /** * Only here for the Kotlin DSL, use {@link #of(Iterable)} instead. */ public static ClassPath of(Collection<File> files) { if (files == null || files.isEmpty()) { return EMPTY;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 9.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopySpecEncodingIntegrationSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 21 12:45:30 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollectionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 18 17:09:50 UTC 2024 - 53K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/LocalFileDependencyBackedArtifactSetTest.groovy
_ * dep.componentId >> null _ * dep.files >> files _ * listener.includeFileDependencies() >> true 1 * files.files >> ([f1, f2] as Set) _ * filter.isSatisfiedBy(_) >> false 0 * visitor._ } def "visits selected files when visitor requests them"() { def f1 = new File("a.jar") def f2 = new File("a.dll") def id = Stub(ComponentIdentifier)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 04:22:29 UTC 2023 - 9.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/fingerprint/impl/AbsolutePathFileCollectionFingerprinterTest.groovy
when: FileCollectionFingerprint fingerprint = fingerprinter.fingerprint(files(file)) virtualFileSystem.invalidateAll() changes(fingerprint, fingerprinter.fingerprint(files(file)), listener) file.setLastModified(45600L) virtualFileSystem.invalidateAll() changes(fingerprint, fingerprinter.fingerprint(files(file)), listener) then: 0 * listener._ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 20 16:00:23 UTC 2022 - 9.9K bytes - Viewed (0)