- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 21 for SmbFileHandleImpl (0.07 sec)
-
src/main/java/jcifs/smb/SmbFileInputStream.java
*/ public void open() throws CIFSException { try (SmbFileHandleImpl fh = ensureOpen()) {} } /** * @param file * @param openFlags * @return * @throws SmbException */ synchronized SmbFileHandleImpl ensureOpen() throws CIFSException { if (this.handle == null || !this.handle.isValid()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbWatchHandleImpl.java
private final SmbFileHandleImpl handle; private final int filter; private final boolean recursive; /** * @param fh * @param filter * @param recursive * */ public SmbWatchHandleImpl(final SmbFileHandleImpl fh, final int filter, final boolean recursive) { this.handle = fh; this.filter = filter;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java
@ExtendWith(MockitoExtension.class) class SmbPipeOutputStreamTest { @Mock SmbPipeHandleImpl handle; @Mock SmbTreeHandleImpl tree; @Mock SmbNamedPipe pipe; @Mock SmbFileHandleImpl fileHandle; private SmbPipeOutputStream newStream() throws CIFSException { // Arrange common constructor collaborators to avoid touching network/state when(handle.getPipe()).thenReturn(pipe);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeInputStream.java
*/ protected synchronized SmbTreeHandleImpl ensureTreeConnected() throws CIFSException { return this.handle.ensureTreeConnected(); } @Override protected synchronized SmbFileHandleImpl ensureOpen() throws CIFSException { return this.handle.ensureOpen(); } /** * This stream class is unbuffered. Therefore this method will always
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
@ExtendWith(MockitoExtension.class) class SmbPipeInputStreamTest { @Mock SmbPipeHandleImpl handle; @Mock SmbNamedPipe pipe; @Mock SmbTreeHandleImpl tree; @Mock SmbFileHandleImpl fd; @Mock Configuration config; private SmbPipeInputStream newStreamWithInit(boolean smb2) throws CIFSException { when(handle.getPipe()).thenReturn(pipe);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
@ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) class SmbPipeHandleImplTest { @Mock SmbNamedPipe pipe; @Mock SmbTreeHandleImpl tree; @Mock SmbFileHandleImpl fileHandle; @Mock Configuration config; private SmbPipeHandleImpl target; @BeforeEach void setUp() throws SmbException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileTest.java
@Test void testCreateNewFile() throws SmbException, CIFSException, IOException { // Arrange when(mockTreeHandle.isSMB2()).thenReturn(false); SmbFileHandleImpl mockFileHandle = mock(SmbFileHandleImpl.class); doReturn(mockFileHandle).when(smbFile).openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt()); doNothing().when(mockFileHandle).close(0L); // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
@ExtendWith(MockitoExtension.class) class SmbPipeHandleInternalTest { @Mock private SmbNamedPipe pipe; @Mock private SmbTreeHandleImpl tree; @Mock private SmbFileHandleImpl fh; @Mock private Smb2IoctlResponse ioctlResp; @Mock private Configuration config; @Mock private SmbSessionImpl session; @BeforeEach void setUp() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
} } SmbFileHandleImpl openUnshared(final int flags, final int access, final int sharing, final int attrs, final int options) throws CIFSException { return openUnshared(getUncPath(), flags, access, sharing, attrs, options); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
/** * Tests for SmbWatchHandleImpl focusing on behavior and interactions. */ @ExtendWith(MockitoExtension.class) class SmbWatchHandleImplTest { @Mock SmbFileHandleImpl handle; @Mock SmbTreeHandleImpl tree; // Prepare SMB2 flow with a given response private void setupSmb2(NotifyResponse resp, byte[] fileId) throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)