- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 3,772 for file2 (0.02 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/root/DefaultRootLocator.java
import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Path; /** * @deprecated use {@link org.apache.maven.api.services.model.RootLocator} instead */ @Named @Deprecated(since = "4.0.0") public class DefaultRootLocator implements RootLocator { public boolean isRootDirectory(Path dir) { if (Files.isDirectory(dir.resolve(".mvn"))) { return true; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ExtractGradleApiInfoTask.java
import org.gradle.api.tasks.OutputFile; import org.gradle.api.tasks.TaskAction; import java.io.File; import java.io.IOException; import java.io.UncheckedIOException; import java.net.URI; import java.nio.file.FileSystem; import java.nio.file.FileSystems; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.StandardCopyOption; import java.util.Collections; /**
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Nov 22 22:15:41 UTC 2023 - 3.4K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial001_03.py
path.write_bytes(b"<file content>") client = TestClient(app) 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 = tmp_path / "test.txt" path.write_bytes(b"<file content>") client = TestClient(app)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt
return removed } @Throws(IOException::class) internal fun removeEntry(entry: Entry): Boolean { // If we can't delete files that are still open, mark this entry as a zombie so its files will // be deleted when those files are closed. if (!civilizedFileSystem) { if (entry.lockingSourceCount > 0) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 34.7K bytes - Viewed (0) -
cmd/data-usage_test.go
} if e.ObjSizes != w.oSizes { t.Error("got histogram", e.ObjSizes, "want", w.oSizes) } }) } } func createUsageTestFiles(t *testing.T, base, bucket string, files []usageTestFile) { for _, f := range files { err := os.MkdirAll(filepath.Dir(filepath.Join(base, bucket, f.name)), os.ModePerm) if err != nil { t.Fatal(err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 22:23:33 UTC 2024 - 14.7K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
if len(outputMessages) == 0 { if parseErrors == 0 { if len(readers) > 0 { var files []string for _, r := range readers { files = append(files, r.Name) } if len(files) > 1 { fmt.Fprintf(cmd.ErrOrStderr(), "\u2714 No validation issues found when analyzing:\n - %s\n", strings.Join(files, "\n - ")) } else {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 31 06:53:50 UTC 2024 - 17.6K bytes - Viewed (0) -
licenses/sigs.k8s.io/yaml/goyaml.v3/LICENSE
This project is covered by two different licenses: MIT and Apache. #### MIT License #### The following files were ported to Go from C files of libyaml, and thus are still covered by their original MIT license, with the additional copyright staring in 2011 when the project was ported over: apic.go emitterc.go parserc.go readerc.go scannerc.go writerc.go yamlh.go yamlprivateh.go Copyright (c) 2006-2010 Kirill Simonov
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 31 19:53:28 UTC 2023 - 2.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/IoTestCase.java
@CanIgnoreReturnValue private boolean delete(File file) { if (file.isDirectory()) { File[] files = file.listFiles(); if (files != null) { for (File f : files) { if (!delete(f)) { return false; } } } } if (!file.delete()) { logger.log(Level.WARNING, "couldn't delete file: {0}", new Object[] {file}); return false;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 31 12:36:13 UTC 2024 - 5.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
).toFile() private fun File.withDirectory(path: String): File = resolve(path).apply { mkdirs() } private fun File.withSettings(text: String = ""): File = withFile("settings.gradle.kts", text) private fun File.withBuildScript(text: String = ""): File = withFile("build.gradle.kts", text)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 16.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java
private final File file; public ProjectArtifactMetadata(Artifact artifact) { this(artifact, null); } public ProjectArtifactMetadata(Artifact artifact, File file) { super(artifact); this.file = file; } public File getFile() { return file; } public String getRemoteFilename() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.8K bytes - Viewed (0)