- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 725 for getTime (0.05 sec)
-
guava-tests/test/com/google/common/io/SourceSinkFactories.java
private static final Logger logger = Logger.getLogger(FileFactory.class.getName()); private final ThreadLocal<File> fileThreadLocal = new ThreadLocal<>(); File createFile() throws IOException { File file = File.createTempFile("SinkSourceFile", "txt"); fileThreadLocal.set(file); return file; } File getFile() { return fileThreadLocal.get(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 17.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java
os.setFamily(profileOs.getFamily()); os.setName(profileOs.getName()); os.setVersion(profileOs.getVersion()); activation.setOs(os); } org.apache.maven.profiles.ActivationFile profileFile = profileActivation.getFile(); if (profileFile != null) { ActivationFile file = new ActivationFile();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
assertArgumentNotNull("url", url); final String s = url.getFile(); return URLUtil.decode(s, "UTF8"); } /** * Returns the file of the resource. * * @param url * The resource URL. Must not be {@literal null}. * @return The file. */ public static File getFile(final URL url) { assertArgumentNotNull("url", url);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 14.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java
public int getFileSize() { return (int) fileItem.getSize(); } @Override public String getFileName() { return getBaseFileName(fileItem.getName()); } protected String getBaseFileName(final String filePath) { final String fileName = new File(filePath).getName(); int colonIndex = fileName.indexOf(":");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
// Verify all children are present assertTrue(children.stream().anyMatch(f -> "file1.txt".equals(f.getName()))); assertTrue(children.stream().anyMatch(f -> "file2.txt".equals(f.getName()))); assertTrue(children.stream().anyMatch(f -> "dir1".equals(f.getName()))); } @Test public void testMarkComplete() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 8.4K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
String filePath = directoryPath + "/" + fileInfo.getName(); // Create SmbFile with cached attributes SmbFile file = new SmbFile(filePath, context); file.setCachedAttributes(new SmbFileAttributes() { @Override public long getSize() { return fileInfo.getSize(); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java
@SuppressWarnings("deprecation") List<Artifact> artifacts = project.getCompileArtifacts(); assertEquals(1, artifacts.size()); assertThat(artifacts.get(0).getFile().getName(), endsWith("tools.jar")); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
assertTrue(junitJar.exists()); final URL url = junitJar.toURI().toURL(); final URLClassLoader loader = new URLClassLoader(new URL[] { url }); loader.loadClass(TestCase.class.getName()); } /** * @throws Exception */ public void testIsExist() throws Exception { assertEquals("1", true, ResourceUtil.isExist("CLMessages.properties"));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
} File file = out.getFile(); assertNull(file); // Write data to go over the threshold if (chunk2 > 0) { if (JAVA_IO_TMPDIR.value().equals("/sdcard")) { assertThrows(IOException.class, () -> write(out, data, chunk1, chunk2, singleByte)); return; } write(out, data, chunk1, chunk2, singleByte); file = out.getFile(); assertEquals(dataSize, file.length());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java
public String getType() { return metadata.getRemoteFilename(); } private String emptify(String string) { return (string != null) ? string : ""; } @Override public File getFile() { return null; } @Override public MetadataBridge setFile(File file) { return this; } @Override public Path getPath() { return null;
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.5K bytes - Viewed (0)