Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 23 of 23 for getSendBufferSize (0.13 seconds)

  1. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertEquals(SmbConstants.DEFAULT_SO_TIMEOUT, config.getSoTimeout());
            assertEquals(SmbConstants.DEFAULT_SO_TIMEOUT, config.getSessionTimeout());
            assertEquals(SmbConstants.DEFAULT_SND_BUF_SIZE, config.getSendBufferSize());
            assertEquals(SmbConstants.DEFAULT_RCV_BUF_SIZE, config.getReceiveBufferSize());
            assertEquals(SmbConstants.DEFAULT_RCV_BUF_SIZE, config.getRecieveBufferSize()); // Deprecated method
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            when(file.ensureTreeConnected()).thenReturn(tree);
            when(tree.getConfig()).thenReturn(cfg);
            when(tree.getReceiveBufferSize()).thenReturn(1024);
            when(tree.getSendBufferSize()).thenReturn(1024);
            when(tree.hasCapability(anyInt())).thenAnswer(inv -> ntSmbsCap && inv.getArgument(0).equals(SmbConstants.CAP_NT_SMBS));
            when(tree.areSignaturesActive()).thenReturn(false);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbFile.java

                w.setDaemon(true);
    
                try {
                    w.start();
                    // use commonly acceptable buffer size
                    final int bsize = Math.min(sh.getReceiveBufferSize() - 70, dh.getSendBufferSize() - 70);
                    final byte[][] b = new byte[2][bsize];
                    copyRecursive(dest, b, bsize, w, sh, dh);
                } finally {
                    w.write(null, -1, null);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
Back to Top