- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 54 for getTree (0.04 sec)
- 
				
				src/main/java/jcifs/smb/SmbFileHandleImpl.java@Override public long getInitialSize() { return this.initialSize; } /** * {@inheritDoc} * * @see jcifs.SmbFileHandle#getTree() */ @Override public SmbTreeHandleImpl getTree() { return this.tree.acquire(); } /** * {@inheritDoc} * * @see jcifs.SmbFileHandle#isValid() */ @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.4K bytes - Viewed (1)
- 
				
				src/main/java/jcifs/smb/SmbPipeInputStream.java* on the server. */ @Override public int available() throws IOException { try (SmbFileHandleImpl fd = this.handle.ensureOpen(); SmbTreeHandleImpl th = fd.getTree()) { if (th.isSMB2()) { final Smb2IoctlRequest req = new Smb2IoctlRequest(th.getConfig(), Smb2IoctlRequest.FSCTL_PIPE_PEEK, fd.getFileId()); req.setMaxOutputResponse(16);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/main/java/jcifs/smb/SmbRandomAccessFile.javaif (len <= 0) { return 0; } final long start = this.fp; try (SmbFileHandleImpl fh = ensureOpen(); SmbTreeHandleImpl th = fh.getTree()) { int r, n; final SmbComReadAndXResponse response = new SmbComReadAndXResponse(th.getConfig(), b, off); do { r = len > this.readSize ? this.readSize : len; Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/smb/SmbWatchHandleImpl.javaif (!this.handle.isValid()) { throw new SmbException("Watch was broken by tree disconnect"); } try (SmbTreeHandleImpl th = this.handle.getTree()) { CommonServerMessageBlockRequest req; NotifyResponse resp = null; if (th.isSMB2()) { Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.5K bytes - Viewed (0)
- 
				
				docs/smb3-features/02-persistent-handles-design.mdRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/smb/SmbPipeHandleImpl.java@Override public int sendrecv(final byte[] buf, final int off, final int length, final byte[] inB, final int maxRecvSize) throws IOException { try (SmbFileHandleImpl fh = ensureOpen(); SmbTreeHandleImpl th = fh.getTree()) { if (th.isSMB2()) { final Smb2IoctlRequest req = new Smb2IoctlRequest(th.getConfig(), Smb2IoctlRequest.FSCTL_PIPE_TRANSCEIVE, fh.getFileId(), inB);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 10.2K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/smb/SmbFileInputStreamTest.javavoid setUp() throws Exception { // Common, safe defaults for collaborators when(mockHandle.isValid()).thenReturn(true); when(mockHandle.acquire()).thenReturn(mockHandle); when(mockHandle.getTree()).thenReturn(mockTree); when(mockHandle.getFileId()).thenReturn(new byte[16]); when(mockTree.getReceiveBufferSize()).thenReturn(0x10000); when(mockTree.getMaximumBufferSize()).thenReturn(0x10000); Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/smb/SmbFileOutputStream.javareturn; } if (this.tmp == null) { throw new IOException("Bad file descriptor"); } try (SmbFileHandleImpl fh = ensureOpen(); SmbTreeHandleImpl th = fh.getTree()) { if (log.isDebugEnabled()) { log.debug("write: fid=" + fh + ",off=" + off + ",len=" + len + ",fp=" + this.fp); } int w; do {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/smb/SmbFileInputStream.javaif (this.tmp == null) { throw new IOException("Bad file descriptor"); } // ensure file is open try (SmbFileHandleImpl fd = ensureOpen(); SmbTreeHandleImpl th = fd.getTree()) { if (log.isTraceEnabled()) { log.trace("read: fid=" + fd + ",off=" + off + ",len=" + len); } final int type = this.file.getType(); int r, n;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/test/java/jcifs/smb/SmbFileOutputStreamTest.javaprivate Smb2WriteResponse mockWriteResponse; private SmbFileOutputStream outputStream; @BeforeEach void setUp() { // Common setup for most tests lenient().when(mockFileHandle.getTree()).thenReturn(mockTreeHandle); lenient().when(mockTreeHandle.getConfig()).thenReturn(mockConfig); } @Test void testWriteSingleByte() throws IOException, CIFSException { // GivenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0)