- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 1,483 for fixes (0.02 seconds)
-
src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java
// Test that Files.createDirectories creates nested directories atomically Path tempDir = Files.createTempDirectory("toctou_cmd_test"); try { Path nestedPath = tempDir.resolve("a").resolve("b").resolve("c"); assertFalse(Files.exists(nestedPath)); Files.createDirectories(nestedPath); assertTrue(Files.exists(nestedPath));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 27.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/IndexExportJobTest.java
tempDir = Files.createTempDirectory("indexExportJobTest"); } @Override protected void tearDown(TestInfo testInfo) throws Exception { deleteRecursive(tempDir); super.tearDown(testInfo); } private void deleteRecursive(final Path path) throws IOException { if (Files.isDirectory(path)) { Files.list(path).forEach(child -> { try {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 09:08:38 GMT 2026 - 66.1K bytes - Click Count (0) -
src/archive/zip/example_test.go
// Create a new zip archive. w := zip.NewWriter(buf) // Add some files to the archive. var files = []struct { Name, Body string }{ {"readme.txt", "This archive contains some text files."}, {"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"}, {"todo.txt", "Get animal handling licence.\nWrite more examples."}, } for _, file := range files { f, err := w.Create(file.Name) if err != nil { log.Fatal(err)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Jan 27 00:22:03 GMT 2016 - 2K bytes - Click Count (0) -
.github/labeler.yml
docs: - all: - changed-files: - any-glob-to-any-file: - docs/en/docs/** - docs_src/** - all-globs-to-all-files: - '!fastapi/**' - '!pyproject.toml' - '!docs/en/data/sponsors.yml' - '!docs/en/overrides/main.html' lang-all: - all: - changed-files: - any-glob-to-any-file: - docs/*/docs/** - all-globs-to-all-files: - '!docs/en/docs/**'Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 21 16:26:38 GMT 2026 - 888 bytes - Click Count (0) -
tests/test_request_params/test_file/test_optional_list.py
@pytest.mark.parametrize( "path", [ "/optional-list-bytes", "/optional-list-uploadfile", ], ) def test_optional_list(path: str): client = TestClient(app) response = client.post(path, files=[("p", b"hello"), ("p", b"world")]) assert response.status_code == 200 assert response.json() == {"file_size": [5, 5]} # =====================================================================================
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 21 13:01:31 GMT 2026 - 10.8K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java
} protected abstract void merge(Metadata recessive); static Metadata read(Path metadataPath) throws RepositoryException { if (!Files.exists(metadataPath)) { return new Metadata(); } try (InputStream input = Files.newInputStream(metadataPath)) { return new Metadata(new MetadataStaxReader().read(input, false)); } catch (IOException | XMLStreamException e) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.2K bytes - Click Count (0) -
ci/README.md
> effort to improve the structure of CI and build related files within the > TensorFlow repo. This warning will be removed when the contents of this > directory are stable and appropriate documentation around its usage is in > place. Maintainer: TensorFlow DevInfra ******************************************************************************** The CI folder contains the configuration files and scripts used to build, test,
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Jun 06 21:00:01 GMT 2023 - 825 bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.6K bytes - Click Count (0) -
build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt
val outputPath = projectDir.resolve("mylib.jar") Files.newOutputStream(outputPath).use { outputStream -> JarOutputStream(outputStream).use { jarStream -> sourceFiles.forEach { dir -> check(Files.isDirectory(dir)) { "Must be a directory" } Files.walkFileTree(dir, object : SimpleFileVisitor<Path>() {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Mar 25 08:50:34 GMT 2025 - 5.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
Path tempDir = Files.createTempDirectory("smbtest"); // Create directory structure Files.createDirectories(tempDir.resolve("public")); Files.createDirectories(tempDir.resolve("shared")); // Create some initial files Files.writeString(tempDir.resolve("public/readme.txt"), "This is a public share for testing");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 56K bytes - Click Count (0)