Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for 32767 (0.03 sec)

  1. src/cmd/asm/internal/asm/testdata/s390x.s

    	CMP	R1, R2                 // b9200012
    	CMP	R3, $32767             // a73f7fff
    	CMP	R3, $32768             // c23c00008000
    	CMP	R3, $-2147483648       // c23c80000000
    	CMPU	R4, R5                 // b9210045
    	CMPU	R6, $4294967295        // c26effffffff
    	CMPW	R7, R8                 // 1978
    	CMPW	R9, $-32768            // a79e8000
    	CMPW	R9, $-32769            // c29dffff7fff
    	CMPW	R9, $-2147483648       // c29d80000000
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jul 30 19:29:15 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/InputValidator.java

        private InputValidator() {
            // Utility class
        }
    
        // Maximum sizes for various SMB fields (based on protocol specifications)
        public static final int MAX_SMB_PATH_LENGTH = 32767; // Windows MAX_PATH
        public static final int MAX_USERNAME_LENGTH = 256;
        public static final int MAX_DOMAIN_LENGTH = 255;
        public static final int MAX_SHARE_NAME_LENGTH = 80;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/ServerResponseValidator.java

        private static final int MIN_SMB_HEADER_SIZE = 32;
        private static final int MAX_PATH_COMPONENT_SIZE = 255;
        private static final int MAX_PATH_SIZE = 32767;
    
        // Statistics
        private final AtomicLong totalValidations = new AtomicLong(0);
        private final AtomicLong failedValidations = new AtomicLong(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                bb.putShort((short) 0xFFFF); // Max tflags
                bb.putShort((short) 0); // tflags high bytes
    
                buffer.decode(testBuffer, 0, testBuffer.length);
    
                assertEquals(32767, buffer.getPathConsumed()); // 65534 / 2
                assertEquals(65535, buffer.getTflags());
            }
    
            @Test
            @DisplayName("Should handle minimum buffer size")
            void testMinimumBufferSize() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            byte[] buffer = createBasicNegotiateResponseBuffer();
    
            // Set security buffer offset close to Integer.MAX_VALUE to test overflow protection
            SMBUtil.writeInt2(32767, buffer, 56); // Large offset (will be added to header start)
            SMBUtil.writeInt2(1000, buffer, 58); // Some length
    
            SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/loong64enc1.s

    	// LDPTR.{W/D} and STPTR.{W/D} instructions
    	MOVWP	R5, -32768(R4)		// 85008025
    	MOVWP	R5, 32764(R4)		// 85fc7f25
    	MOVWP	R5, 32(R4)		// 85200025
    	MOVWP	R5, 4(R4)		// 85040025
    	MOVWP	R5, (R4)		// 85000025
    	MOVVP	R5, -32768(R4)		// 85008027
    	MOVVP	R5, 32764(R4)		// 85fc7f27
    	MOVVP	R5, 32(R4)		// 85200027
    	MOVVP	R5, 4(R4)		// 85040027
    	MOVVP	R5, (R4)		// 85000027
    	MOVWP	-32768(R5), R4		// a4008024
    	MOVWP	32764(R5), R4		// a4fc7f24
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Sep 04 19:24:25 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

        @ParameterizedTest
        @DisplayName("Test readDataWireFormat with various share types")
        @CsvSource({ "0, SHARE, Normal share", "1, PRINTER, Printer share", "3, IPC$, IPC share", "32768, HIDDEN, Hidden share", // 0x8000 - hidden flag in lower 16 bits
                "32769, HIDDENP, Hidden printer" // 0x8001 - hidden flag + printer type
        })
        void testReadDataWireFormatWithVariousShareTypes(int type, String name, String remark) throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDesc.java

            command = SMB_COM_NT_TRANSACT;
            function = NT_TRANSACT_QUERY_SECURITY_DESC;
            setupCount = 0;
            totalDataCount = 0;
            maxParameterCount = 4;
            maxDataCount = 32768;
            maxSetupCount = (byte) 0x00;
        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                SMBUtil.writeInt4(50, buffer, 0);
                SMBUtil.writeInt4(32768, buffer, 4);
                SMBUtil.writeInt4(1638400, buffer, 8);
    
                int bytesDecoded = response.decode(buffer, 0, 12);
    
                assertEquals(12, bytesDecoded);
                assertEquals(50, response.getChunksWritten());
                assertEquals(32768, 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/nego/Smb2NegotiateResponseTest.java

            when(mockConfig.getSendBufferSize()).thenReturn(32768);
            when(mockRequest.getCapabilities()).thenReturn(0);
    
            // When
            boolean valid = response.isValid(mockContext, mockRequest);
    
            // Then
            assertTrue(valid);
            // Should be aligned to 8-byte boundary
            assertEquals(32768 & ~0x7, response.getReceiveBufferSize());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
Back to top