Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for 0xffffff (0.19 sec)

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

              +
              // Three byte characters
              THREE_BYTE_ROUNDTRIPPABLE_CHARACTERS;
    
      // 1,048,576 [chars 0x10000L to 0x10FFFF]
      private static final long FOUR_BYTE_ROUNDTRIPPABLE_CHARACTERS = 0x10FFFF - 0x10000L + 1;
    
      // 289,571,839
      private static final long EXPECTED_FOUR_BYTE_ROUNDTRIPPABLE_COUNT =
          // All one byte characters
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java

    import java.util.Random;
    
    /**
     * Benchmark for HashMultiset.add for an already-present element.
     *
     * @author Louis Wasserman
     */
    public class HashMultisetAddPresentBenchmark {
      private static final int ARRAY_MASK = 0x0ffff;
      private static final int ARRAY_SIZE = 0x10000;
      List<Multiset<Integer>> multisets = new ArrayList<>(0x10000);
      int[] queries = new int[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        } catch (IllegalArgumentException expected) {
          // Kotlin native, see above
        }
      }
    
      public void testDecodeInt() {
        assertThat(UnsignedInts.decode("0xffffffff")).isEqualTo(0xffffffff);
        assertThat(UnsignedInts.decode("01234567")).isEqualTo(01234567); // octal
        assertThat(UnsignedInts.decode("#12345678")).isEqualTo(0x12345678);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

      }
    
      private static long remix(long h) {
        h ^= h >>> 41;
        h *= 949921979;
        return h;
      }
    
      private static byte getChar(long h) {
        return (byte) ('a' + ((h & 0xfffff) % 26));
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 15:56:47 GMT 2017
    - 6.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/InetAddresses.java

          checkArgument(
              (port >= 0) && (port <= 0xffff), "port '%s' is out of range (0 <= port <= 0xffff)", port);
          checkArgument(
              (flags >= 0) && (flags <= 0xffff),
              "flags '%s' is out of range (0 <= flags <= 0xffff)",
              flags);
    
          this.server = MoreObjects.firstNonNull(server, ANY4);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  6. guava-tests/test/com/google/common/net/InetAddressesTest.java

        address = InetAddresses.increment(address);
        assertEquals(address_67_0, address);
    
        InetAddress address_ffffff = InetAddress.getByName("255.255.255.255");
        assertThrows(IllegalArgumentException.class, () -> InetAddresses.increment(address_ffffff));
      }
    
      public void testIncrementIPv6() throws UnknownHostException {
        InetAddress addressV6_66_0 = InetAddress.getByName("2001:db8::6600");
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

      }
    
      private static long remix(long h) {
        h ^= h >>> 41;
        h *= 949921979;
        return h;
      }
    
      private static byte getChar(long h) {
        return (byte) ('a' + ((h & 0xfffff) % 26));
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jul 19 14:00:24 GMT 2016
    - 6.2K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java

    import java.util.Random;
    
    /**
     * Benchmark for HashMultiset.add for an already-present element.
     *
     * @author Louis Wasserman
     */
    public class HashMultisetAddPresentBenchmark {
      private static final int ARRAY_MASK = 0x0ffff;
      private static final int ARRAY_SIZE = 0x10000;
      List<Multiset<Integer>> multisets = new ArrayList<>(0x10000);
      int[] queries = new int[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

      }
    
      private static long remix(long h) {
        h ^= h >>> 41;
        h *= 949921979;
        return h;
      }
    
      private static byte getChar(long h) {
        return (byte) ('a' + ((h & 0xfffff) % 26));
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 29 14:55:25 GMT 2021
    - 7.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/xml/XmlEscapers.java

       * element content or {@link #xmlAttributeEscaper} in attribute values.
       *
       * <p>This escaper substitutes {@code 0xFFFD} for non-whitespace control characters and the
       * character values {@code 0xFFFE} and {@code 0xFFFF} which are not permitted in XML. For more
       * detail see section <a href="http://www.w3.org/TR/2008/REC-xml-20081126/#charsets">2.2</a> of
       * the XML specification.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 6.5K bytes
    - Viewed (0)
Back to top