Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for 0x8000000000000000 (0.05 sec)

  1. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            void testDecode64BitValues() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[24];
                // alloc (8 bytes) - 0x0000000100000000 (4294967296)
                buffer[4] = 0x01;
                // free (8 bytes) - 0x0000000080000000 (2147483648)
                buffer[12] = (byte) 0x80;
                // sectPerAlloc (4 bytes) - 8
                buffer[16] = 0x08;
                // bytesPerSect (4 bytes) - 512
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/util/SMBUtilTest.java

                    // 0x0000000000000000L
                    (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 };
    
            assertEquals(0x123456789ABCDEF0L, SMBUtil.readInt8(src, 0));
            assertEquals(0xFFFFFFFFFFFFFFFFL, SMBUtil.readInt8(src, 8));
            assertEquals(0x0000000000000000L, SMBUtil.readInt8(src, 16));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/HexdumpTest.java

        }
    
        @Test
        @DisplayName("Should convert long to hex string with padding")
        void testLongToHexString() {
            // Test various long values
            assertEquals("0000000000000000", Hexdump.toHexString(0L, 16));
            assertEquals("00000000000000FF", Hexdump.toHexString(255L, 16));
            assertEquals("FFFFFFFFFFFFFFFF", Hexdump.toHexString(-1L, 16));
    
            // Test different sizes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. cmd/streaming-signature-v4_test.go

    		{"0000000000000000", 0, ""},
    		{"0000000000000001", 1, ""},
    		{"ffffffffffffffff", 1<<64 - 1, ""},
    		{"FFFFFFFFFFFFFFFF", 1<<64 - 1, ""},
    		{"000000000000bogus", 0, "invalid byte in chunk length"},
    		{"00000000000000000", 0, "http chunk length too large"}, // could accept if we wanted
    		{"10000000000000000", 0, "http chunk length too large"},
    		{"00000000000000001", 0, "http chunk length too large"}, // could accept if we wanted
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/PacMac.java

         *
         */
        private static final String HMAC_KEY = "HMAC";
        private static final byte[] MD5_CONSTANT = "signaturekey\0".getBytes(StandardCharsets.US_ASCII);
        private static final byte[] ZERO_IV = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
    
        /**
         * Calculates a MAC using the ARCFOUR-HMAC-MD5 algorithm.
         * This method implements the Microsoft variant of the Kerberos ARCFOUR-HMAC-MD5 checksum.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

                    0x00000000FFFFFFFFL, // 32-bit max as long
                    0xFFFFFFFF00000000L, // High 32 bits set
                    0x7FFFFFFFFFFFFFFFL, // Long.MAX_VALUE
                    0x8000000000000000L, // Long.MIN_VALUE
                    0x0101010101010101L, // Repeating pattern
                    0xFEFEFEFEFEFEFEFEL // Another pattern
            };
    
            for (long testValue : testValues) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/util/HexdumpTest.java

        }
    
        @Test
        @DisplayName("Should convert long to hex string with specified size")
        void testToHexStringLong() {
            // Test zero
            assertEquals("0000000000000000", Hexdump.toHexString(0L, 16));
            assertEquals("00000000", Hexdump.toHexString(0L, 8));
            assertEquals("0000", Hexdump.toHexString(0L, 4));
    
            // Test positive values
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. cmd/erasure-encode_test.go

    	b.Run(" XXXXX0|000000 ", func(b *testing.B) { benchmarkErasureEncode(6, 6, 5, 0, size, b) })
    }
    
    func BenchmarkErasureEncode_16_40MB(b *testing.B) {
    	const size = 40 * 1024 * 1024
    	b.Run(" 00000000|00000000 ", func(b *testing.B) { benchmarkErasureEncode(8, 8, 0, 0, size, b) })
    	b.Run(" 00000000|X0000000 ", func(b *testing.B) { benchmarkErasureEncode(8, 8, 0, 1, size, b) })
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  9. cmd/erasure-decode_test.go

    	b.Run(" XXXXXX|000000 ", func(b *testing.B) { benchmarkErasureDecode(6, 6, 6, 0, size, b) })
    }
    
    func BenchmarkErasureDecode_16_40MB(b *testing.B) {
    	const size = 40 * 1024 * 1024
    	b.Run(" 00000000|00000000 ", func(b *testing.B) { benchmarkErasureDecode(8, 8, 0, 0, size, b) })
    	b.Run(" 00000000|X0000000 ", func(b *testing.B) { benchmarkErasureDecode(8, 8, 0, 1, size, b) })
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

             *
             * If signing is not active, the SecuritySignature field of the SMB Header for all messages sent, except
             * the SMB_COM_SESSION_SETUP_ANDX Response (section 2.2.4.53.2), MUST be set to
             * 0x0000000000000000. For the SMB_COM_SESSION_SETUP_ANDX Response, the SecuritySignature
             * field of the SMB Header SHOULD<226> be set to the SecuritySignature received in the
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
Back to top