Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 75 for 655360 (1.26 sec)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB311);
            when(mockConfig.getTransactionBufferSize()).thenReturn(65536);
            when(mockConfig.getReceiveBufferSize()).thenReturn(65536);
            when(mockConfig.getSendBufferSize()).thenReturn(65536);
            when(mockContext.getConfig()).thenReturn(mockConfig);
        }
    
        @Test
        @DisplayName("Should create response with configuration")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            });
        }
    
        @Test
        public void testSmb1MessageSizeTooLarge() throws Exception {
            assertThrows(SmbException.class, () -> {
                validator.validateMessageSize(65536, true);
            });
        }
    
        @Test
        public void testSmb2MessageSizeTooLarge() throws Exception {
            assertThrows(SmbException.class, () -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/BaseConfiguration.java

                this.rdmaReadWriteThreshold = 8192; // 8KB
            }
            if (this.rdmaMaxSendSize == 0) {
                this.rdmaMaxSendSize = 65536; // 64KB
            }
            if (this.rdmaMaxReceiveSize == 0) {
                this.rdmaMaxReceiveSize = 65536; // 64KB
            }
            if (this.rdmaCredits == 0) {
                this.rdmaCredits = 255;
            }
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDesc.java

            this.fid = fid;
            this.securityInformation = securityInformation;
            this.setupCount = 0;
            this.totalDataCount = 0;
            this.maxParameterCount = 4;
            this.maxDataCount = 65536;
            this.maxSetupCount = (byte) 0x00;
        }
    
        @Override
        public int getPadding() {
            return 4;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java

        }
    
        @Test
        public void testGetProviderName() {
            assertEquals("TCP Fallback", provider.getProviderName());
        }
    
        @Test
        public void testGetMaxMessageSize() {
            assertEquals(65536, provider.getMaxMessageSize(), "TCP provider should have 64KB limit");
        }
    
        @Test
        public void testShutdown() {
            // Should not throw exception
            assertDoesNotThrow(() -> provider.shutdown());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                        65536, // 64KB per chunk
                        196608 // 192KB total (3 * 64KB)
                );
    
                int bytesDecoded = response.decode(buffer, 0, buffer.length);
    
                assertEquals(12, bytesDecoded);
                assertEquals(3, response.getChunksWritten());
                assertEquals(65536, response.getChunkBytesWritten());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            // Setup tree with configuration
            when(tree.getConfig()).thenReturn(config);
            when(tree.getSendBufferSize()).thenReturn(65536);
            when(config.getPid()).thenReturn(12345);
            when(config.getSendBufferSize()).thenReturn(65536);
    
            target = new SmbPipeHandleImpl(pipe);
        }
    
        @Test
        @DisplayName("unwrap returns self for assignable type; throws for incompatible and null")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java

        // Buffer pool configuration
        private final int initialSendBuffers = 32;
        private final int initialReceiveBuffers = 64;
        private final int sendBufferSize = 65536; // 64KB
        private final int receiveBufferSize = 65536; // 64KB
    
        /**
         * Create new RDMA buffer manager
         *
         * @param provider RDMA provider for memory registration
         */
        public RdmaBufferManager(RdmaProvider provider) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/ReferralTest.java

            assertEquals(65535, decodedSize);
            assertEquals(65535, referral.getSize());
            assertEquals(65535, referral.getServerType());
            assertEquals(65535, referral.getRFlags());
            assertEquals(65535, referral.getProximity());
            assertEquals(65535, referral.getTtl());
        }
    
        @Test
        public void testEmptyStrings() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            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
            buffer.putLong(new Date().getTime()); // serverTime
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top