- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 9,894 for file (0.51 sec)
-
android/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;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
} private static File fullpath(String path) { return new File(new File(path).toURI()); } private static URL makeJarUrlWithName(String name) throws IOException { /* * TODO: cpovirk - Use java.nio.file.Files.createTempDirectory instead of * c.g.c.io.Files.createTempDir? */ File fullPath = new File(Files.createTempDir(), name); File jarFile = pickAnyJarFile();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Jul 07 16:50:33 GMT 2023 - 24.9K bytes - Viewed (0) -
src/archive/tar/writer_test.go
testClose{nil}, }, }, { // This file was produced using GNU tar v1.26: // echo "Slartibartfast" > file.txt // ln file.txt hard.txt // tar -b 1 --format=ustar -c -f hardlink.tar file.txt hard.txt file: "testdata/hardlink.tar", tests: []testFnc{ testHeader{Header{ Typeflag: TypeReg, Name: "file.txt", Size: 15, Mode: 0644, Uid: 1000,
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Feb 27 16:39:23 GMT 2024 - 38.7K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/ClassPath.java
logger.warning("Cannot access " + file + ": " + e); // TODO(emcmanus): consider whether to log other failure cases too. return; } if (file.isDirectory()) { scanDirectory(file, builder); } else { scanJar(file, scannedUris, builder); } } private void scanJar( File file, Set<File> scannedUris, ImmutableSet.Builder<ResourceInfo> builder)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jan 05 17:43:40 GMT 2022 - 24.9K bytes - Viewed (1) -
src/main/java/jcifs/FileNotifyInformation.java
/** * */ public static final int FILE_NOTIFY_CHANGE_STREAM_SIZE = 0x00000400; /** * */ public static final int FILE_NOTIFY_CHANGE_STREAM_WRITE = 0x00000800; // actions returned /** * File has been added */ public static final int FILE_ACTION_ADDED = 0x00000001; /**
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 4.9K bytes - Viewed (0) -
cmd/xl-storage_test.go
t.Fatalf("Unable to create a file \"as-file\", %s", err) } if err = xlStorage.AppendFile(context.Background(), "exists", "as-file-parent/xl.meta", xlMeta); err != nil { t.Fatalf("Unable to create a file \"as-file-parent\", %s", err) } if err = xlStorage.MakeVol(context.Background(), "exists/as-file/"+fi.DataDir); err != nil {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 11 17:45:28 GMT 2024 - 66.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/net/URLUtilTest.java
} /** * @throws Exception */ public void testToFile() throws Exception { final File file = new File("Program Files/hoge.txt"); final URL url = file.toURI().toURL(); assertEquals(file.getAbsoluteFile(), URLUtil.toFile(url)); assertEquals(file.getAbsoluteFile(), URLUtil.toFile(new URL("file:Program%20Files/hoge.txt"))); }
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.9K bytes - Viewed (0) -
docs_src/request_files/tutorial001_02_py310.py
from fastapi import FastAPI, File, UploadFile app = FastAPI() @app.post("/files/") async def create_file(file: bytes | None = File(default=None)): if not file: return {"message": "No file sent"} else: return {"file_size": len(file)} @app.post("/uploadfile/") async def create_upload_file(file: UploadFile | None = None): if not file: return {"message": "No upload file sent"} else:
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 470 bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenMetadata.java
private final Path path; protected final Date timestamp; private boolean merged; @Deprecated protected MavenMetadata(Metadata metadata, File file, Date timestamp) { this(metadata, file != null ? file.toPath() : null, timestamp); } protected MavenMetadata(Metadata metadata, Path path, Date timestamp) { this.metadata = metadata; this.path = path;
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/DefaultExtensionRealmCache.java
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 4.7K bytes - Viewed (0)