Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for Fricke (0.17 sec)

  1. guava/src/com/google/common/base/Utf8.java

            // Four-byte form.
            if (index + 2 >= end) {
              return false;
            }
            int byte2 = bytes[index++];
            if (byte2 > (byte) 0xBF
                // 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)
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

     *
     * <p>This class should not be assumed to be universally superior to {@code
     * java.util.LinkedHashSet}. Generally speaking, this class reduces object allocation and memory
     * consumption at the price of moderately increased constant factors of CPU. Only use this class
     * when there is a specific reason to prioritize memory over CPU.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible // not worth using in GWT for now
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Preconditions.java

       *
       * But the methods in this class want to throw different exceptions, depending on the args, so it
       * appears that this pattern is not directly applicable. But we can use the ridiculous, devious
       * trick of throwing an exception in the middle of the construction of another exception. Hotspot
       * is fine with that.
       */
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java

          result = (byte) (result ^ checksum.getValue());
        }
        return result;
      }
    
      // Helpers + main
    
      private byte runHashFunction(int reps, HashFunction hashFunction) {
        byte result = 0x01;
        // Trick the JVM to prevent it from using the hash function non-polymorphically
        result ^= Hashing.crc32().hashInt(reps).asBytes()[0];
        result ^= Hashing.adler32().hashInt(reps).asBytes()[0];
        for (int i = 0; i < reps; i++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jun 13 16:19:15 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java

          result = (byte) (result ^ checksum.getValue());
        }
        return result;
      }
    
      // Helpers + main
    
      private byte runHashFunction(int reps, HashFunction hashFunction) {
        byte result = 0x01;
        // Trick the JVM to prevent it from using the hash function non-polymorphically
        result ^= Hashing.crc32().hashInt(reps).asBytes()[0];
        result ^= Hashing.adler32().hashInt(reps).asBytes()[0];
        for (int i = 0; i < reps; i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 13 16:19:15 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

    enum BloomFilterStrategies implements BloomFilter.Strategy {
      /**
       * See "Less Hashing, Same Performance: Building a Better Bloom Filter" by Adam Kirsch and Michael
       * Mitzenmacher. The paper argues that this trick doesn't significantly deteriorate the
       * performance of a Bloom filter (yet only needs two 32bit hash functions).
       */
      MURMUR128_MITZ_32() {
        @Override
        public <T extends @Nullable Object> boolean put(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 10.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          sort(
              insertionOrder,
              new Comparator<V>() {
                @Override
                public int compare(V left, V right) {
                  // The indexes are small enough for the subtraction trick to be safe.
                  return indexOfEntryWithValue(left) - indexOfEntryWithValue(right);
                }
    
                int indexOfEntryWithValue(V value) {
                  for (int i = 0; i < orderedEntries.size(); i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

       */
      public List<Long> asList() {
        /*
         * Typically we cache this kind of thing, but much repeated use of this view is a performance
         * anti-pattern anyway. If we cache, then everyone pays a price in memory footprint even if
         * they never use this method.
         */
        return new AsList(this);
      }
    
      static class AsList extends AbstractList<Long> implements RandomAccess, Serializable {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactHashMap.java

     * guarantees.
     *
     * <p>This class should not be assumed to be universally superior to {@code java.util.HashMap}.
     * Generally speaking, this class reduces object allocation and memory consumption at the price of
     * moderately increased constant factors of CPU. Only use this class when there is a specific reason
     * to prioritize memory over CPU.
     *
     * @author Louis Wasserman
     * @author Jon Noack
     */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 35.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    distance.
    
      `And yet what a dear little puppy it was!' said Alice, as she
    leant against a buttercup to rest herself, and fanned herself
    with one of the leaves:  `I should have liked teaching it tricks
    very much, if--if I'd only been the right size to do it!  Oh
    dear!  I'd nearly forgotten that I've got to grow up again!  Let
    me see--how IS it to be managed?  I suppose I ought to eat or
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
Back to top