Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 118 for 65537 (0.03 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

            }
    
            @Test
            @DisplayName("Should handle large arrays efficiently")
            void testWriteBytesWireFormatWithLargeArray() {
                // Given
                byte[] dst = new byte[65536]; // 64KB array
    
                // When
                int result = response.writeBytesWireFormat(dst, 32768);
    
                // Then
                assertEquals(0, result);
            }
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

        }
    
        @Test
        void testWriteSingleByte() throws IOException, CIFSException {
            // Given
            when(mockTreeHandle.isSMB2()).thenReturn(true);
            when(mockTreeHandle.getSendBufferSize()).thenReturn(65536);
            when(mockFileHandle.isValid()).thenReturn(false, true); // First false to trigger ensureOpen, then true
            when(mockFileHandle.getFileId()).thenReturn(new byte[16]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            });
        }
    
        @Test
        public void testValidMessageSize() throws Exception {
            validator.validateMessageSize(1024, false);
            validator.validateMessageSize(65535, true);
            validator.validateMessageSize(1048576, false); // 1MB for SMB2
        }
    
        @Test
        public void testMessageSizeTooSmall() throws Exception {
            assertThrows(SmbException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/loong64enc3.s

    	MOVB	y+4097(FP), R4			// 3e000014de8f1000c4270028
    	MOVBU	y+4097(FP), R4			// 3e000014de8f1000c427002a
    	MOVW	65536(R5), R4			// 1e020014de971000c4038028
    	MOVWU	65536(R5), R4			// 1e020014de971000c403802a
    	MOVV	65536(R5), R4			// 1e020014de971000c403c028
    	MOVB	65536(R5), R4			// 1e020014de971000c4030028
    	MOVBU	65536(R5), R4			// 1e020014de971000c403002a
    	MOVW	4096(R5), R4			// 3e000014de971000c4038028
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Feb 20 14:31:35 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/rdma/RdmaConfigurationTest.java

            assertEquals(8192, config.getRdmaReadWriteThreshold(), "Default threshold should be 8KB");
            assertEquals(65536, config.getRdmaMaxSendSize(), "Default max send size should be 64KB");
            assertEquals(65536, config.getRdmaMaxReceiveSize(), "Default max receive size should be 64KB");
            assertEquals(255, config.getRdmaCredits(), "Default credits should be 255");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

            when(locator.getUNCPath()).thenReturn("\\\\server\\share\\dir\\");
            when(tree.getConfig()).thenReturn(config);
            when(config.getMaximumBufferSize()).thenReturn(65535);
            when(config.getListSize()).thenReturn(65535);
    
            // Arrange: initial page with two entries, then one more entry, then no more files
            FileEntry fe1 = mock(FileEntry.class);
            lenient().when(fe1.getName()).thenReturn("file1");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/loong64enc2.s

    	AND	$65536, R4		// 1e02001484f81400
    	AND	$4096, R4		// 3e00001484f81400
    	SGT	$65536, R4, R5		// 1e02001485781200
    	SGT	$4096, R4, R5		// 3e00001485781200
    	SGT	$65536, R4		// 1e02001484781200
    	SGT	$4096, R4		// 3e00001484781200
    	SGTU	$65536, R4, R5		// 1e02001485f81200
    	SGTU	$4096, R4, R5		// 3e00001485f81200
    	SGTU	$65536, R4		// 1e02001484f81200
    	SGTU	$4096, R4		// 3e00001484f81200
    	ADDU	$65536, R4, R5		// 1e02001485781000
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Sat Mar 01 01:10:24 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/SessionServicePacketTest.java

        }
    
        private static Stream<Arguments> provideInt4TestValues() {
            return Stream.of(Arguments.of(0), Arguments.of(1), Arguments.of(255), Arguments.of(256), Arguments.of(65535), Arguments.of(65536),
                    Arguments.of(0x7FFFFFFF), Arguments.of(0xFFFFFFFF));
        }
    
        @Test
        @DisplayName("readInt2 should correctly read 16-bit integer")
        void testReadInt2() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

        private void setupNegotiateStubs() {
            when(mockNegotiate.getNegotiatedCapabilities()).thenReturn(0x00123456);
            when(mockNegotiate.getNegotiatedSendBufferSize()).thenReturn(65535);
            when(mockNegotiate.getNegotiatedMpxCount()).thenReturn(65535);
            when(mockNegotiate.getNegotiatedSessionKey()).thenReturn(0x12345678);
        }
    
        /** Simple test stub of {@link ServerData} */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top