Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for 8192 (0.02 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            buffer.put((byte) 0x0F); // securityMode (user, encrypted, sigs enabled, sigs required)
            buffer.putShort((short) 50); // maxMpxCount
            buffer.putShort((short) 10); // maxNumberVcs
            buffer.putInt(8192); // maxBufferSize
            buffer.putInt(65536); // maxRawSize
            buffer.putInt(123456789); // sessionKey
            buffer.putInt(SmbConstants.CAP_UNICODE | SmbConstants.CAP_NT_SMBS); // capabilities
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            testFileId = new byte[16];
            Arrays.fill(testFileId, (byte) 0xAB);
    
            // Use lenient stubbing for default configuration values
            lenient().when(mockConfig.getNotifyBufferSize()).thenReturn(8192);
            lenient().when(mockContext.getConfig()).thenReturn(mockConfig);
    
            request = new Smb2ChangeNotifyRequest(mockConfig, testFileId);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                int bytesDecoded = localResponse.decode(buffer, offset, responseData.length);
    
                assertEquals(12, bytesDecoded);
                assertEquals(7, localResponse.getChunksWritten());
                assertEquals(8192, localResponse.getChunkBytesWritten());
                assertEquals(57344, localResponse.getTotalBytesWritten());
            }
    
            @Test
            @DisplayName("Should decode minimum buffer size")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/rdma/RdmaConfigurationTest.java

            // Test default values
            assertFalse(config.isUseRDMA(), "RDMA should be disabled by default");
            assertEquals("auto", config.getRdmaProvider(), "Default provider should be auto");
            assertEquals(8192, config.getRdmaReadWriteThreshold(), "Default threshold should be 8KB");
            assertEquals(65536, config.getRdmaMaxSendSize(), "Default max send size should be 64KB");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

       * write to {@code sink()} and close it to complete the post.
       */
      static final class PipeBody extends RequestBody {
        private final Pipe pipe = new Pipe(8192);
        private final BufferedSink sink = Okio.buffer(pipe.sink());
    
        public BufferedSink sink() {
          return sink;
        }
    
        @Override public MediaType contentType() {
          return MEDIA_TYPE_MARKDOWN;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jul 06 03:18:15 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/config/DelegatingConfigurationTest.java

        void testBufferConfigurationDelegation() {
            // Given
            when(mockDelegate.getSendBufferSize()).thenReturn(8192);
            when(mockDelegate.getReceiveBufferSize()).thenReturn(8192);
            when(mockDelegate.getMaximumBufferSize()).thenReturn(65536);
            when(mockDelegate.getTransactionBufferSize()).thenReturn(65024);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

            assertTrue(transaction.maxParameterCount > 0);
        }
    
        @Test
        @DisplayName("Test setMaxBufferSize")
        void testSetMaxBufferSize() {
            transaction.setMaxBufferSize(8192);
            assertEquals(8192, transaction.maxBufferSize);
        }
    
        @Test
        @DisplayName("Test setMaxDataCount")
        void testSetMaxDataCount() {
            transaction.setMaxDataCount(4096);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                request.setFileId(testFileId);
                request.setPadding((byte) 1);
                request.setReadFlags(Smb2ReadRequest.SMB2_READFLAG_READ_UNBUFFERED);
                request.setReadLength(8192);
                request.setOffset(16384L);
                request.setMinimumCount(1024);
                request.setRemainingBytes(4096);
    
                // Calculate expected size
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

            assertEquals(3000, info.alloc);
            assertEquals(1500, info.free);
            assertEquals(4, info.sectPerAlloc);
            assertEquals(8192, info.bytesPerSect);
            assertEquals(3000L * 4 * 8192, info.getCapacity(), "Capacity calculation should be correct");
            assertEquals(1500L * 4 * 8192, info.getFree(), "Free space calculation should be correct");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. docs/smb3-features/05-rdma-smb-direct-design.md

        public static final int DEFAULT_RECEIVE_CREDIT_MAX = 255;
        public static final int DEFAULT_SEND_CREDIT_TARGET = 32;
        public static final int DEFAULT_MAX_RECEIVE_SIZE = 8192;
        public static final int DEFAULT_MAX_FRAGMENTED_SIZE = 131072;    // 128KB
        public static final int DEFAULT_MAX_READ_WRITE_SIZE = 1048576;   // 1MB
    }
    ```
    
    ### 3.2 RDMA Provider Interface
    ```java
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
Back to top