- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 41 for SetTree (0.07 seconds)
-
src/main/java/jcifs/smb/SmbRandomAccessFile.java
if (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;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 18.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbWatchHandleImpl.java
if (!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()) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.5K bytes - Click Count (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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 10.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
void 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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
return; } 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 {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
private 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 { // GivenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
if (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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.6K bytes - Click Count (0) -
ci/official/utilities/extract_resultstore_links.py
The links and the invocations' status can then be printed out, or output in the form of JUnit-based XML. """ import argparse import datetime import os import re from typing import Dict, Union import xml.etree.ElementTree as ElemTree ResultDictType = Dict[str, Dict[str, Union[str, int]]] RESULT_STORE_LINK_RE = re.compile( r'^INFO: Streaming build results to: (https://[\w./\-]+)')
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Nov 08 17:50:27 GMT 2023 - 10.9K bytes - Click Count (0) -
docs/smb3-features/04-directory-leasing-design.md
request.setWatchTree(false); // Non-recursive for now Smb2ChangeNotifyResponse response = (Smb2ChangeNotifyResponse) handle.directoryFile.getTree().send(request); if (response.isSuccess()) { processChangeNotification(handle, response); }
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/main/java/jcifs/smb1/smb1/SmbFile.java
if (type == TYPE_SHARE) { size = response.info.getCapacity(); sizeExpiration = System.currentTimeMillis() + attrExpirationPeriod; } return response.info.getFree(); } /** * Creates a directory with the path specified by this * <code>SmbFile</code>. For this method to be successful, the target * must not already exist. This method will fail whenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0)