- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 1,065 for fileOps (0.07 seconds)
-
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
* Returns non-empty directories: the mapping of directory to at most 4 leftover files' relative path in the directory. */ private fun TestFilesCleanupProjectState.tmpTestFiles(): LeftoverFiles = projectBuildDir.get().asFile.resolve("tmp/teŝt files") .listFiles() ?.associateWith { dir -> val dirPath = dir.toPath() Files.walk(dirPath).use { paths ->Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Nov 05 11:43:49 GMT 2025 - 12.5K bytes - Click Count (1) -
android/guava-tests/test/com/google/common/io/FilesFileTraverserTest.java
/** * Tests for {@link Files#fileTraverser()}. * * @author Jens Nyman */ @NullUnmarked public class FilesFileTraverserTest extends IoTestCase { private File rootDir; @Override public void setUp() throws IOException { rootDir = createTempDir(); } public void testFileTraverser_emptyDirectory() throws Exception {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.4K bytes - Click Count (0) -
docs_src/request_files/tutorial002_py39.py
app = FastAPI() @app.post("/files/") async def create_files(files: list[bytes] = File()): return {"file_sizes": [len(file) for file in files]} @app.post("/uploadfiles/") async def create_upload_files(files: list[UploadFile]): return {"filenames": [file.filename for file in files]} @app.get("/") async def main(): content = """ <body> <form action="/files/" enctype="multipart/form-data" method="post">
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 786 bytes - Click Count (0) -
src/archive/tar/reader.go
// Externally, Next iterates through the tar archive as if it is a series of // files. Internally, the tar format often uses fake "files" to add meta // data that describes the next file. These meta data "files" should not // normally be visible to the outside. As such, this loop iterates through // one or more "header files" until it finds a "normal file". format := FormatUSTAR | FormatPAX | FormatGNU for {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Oct 07 19:46:36 GMT 2025 - 26.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
FileOutputStream out = new FileOutputStream(file); try { out.write(initialBytes); } finally { out.close(); } return Files.asByteSink(file, FileWriteMode.APPEND); } return Files.asByteSink(file); } @Override public byte[] getExpected(byte[] bytes) { if (initialBytes == null) { return checkNotNull(bytes); } else {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 17.9K bytes - Click Count (0) -
lib/time/update.bash
# license that can be found in the LICENSE file. # This script rebuilds the time zone files using files # downloaded from the ICANN/IANA distribution. # # To prepare an update for a new Go release, # consult https://www.iana.org/time-zones for the latest versions, # update CODE and DATA below, and then run # # ./update.bash -commit # # That will prepare the files and create the commit. # # To review such a commit (as the reviewer), use: #
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 16:47:56 GMT 2025 - 2.1K bytes - Click Count (0) -
.gitattributes
# Auto detect text files and perform LF normalization * text=auto # Known text files *.java text *.xml text *.yml text *.md text *.sh text *.css text *.txt text # Known binary files
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Nov 04 21:50:10 GMT 2014 - 196 bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java
// Verify POM was not modified String pomContent = Files.readString(pomFile); assertEquals(originalPom, pomContent, "Check should not modify POM files"); } @Test @DisplayName("apply goal should modify files") void applyShouldModifyFiles() throws Exception { Path pomFile = tempDir.resolve("pom.xml");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 9.3K bytes - Click Count (0) -
tests/test_tutorial/test_request_files/test_tutorial001.py
} def test_post_file(tmp_path, client: TestClient): path = tmp_path / "test.txt" path.write_bytes(b"<file content>") with path.open("rb") as file: response = client.post("/files/", files={"file": file}) assert response.status_code == 200, response.text assert response.json() == {"file_size": 14} def test_post_large_file(tmp_path, client: TestClient): default_pydantic_max_size = 2**16
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 7.1K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java
} finally { // Clean up - delete all files in the directory first try { Files.walk(tempDir) .sorted(java.util.Comparator.reverseOrder()) .forEach(path -> { try { Files.deleteIfExists(path); } catch (Exception e) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 4.9K bytes - Click Count (0)