Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for 0x200 (0.02 sec)

  1. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

       *
       * @see MaxCodePoint#decode
       */
      @Param({"0x80", "0x90", "0x100", "0x800", "0x10000", "0x10ffff"})
      MaxCodePoint maxCodePoint;
    
      @Param({"16384"})
      int charCount;
    
      @Param({"MURMUR3_32", "MURMUR3_128", "SHA1"})
      HashFunctionEnum hashFunctionEnum;
    
      private String[] strings;
    
      static final int SAMPLES = 0x100;
      static final int SAMPLE_MASK = 0xFF;
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

       *
       * @see MaxCodePoint#decode
       */
      @Param({"0x80", "0x90", "0x100", "0x800", "0x10000", "0x10ffff"})
      MaxCodePoint maxCodePoint;
    
      @Param({"16384"})
      int charCount;
    
      @Param({"MURMUR3_32", "MURMUR3_128", "SHA1"})
      HashFunctionEnum hashFunctionEnum;
    
      private String[] strings;
    
      static final int SAMPLES = 0x100;
      static final int SAMPLE_MASK = 0xFF;
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/HashCodeTest.java

                  new byte[] {(byte) 0xcd, (byte) 0xab, (byte) 0x00, (byte) 0x00},
                  0x0000abcd,
                  null,
                  "cdab0000"),
              new ExpectedHashCode(
                  new byte[] {
                    (byte) 0xef, (byte) 0xcd, (byte) 0xab, (byte) 0x00,
                    (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00
                  },
                  0x00abcdef,
                  0x0000000000abcdefL,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

                  new byte[] {(byte) 0xcd, (byte) 0xab, (byte) 0x00, (byte) 0x00},
                  0x0000abcd,
                  null,
                  "cdab0000"),
              new ExpectedHashCode(
                  new byte[] {
                    (byte) 0xef, (byte) 0xcd, (byte) 0xab, (byte) 0x00,
                    (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00
                  },
                  0x00abcdef,
                  0x0000000000abcdefL,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Utf8.java

        // This loop optimizes for pure ASCII.
        while (i < utf16Length && sequence.charAt(i) < 0x80) {
          i++;
        }
    
        // This loop optimizes for chars less than 0x800.
        for (; i < utf16Length; i++) {
          char c = sequence.charAt(i);
          if (c < 0x800) {
            utf8Length += ((0x7f - c) >>> 31); // branch free!
          } else {
            utf8Length += encodedLengthGeneral(sequence, i);
            break;
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/InetAddresses.java

       * @return {@code true} if the argument is a 6to4 address
       */
      public static boolean is6to4Address(Inet6Address ip) {
        byte[] bytes = ip.getAddress();
        return (bytes[0] == (byte) 0x20) && (bytes[1] == (byte) 0x02);
      }
    
      /**
       * Returns the IPv4 address embedded in a 6to4 address.
       *
       * @param ip {@link Inet6Address} to be examined for embedded IPv4 in 6to4 address
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/collect/ComparatorDelegationOverheadBenchmark.java

     * @author Louis Wasserman
     */
    public class ComparatorDelegationOverheadBenchmark {
      private final Integer[][] inputArrays = new Integer[0x100][];
    
      @Param({"10000"})
      int n;
    
      @BeforeExperiment
      void setUp() throws Exception {
        Random rng = new Random();
        for (int i = 0; i < 0x100; i++) {
          Integer[] array = new Integer[n];
          for (int j = 0; j < n; j++) {
            array[j] = rng.nextInt();
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/BaseEncoding.java

          super(alphabet, null);
          checkArgument(alphabet.chars.length == 16);
          for (int i = 0; i < 256; ++i) {
            encoding[i] = alphabet.encode(i >>> 4);
            encoding[i | 0x100] = alphabet.encode(i & 0xF);
          }
        }
    
        @Override
        void encodeTo(Appendable target, byte[] bytes, int off, int len) throws IOException {
          checkNotNull(target);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/InetAddresses.java

       * @return {@code true} if the argument is a 6to4 address
       */
      public static boolean is6to4Address(Inet6Address ip) {
        byte[] bytes = ip.getAddress();
        return (bytes[0] == (byte) 0x20) && (bytes[1] == (byte) 0x02);
      }
    
      /**
       * Returns the IPv4 address embedded in a 6to4 address.
       *
       * @param ip {@link Inet6Address} to be examined for embedded IPv4 in 6to4 address
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

        Random rng = new Random(0);
        for (int z = 0; z < 100; z++) {
          int[] codePoints = new int[rng.nextInt(8)];
          for (int i = 0; i < codePoints.length; i++) {
            do {
              codePoints[i] = rng.nextInt(0x800);
            } while (!Character.isValidCodePoint(codePoints[i])
                || (codePoints[i] >= Character.MIN_SURROGATE
                    && codePoints[i] <= Character.MAX_SURROGATE));
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:29:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top