Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for 655360 (0.04 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            byte[] largeBuffer = new byte[65536]; // 64KB buffer
    
            // Act & Assert
            assertEquals(0, response.writeSetupWireFormat(largeBuffer, 0));
            assertEquals(0, response.writeParametersWireFormat(largeBuffer, 32768));
            assertEquals(0, response.writeDataWireFormat(largeBuffer, 65535));
            assertEquals(0, response.readSetupWireFormat(largeBuffer, 0, 65536));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/net/HostAndPortTest.java

        checkFromStringCase("[2001::2]:૮૫", 77, null, -1, false);
      }
    
      public void testFromStringBadPort() {
        // Out-of-range ports.
        checkFromStringCase("google.com:65536", 1, null, 99, false);
        checkFromStringCase("google.com:9999999999", 1, null, 99, false);
        // Invalid port parts.
        checkFromStringCase("google.com:port", 1, null, 99, false);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/InputValidator.java

        public static final int MAX_DOMAIN_LENGTH = 255;
        public static final int MAX_SHARE_NAME_LENGTH = 80;
        public static final int MAX_BUFFER_SIZE = 65536; // 64KB default max buffer
        public static final int MAX_SMB2_BUFFER_SIZE = 8388608; // 8MB for SMB2/3
        public static final int MAX_CREDITS = 65535;
    
        // Patterns for validation
        private static final Pattern VALID_USERNAME = Pattern.compile("^[a-zA-Z0-9._\\-@]+$");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/asm/internal/asm/testdata/loong64enc3.s

    	MOVBU	R4, 65536(R5)			// 1e020014de971000c4030029
    	MOVBU	R4, 4096(R5)			// 3e000014de971000c4030029
    	SC	R4, 65536(R5)			// 1e020014de971000c4030021
    	SC	R4, 4096(R5)	   		// 3e000014de971000c4030021
    	MOVW	y+65540(FP), R4			// 1e020014de8f1000c4338028
    	MOVWU	y+65540(FP), R4			// 1e020014de8f1000c433802a
    	MOVV	y+65540(FP), R4			// 1e020014de8f1000c433c028
    	MOVB	y+65540(FP), R4			// 1e020014de8f1000c4330028
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Feb 20 14:31:35 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

        @Test
        @DisplayName("Test edge case with maximum buffer index")
        void testReadBytesWireFormatMaxBufferIndex() throws SMBProtocolDecodingException {
            byte[] buffer = new byte[65536]; // Large buffer
            int bufferIndex = 65534; // Near the end
    
            // Set structure size to 2
            SMBUtil.writeInt2(2, buffer, bufferIndex);
    
            int result = response.readBytesWireFormat(buffer, bufferIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

            byte[] largeBuffer = new byte[65536]; // 64KB buffer
    
            // Act & Assert
            assertEquals(0, response.writeSetupWireFormat(largeBuffer, 0));
            assertEquals(0, response.writeParametersWireFormat(largeBuffer, 32768));
            assertEquals(0, response.writeDataWireFormat(largeBuffer, 65535));
            assertEquals(0, response.readSetupWireFormat(largeBuffer, 0, 65536));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        assertThat(UnsignedLongs.remainder(0xfffffffffffffffdL, 0xfffffffffffffffeL))
            .isEqualTo(0xfffffffffffffffdL);
        assertThat(UnsignedLongs.remainder(0xfffffffffffffffeL, 65535)).isEqualTo(65534L);
        assertThat(UnsignedLongs.remainder(0xfffffffffffffffeL, 2)).isEqualTo(0);
        assertThat(UnsignedLongs.remainder(0xfffffffffffffffeL, 5)).isEqualTo(4);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  10. 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)
Back to top