Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 41 for SetTree (0.4 sec)

  1. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java

            int bytesPerSect;
    
            @Override
            public long getCapacity() {
                return alloc * sectPerAlloc * bytesPerSect;
            }
    
            @Override
            public long getFree() {
                return free * sectPerAlloc * bytesPerSect;
            }
    
            @Override
            public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. docs/smb3-features/02-persistent-handles-design.md

                    }
                    
                    // Send create request
                    Smb2CreateResponse response = (Smb2CreateResponse) 
                        file.getTree().send(createReq);
                    
                    if (response.isSuccess()) {
                        // Update file with new handle
                        file.setFileId(response.getFileId());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  3. 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)
  4. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. 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 {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. 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 {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  8. 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./\-]+)')
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Nov 08 17:50:27 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  9. 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);
                        }
                        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFile.java

                    this.size = allocInfo.getCapacity();
                    this.sizeExpiration = System.currentTimeMillis() + getContext().getConfig().getAttributeCacheTimeout();
                    return allocInfo.getFree();
                }
                return 0L;
            } catch (final CIFSException e) {
                throw SmbException.wrap(e);
            }
        }
    
        /**
         * @return
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top