Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for 32767 (0.04 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/builtin/builtin.go

    type uint64 uint64
    
    // int8 is the set of all signed 8-bit integers.
    // Range: -128 through 127.
    type int8 int8
    
    // int16 is the set of all signed 16-bit integers.
    // Range: -32768 through 32767.
    type int16 int16
    
    // int32 is the set of all signed 32-bit integers.
    // Range: -2147483648 through 2147483647.
    type int32 int32
    
    // int64 is the set of all signed 64-bit integers.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Dec 30 23:59:23 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. tests/lru_test.go

    	}
    
    }
    
    func BenchmarkLRU_Rand_NoExpire(b *testing.B) {
    	l := lru.NewLRU[int64, int64](8192, nil, 0)
    
    	trace := make([]int64, b.N*2)
    	for i := 0; i < b.N*2; i++ {
    		trace[i] = getRand(b) % 32768
    	}
    
    	b.ResetTimer()
    
    	var hit, miss int
    	for i := 0; i < 2*b.N; i++ {
    		if i%2 == 0 {
    			l.Add(trace[i], trace[i])
    		} else {
    			if _, ok := l.Get(trace[i]); ok {
    				hit++
    			} else {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. 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)
Back to top