Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 126 for 128 (0.01 sec)

  1. android/guava-tests/test/com/google/common/base/Utf8Test.java

        } catch (IllegalArgumentException expected) {
          assertThat(expected)
              .hasMessageThat()
              .isEqualTo("Unpaired surrogate at index " + invalidCodePointIndex);
        }
      }
    
      // 128 - [chars 0x0000 to 0x007f]
      private static final long ONE_BYTE_ROUNDTRIPPABLE_CHARACTERS = 0x007f - 0x0000 + 1;
    
      // 128
      private static final long EXPECTED_ONE_BYTE_ROUNDTRIPPABLE_COUNT =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

      public void testChooseTableSize() {
        assertEquals(8, ImmutableSet.chooseTableSize(3));
        assertEquals(8, ImmutableSet.chooseTableSize(4));
    
        assertEquals(1 << 29, ImmutableSet.chooseTableSize(1 << 28));
        assertEquals(1 << 29, ImmutableSet.chooseTableSize((1 << 29) * 3 / 5));
    
        // Now we hit the cap
        assertEquals(1 << 30, ImmutableSet.chooseTableSize(1 << 29));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        }
      }
    
      private static long codePointToFourUtf8Bytes(int codePoint) {
        // codePoint has at most 21 bits
        return ((0xFL << 4) | (codePoint >>> 18))
            | ((0x80L | (0x3F & (codePoint >>> 12))) << 8)
            | ((0x80L | (0x3F & (codePoint >>> 6))) << 16)
            | ((0x80L | (0x3F & codePoint)) << 24);
      }
    
      private static long charToThreeUtf8Bytes(char c) {
        return ((0x7L << 5) | (c >>> 12))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

      public void testChooseTableSize() {
        assertEquals(8, ImmutableSet.chooseTableSize(3));
        assertEquals(8, ImmutableSet.chooseTableSize(4));
    
        assertEquals(1 << 29, ImmutableSet.chooseTableSize(1 << 28));
        assertEquals(1 << 29, ImmutableSet.chooseTableSize((1 << 29) * 3 / 5));
    
        // Now we hit the cap
        assertEquals(1 << 30, ImmutableSet.chooseTableSize(1 << 29));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/Type2Message.java

            if (targetName.length != 0) {
                setTarget(new String(targetName, (flags & NTLMSSP_NEGOTIATE_UNICODE) != 0 ? UNI_ENCODING : getOEMEncoding()));
            }
            pos += 12; // 8 for target, 4 for flags
    
            if (!allZeros8(input, pos)) {
                final byte[] challengeBytes = new byte[8];
                System.arraycopy(input, pos, challengeBytes, 0, challengeBytes.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

        }
    
        @Test
        @DisplayName("Test getNextEntryOffset returns correct value")
        void testGetNextEntryOffset() throws SMBProtocolDecodingException {
            int expectedOffset = 128;
            byte[] buffer = createNotificationBufferWithNextOffset("file.txt", FileNotifyInformation.FILE_ACTION_ADDED, expectedOffset);
    
            notifyInfo.decode(buffer, 0, buffer.length);
    
    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/internal/AllocInfoTest.java

                byte[] classes = { FileSystemInformation.SMB_INFO_ALLOCATION, FileSystemInformation.FS_SIZE_INFO,
                        FileSystemInformation.FS_FULL_SIZE_INFO, (byte) 0, (byte) 1, (byte) 127, (byte) -128 };
    
                for (byte fsClass : classes) {
                    TestAllocInfo allocInfo = new TestAllocInfo(1024L, 512L, fsClass);
                    assertEquals(fsClass, allocInfo.getFileSystemInformationClass());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     * bits.
     *
     * We split each code point into a 14-bit prefix and a 7-bit suffix. All code points with the same
     * prefix are called a 'section'. There are 128 code points per section.
     *
     * Ranges Data (32,612 bytes)
     * ==========================
     *
     * Each entry is 4 bytes, and represents a _range_ of code points that all share a common 14-bit
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/SecureCredentialStorage.java

        private static final String KEY_ALGORITHM = "AES";
        private static final String KEY_DERIVATION_ALGORITHM = "PBKDF2WithHmacSHA256";
        private static final int KEY_SIZE = 256;
        private static final int GCM_TAG_SIZE = 128;
        private static final int GCM_IV_SIZE = 12;
        private static final int SALT_SIZE = 32;
        private static final int PBKDF2_ITERATIONS = 100_000;
    
        private final SecureRandom secureRandom = new SecureRandom();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

        void testCommonServerMessageBlockMethods() throws SMBProtocolDecodingException {
            // Test decode method
            byte[] buffer = new byte[512];
            int bufferIndex = 0;
            int expectedDecodeLength = 128;
            when(response.decode(buffer, bufferIndex)).thenReturn(expectedDecodeLength);
            assertEquals(expectedDecodeLength, response.decode(buffer, bufferIndex));
    
            // Test encode method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
Back to top