Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt

        assertFailsWith<ProtocolException> {
          clientReader.processNextFrame()
        }.also { expected ->
          assertThat(expected.message).isEqualTo(
            "Frame length 0x8000000000000000 > 0x7FFFFFFFFFFFFFFF",
          )
        }
      }
    
      @Test fun serverHelloTwoChunks() {
        data.write("818537fa213d7f9f4d".decodeHex()) // Hel
        data.write("5158".decodeHex()) // lo
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. guava/src/com/google/common/math/DoubleUtils.java

      static final long EXPONENT_MASK = 0x7ff0000000000000L;
    
      // The mask for the sign, according to the {@link
      // Double#doubleToRawLongBits(double)} spec.
      static final long SIGN_MASK = 0x8000000000000000L;
    
      static final int SIGNIFICAND_BITS = 52;
    
      static final int EXPONENT_BIAS = 1023;
    
      /** The implicit 1 bit that is omitted in significands of normal doubles. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/DoubleUtils.java

      static final long EXPONENT_MASK = 0x7ff0000000000000L;
    
      // The mask for the sign, according to the {@link
      // Double#doubleToRawLongBits(double)} spec.
      static final long SIGN_MASK = 0x8000000000000000L;
    
      static final int SIGNIFICAND_BITS = 52;
    
      static final int EXPONENT_BIAS = 1023;
    
      /** The implicit 1 bit that is omitted in significands of normal doubles. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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