Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for 0x9A (0.02 sec)

  1. src/test/java/jcifs/util/EncdecTest.java

            // Then
            assertEquals(value, decoded);
            assertEquals(0xF0, buffer[0] & 0xFF);
            assertEquals(0xDE, buffer[1] & 0xFF);
            assertEquals(0xBC, buffer[2] & 0xFF);
            assertEquals(0x9A, buffer[3] & 0xFF);
        }
    
        @Test
        @DisplayName("Should handle big endian encoding/decoding")
        void testBigEndianOperations() {
            // Given
            int value = 0x12345678;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PacDataInputStreamTest.java

        }
    
        @Test
        public void testReadLong() throws IOException {
            // Little-endian 0x123456789ABCDEF0 -> 0xF0 0xDE 0xBC 0x9A 0x78 0x56 0x34 0x12
            byte[] data = new byte[] { (byte) 0xF0, (byte) 0xDE, (byte) 0xBC, (byte) 0x9A, 0x78, 0x56, 0x34, 0x12 };
            PacDataInputStream pdis = createInputStream(data);
            assertEquals(0x123456789ABCDEF0L, pdis.readLong());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

            } else if (userFriendly.matches("(?i)(?:French|Latin|Western.*European)")) {
              // Mostly 1-byte UTF-8 sequences, mixed with occasional 2-byte
              // sequences - "Western European" text
              return 0x90;
            } else if (userFriendly.matches("(?i)(?:Branch.*Prediction.*Hostile)")) {
              // Defeat branch predictor for: c < 0x80 ; branch taken 50% of the time.
              return 0x100;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Utf8.java

                // Check that 1 <= plane <= 16. Tricky optimized form of:
                // if (byte1 > (byte) 0xF4
                //     || byte1 == (byte) 0xF0 && byte2 < (byte) 0x90
                //     || byte1 == (byte) 0xF4 && byte2 > (byte) 0x8F)
                || (((byte1 << 28) + (byte2 - (byte) 0x90)) >> 30) != 0
                // Third byte trailing-byte test
                || bytes[index++] > (byte) 0xBF
                // Fourth byte trailing-byte test
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

        }
    
        @Test
        @DisplayName("Should encode lease key to buffer")
        void testEncode() {
            byte[] testBytes = new byte[] { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, (byte) 0x88, (byte) 0x99, (byte) 0xAA, (byte) 0xBB,
                    (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF, 0x00 };
    
            Smb2LeaseKey key = new Smb2LeaseKey(testBytes);
            byte[] buffer = new byte[20];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

      internal const val OPCODE_CONTINUATION = 0x0
      internal const val OPCODE_TEXT = 0x1
      internal const val OPCODE_BINARY = 0x2
    
      internal const val OPCODE_CONTROL_CLOSE = 0x8
      internal const val OPCODE_CONTROL_PING = 0x9
      internal const val OPCODE_CONTROL_PONG = 0xa
    
      /**
       * Maximum length of frame payload. Larger payloads, if supported by the frame type, can use the
       * special values [PAYLOAD_SHORT] or [PAYLOAD_LONG].
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt

      const val TYPE_SETTINGS = 0x4
      const val TYPE_PUSH_PROMISE = 0x5
      const val TYPE_PING = 0x6
      const val TYPE_GOAWAY = 0x7
      const val TYPE_WINDOW_UPDATE = 0x8
      const val TYPE_CONTINUATION = 0x9
    
      const val FLAG_NONE = 0x0
      const val FLAG_ACK = 0x1 // Used for settings and ping.
      const val FLAG_END_STREAM = 0x1 // Used for headers and data.
      const val FLAG_END_HEADERS = 0x4 // Used for headers and continuation.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/PacMac.java

            byte[] cst = { (byte) (usage >> 24 & 0xFF), (byte) (usage >> 16 & 0xFF), (byte) (usage >> 8 & 0xFF), (byte) (usage & 0xFF),
                    (byte) 0x99 };
    
            byte[] output = new byte[12];
            byte[] dk = deriveKeyAES(baseKey, cst); // Checksum key
            try {
                Mac m = Mac.getInstance("HmacSHA1");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top