- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 94 for SmbFile (0.15 sec)
-
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
lock.writeLock().unlock(); } } /** * Register a file with cache for a path * * @param path file path * @param file SmbFile instance */ public void registerFileCache(String path, SmbFile file) { if (file != null) { fileCache.put(path, new WeakReference<>(file)); } } /** * Evict oldest leases based on LRU
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/NetServerFileEntryAdapterIterator.java
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/NetServerEnumIteratorTest.java
private SmbResourceLocator locator; @Mock private SmbTreeHandleImpl treeHandle; @Mock private Configuration config; @Mock private ResourceNameFilter nameFilter; private SmbFile parent; @BeforeAll static void setupURLHandler() { // Register the SMB URL handler to avoid MalformedURLException String pkgs = System.getProperty("java.protocol.handler.pkgs");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java
Object lock; TransactNamedPipeInputStream(final SmbNamedPipe pipe) throws SmbException, MalformedURLException, UnknownHostException { super(pipe, pipe.pipeType & 0xFFFF00FF | SmbFile.O_EXCL); this.dcePipe = (pipe.pipeType & SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT) != SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT; lock = new Object(); } @Override public int read() throws IOException {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
@DisplayName("openConnection creates SmbFile for valid URL") void testOpenConnectionWithValidUrl() throws IOException { // Arrange - Create URL with handler URL url = new URL(null, "smb://host/share", handler); // Act URLConnection conn = handler.openConnection(url); // Assert assertNotNull(conn); assertTrue(conn instanceof SmbFile); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
public void testRdmaLargeFileTransfer() throws Exception { CIFSContext context = getTestContext(); context.getConfig().setProperty("jcifs.smb.client.useRDMA", "true"); SmbFile file = new SmbFile("smb://server/share/largefile.dat", context); // Measure RDMA transfer performance byte[] data = new byte[10485760]; // 10MB Arrays.fill(data, (byte)0x42);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
src/main/java/jcifs/context/CIFSContextWrapper.java
import jcifs.DfsResolver; import jcifs.NameServiceClient; import jcifs.SidResolver; import jcifs.SmbPipeResource; import jcifs.SmbResource; import jcifs.SmbTransportPool; import jcifs.smb.Handler; import jcifs.smb.SmbFile; import jcifs.smb.SmbNamedPipe; /** * A wrapper implementation of CIFSContext that delegates to another context. * This class allows for context decoration and customization through delegation. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
docs/SMB3_IMPLEMENTATION_PLAN.md
- [ ] Add lease context to Create request/response - [ ] Implement lease break notification handling - [ ] Modify SmbFile to support lease-based caching - [ ] Add lease upgrade/downgrade logic - [ ] Implement lease epoch tracking for v2 leases #### 1.3 Integration Points - Modify `Smb2CreateRequest` to include lease contexts - Update `SmbFile` caching logic to use leases - Add lease break handling in `SmbTransport` ---
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbNamedPipe.java
* Named Pipes</a> for a detailed description of how to use jCIFS with * Win32 Named Pipe server processes. * */ public class SmbNamedPipe extends SmbFile implements SmbPipeResource { private final int pipeType; /** * Open the Named Pipe resource specified by the url * parameter. The pipeType parameter should be at least one of
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/context/SingletonContext.java
* at java.net.URL.<init>(URL.java:480) * at java.net.URL.<init>(URL.java:376) * at java.net.URL.<init>(URL.java:330) * at jcifs.smb.SmbFile.<init>(SmbFile.java:355) * ... * </pre> * * </blockquote> * */ public static void registerSmbURLHandler() { SingletonContext.getInstance();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K bytes - Viewed (0)