- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 6,527 for file2 (0.05 seconds)
-
build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt
import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test import org.junit.jupiter.api.io.TempDir import java.nio.file.FileVisitResult import java.nio.file.Files import java.nio.file.Path import java.nio.file.SimpleFileVisitor import java.nio.file.attribute.BasicFileAttributes import java.util.jar.JarEntry import java.util.jar.JarOutputStream class PackageListGeneratorIntegrationTest {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Mar 25 08:50:34 GMT 2025 - 5.1K bytes - Click Count (0) -
tests/test_tutorial/test_request_files/test_tutorial001_02.py
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_upload_file(tmp_path: Path, client: TestClient): path = tmp_path / "test.txt" path.write_bytes(b"<file content>") with path.open("rb") as file:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 7.4K 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) -
impl/maven-core/src/test/java/org/apache/maven/DefaultMavenTest.java
* under the License. */ package org.apache.maven; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import java.io.File; import java.nio.file.Files; import java.util.concurrent.atomic.AtomicReference; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.DefaultArtifact; import org.apache.maven.execution.MavenExecutionRequest;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 4.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PomDiscovery.java
import static eu.maveniverse.domtrip.maven.MavenPomElements.Elements.MODULES; import static eu.maveniverse.domtrip.maven.MavenPomElements.Files.POM_XML; /** * Discovers and loads Maven POM files in a Maven project hierarchy. * * <p>This class recursively discovers all POM files in a Maven project hierarchy * and loads them as domtrip Documents. Individual strategies can create domtrip Editors
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 4.8K bytes - Click Count (0) -
ci/official/utilities/setup_docker.sh
netsh advfirewall firewall add rule name="Allow Metadata Proxy" dir=in action=allow protocol=TCP localport=80 remoteip="$CONTAINER_IP_ADDR" # Stop non-essential indexing and link tracking services that # may lock new files or symlinks. # They may be causing sporadic "Permission denied" errors during Bazel builds. # b/461500885
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Thu Nov 20 17:33:55 GMT 2025 - 2.9K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.model.building; import java.io.File; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Paths; import org.apache.maven.api.model.Model; import org.apache.maven.model.v4.MavenStaxReader; import org.codehaus.plexus.util.xml.Xpp3Dom; import org.junit.jupiter.api.Test;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 3.7K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
protected fun File.withJsonFile(path: String, @Language("json") text: String): File = withFile(path, text) private fun File.withUniqueDirectory(prefixPath: String): File = Files.createTempDirectory( withDirectory(prefixPath.substringBeforeLast("/")).toPath(), prefixPath.substringAfterLast("/") ).toFile() private fun File.withDirectory(path: String): File =Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Dec 30 10:14:25 GMT 2025 - 18K bytes - Click Count (0) -
utils/utils.go
frame, _ := frames.Next() if (!strings.HasPrefix(frame.File, gormSourceDir) || strings.HasSuffix(frame.File, "_test.go")) && !strings.HasSuffix(frame.File, ".gen.go") { return frame } } return runtime.Frame{} } // FileWithLineNum return the file name and line number of the current file func FileWithLineNum() string { frame := CallerFrame() if frame.PC != 0 {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Oct 30 10:56:26 GMT 2025 - 4.5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.services; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Path; import java.util.Objects; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Nonnull;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 8.2K bytes - Click Count (0)