- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for adapt (0.15 sec)
-
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
protected SmbResource adapt(FileEntry e) { adaptCalled[0] = true; assertEquals(mockFileEntry1, e, "Should adapt the correct entry"); return mockResource1; } }; // When SmbResource result = iterator.next(); // Then assertTrue(adaptCalled[0], "Adapt method should have been called");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/ShareEnumIterator.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/FileEntryAdapterIterator.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
private class TestIterator extends FileEntryAdapterIterator { TestIterator(ResourceFilter filter) { super(parent, delegate, filter); } @Override protected SmbResource adapt(FileEntry e) throws MalformedURLException { return resource; } } @BeforeEach void setUp() { lenient().when(fileEntry.getName()).thenReturn("test"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/NetServerFileEntryAdapterIterator.java
super(parent, delegate, filter); } /** * @param fe * @return * @throws MalformedURLException */ @Override protected SmbResource adapt(final FileEntry e) throws MalformedURLException { return new SmbFile(getParent(), e.getName(), false, e.getType(), SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY, 0L, 0L, 0L, 0L); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.6K bytes - Viewed (0) -
docs/en/docs/project-generation.md
# Full Stack FastAPI Template { #full-stack-fastapi-template } Templates, while typically come with a specific setup, are designed to be flexible and customizable. This allows you to modify and adapt them to your project's requirements, making them an excellent starting point. 🏁 You can use this template to get started, as it includes a lot of the initial set up, security, database and some API endpoints already done for you.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryAdapterIterator.java
super(parent, delegate, filter); } /** * @param fe * @return * @throws MalformedURLException */ @Override protected SmbResource adapt(final FileEntry e) throws MalformedURLException { return new SmbFile(getParent(), e.getName(), true, SmbConstants.TYPE_FILESYSTEM, e.getAttributes(), e.createTime(), e.lastModified(), e.lastAccess(), e.length());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
assertThrows(NullPointerException.class, () -> new ShareEnumIterator(parent, null, null)); } @Test @DisplayName("Null parent with non-empty iterator causes NullPointerException during adapt") void nullParent_throwsNPE() { List<FileEntry> entries = Collections.singletonList(entry("x", SmbConstants.TYPE_SHARE));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FluentFuture.java
* CompletableFuture}. {@code FluentFuture} is targeted at people who use {@code ListenableFuture}, * who can't use Java 8, or who want an API more focused than {@code CompletableFuture}. (If you * need to adapt between {@code CompletableFuture} and {@code ListenableFuture}, consider <a * href="https://github.com/lukas-krecan/future-converter">Future Converter</a>.) * * <h3>Extension</h3> *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* <li>Return a {@code ClosingFuture}. To turn a {@link ListenableFuture} into a {@code * ClosingFuture} call {@link #from(ListenableFuture)}. * <li>In case this step doesn't create new closeables, you can adapt an API that returns a * {@link ListenableFuture} to return a {@code ClosingFuture} by wrapping it with a call to * {@link #withoutCloser(AsyncFunction)} * </ul> * * <p>Example usage: *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 97.8K bytes - Viewed (0)