- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 91 for isDirectory (0.9 seconds)
-
docs/smb3-features/04-directory-leasing-design.md
this.size = attrs.getSize(); this.lastModified = attrs.getLastWriteTime(); this.isDirectory = attrs.isDirectory(); this.attributes = attrs.getAttributes(); this.creationTime = attrs.getCreateTime(); this.lastAccessTime = attrs.getLastAccessTime(); } public boolean matches(SmbFileAttributes attrs) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 36.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
// Setup mock files when(mockFile1.getName()).thenReturn("file1.txt"); when(mockFile1.length()).thenReturn(1024L); when(mockFile1.lastModified()).thenReturn(1000L); when(mockFile1.isDirectory()).thenReturn(false); when(mockFile1.getAttributes()).thenReturn(0x20); when(mockFile1.createTime()).thenReturn(500L); when(mockFile1.lastAccess()).thenReturn(800L);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 15.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
long lastModified = System.currentTimeMillis(); boolean isDirectory = false; long attributes = 0x20; // FILE_ATTRIBUTE_ARCHIVE long creationTime = System.currentTimeMillis() - 10000; long lastAccessTime = System.currentTimeMillis() - 5000; entry.updateChild(childName, size, lastModified, isDirectory, attributes, creationTime, lastAccessTime); assertTrue(entry.hasChild(childName));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 8.4K bytes - Click Count (0) -
android/guava/src/com/google/common/io/MoreFiles.java
* LinkOption...)} on input paths with the given link options. */ public static Predicate<Path> isDirectory(LinkOption... options) { LinkOption[] optionsCopy = options.clone(); return new Predicate<Path>() { @Override public boolean apply(Path input) { return Files.isDirectory(input, optionsCopy); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 34.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/storage/StorageItem.java
return path; } /** * Returns whether this item is a directory. * * @return true if this item is a directory, false otherwise */ public boolean isDirectory() { return directory; } /** * Returns the size of the item in bytes. * * @return the item size */ public long getSize() { return size; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 2.7K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
.listFiles() ?.associateWith { dir -> val dirPath = dir.toPath() Files.walk(dirPath).use { paths -> paths.filter { !it.toFile().isDirectory } .limit(4) .map { dirPath.relativize(it).toString() } .collect(Collectors.toList()) } }?.filter { it.value.isNotEmpty()
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 11 11:05:07 GMT 2026 - 14.3K bytes - Click Count (1) -
android/guava/src/com/google/common/io/Files.java
return ImmutableList.of(); }; /** * Returns a predicate that returns the result of {@link File#isDirectory} on input files. * * @since 15.0 */ public static Predicate<File> isDirectory() { return FilePredicate.IS_DIRECTORY; } /** * Returns a predicate that returns the result of {@link File#isFile} on input files. * * @since 15.0 */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 32.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt
val request = Request("https://publicsuffix.org/list/public_suffix_list.dat".toHttpUrl()) suspend fun import() { check(fileSystem.metadata(testResources).isDirectory) updateLocalFile() val importResults = readImportResults() writeOutputFile(importResults) } private suspend fun updateLocalFile() = withContext(Dispatchers.IO) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Aug 06 05:33:11 GMT 2025 - 6.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 13:59:25 GMT 2026 - 12.4K bytes - Click Count (1) -
src/test/java/jcifs/http/NetworkExplorerTest.java
when(file1.getName()).thenReturn("document.pdf"); when(file1.isDirectory()).thenReturn(false); when(file1.length()).thenReturn(2048L); when(file1.lastModified()).thenReturn(System.currentTimeMillis()); SmbFile dir1 = mock(SmbFile.class); when(dir1.getName()).thenReturn("folder/"); when(dir1.isDirectory()).thenReturn(true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 21.2K bytes - Click Count (0)