Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for largeRead (0.04 sec)

  1. docs/smb3-features/03-multi-channel-design.md

        
        // Large transfer should prefer high-bandwidth channel
        Smb2ReadRequest largeRead = new Smb2ReadRequest();
        largeRead.setLength(10485760);  // 10MB
        
        ChannelInfo selected = balancer.selectChannel(largeRead);
        assertEquals(channel2, selected);  // Should select 10Gbps channel
    }
    
    @Test
    public void testChannelFailover() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileInputStream.java

        private SmbFileHandleImpl handle;
        private long fp;
        private int readSize, readSizeFile, openFlags, access, sharing;
        private byte[] tmp = new byte[1];
    
        SmbFile file;
    
        private boolean largeReadX;
    
        private final boolean unsharedFile;
    
        private boolean smb2;
    
        /**
         * Creates an input stream for reading from the specified SMB URL
         *
         * @param url the SMB URL to read from
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbRandomAccessFile.java

        private long fp;
        private int openFlags, access = 0, readSize, writeSize, options = 0;
        private final byte[] tmp = new byte[8];
        private SmbComWriteAndXResponse write_andx_resp = null;
    
        private boolean largeReadX;
        private final boolean unsharedFile;
    
        private SmbFileHandleImpl handle;
    
        private final int sharing;
    
        /**
         * Instantiate a random access file from URL
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                int res = in.readDirect(new byte[1024], 0, 256);
                assertEquals(-1, res);
            }
    
            @Test
            @DisplayName("LargeReadX splits count across maxCount/openTimeout")
            void largeReadXSetsRequestFields() throws Exception {
                when(mockTree.isSMB2()).thenReturn(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top