- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 5,904 for FILE (0.11 sec)
-
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/AbstractFileSystemAccessTest.groovy
assert snapshot.absolutePath == file.absolutePath assert snapshot.name == file.name assert snapshot.type == FileType.RegularFile assert snapshot.hash == hashFile(file) } void assertIsMissingFileSnapshot(FileSystemLocationSnapshot snapshot, File file) { assert snapshot.absolutePath == file.absolutePath
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:55 UTC 2024 - 6.3K 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.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) -
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) -
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) -
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) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/notations/DependencyClassPathNotationConverter.java
for (File file : classPath) { String name = file.getName(); if (name.startsWith("kotlin-stdlib-") || name.startsWith("kotlin-reflect-")) { files.add(file); } } return files; } private Set<File> gradleTestKitFileCollection(Collection<File> testKitClasspath) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 18:30:57 UTC 2024 - 8.2K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheRepository.kt
} private fun chmod(file: File, mode: Int) { fileSystem.chmod(file, mode) } private fun markAccessed(stateFile: File) { fileAccessTracker.markAccessed(stateFile) } private fun <T> withExclusiveAccessToCache(baseDir: File, action: (File) -> T): T = cache.withFileLock( Supplier {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 9.2K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/DefaultOutputFilesRepositoryTest.groovy
repository.isGeneratedByGradle(file('build/file')) repository.isGeneratedByGradle(file('build/file/other')) !repository.isGeneratedByGradle(file('build/other')) !repository.isGeneratedByGradle(file('build/outputs/other')) !repository.isGeneratedByGradle(file('build/not-existing')) } private File file(String path) { tmpDir.file(path).absoluteFile }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:33 UTC 2024 - 3.2K bytes - Viewed (0)