Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 167 for beater (0.15 sec)

  1. android/guava/src/com/google/common/cache/Striped64.java

       * There is no need for a blocking lock; when the lock is not
       * available, threads try other slots (or the base).  During these
       * retries, there is increased contention and reduced locality,
       * which is still better than alternatives.
       *
       * Per-thread hash codes are initialized to random values.
       * Contention and/or table collisions are indicated by failed
       * CASes when performing an update operation (see method
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/Helpers.java

          assertTrue(t.equals(t));
    
          for (int j = i + 1; j < valuesInExpectedOrder.size(); j++) {
            T greater = valuesInExpectedOrder.get(j);
            assertTrue(greater + ".compareTo(" + t + ')', greater.compareTo(t) > 0);
            assertFalse(greater.equals(t));
          }
        }
      }
    
      /**
       * Returns a collection that simulates concurrent modification by having its size method return
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedSet.java

      }
    
      /**
       * Not supported. Use {@link #naturalOrder}, which offers better type-safety, instead. This method
       * exists only to hide {@link ImmutableSet#builder} from consumers of {@code ImmutableSortedSet}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Use {@link ImmutableSortedSet#naturalOrder}, which offers better type-safety.
       */
      @DoNotCall("Use naturalOrder")
      @Deprecated
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactHashSet.java

       * structure (to make it possible to throw ConcurrentModificationException in the iterator). Note
       * that we choose not to make this volatile, so we do less of a "best effort" to track such
       * errors, for better performance.
       */
      private transient int metadata;
    
      /** The number of elements contained in the set. */
      private transient int size;
    
      /** Constructs a new empty instance of {@code CompactHashSet}. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       *
       * <p>If {@code expectedSize} is exactly the number of entries added to the builder before {@link
       * Builder#build} is called, the builder is likely to perform better than an unsized {@link
       * #builder()} would have.
       *
       * <p>It is not specified if any performance benefits apply if {@code expectedSize} is close to,
       * but not exactly, the number of entries added to the builder.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ByteSource.java

      }
    
      /**
       * Returns a view of a slice of this byte source that is at most {@code length} bytes long
       * starting at the given {@code offset}. If {@code offset} is greater than the size of this
       * source, the returned source will be empty. If {@code offset + length} is greater than the size
       * of this source, the returned source will contain the slice starting at {@code offset} and
       * ending at the end of this source.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Floats.java

       *
       * @param value a primitive {@code float} value
       * @return a hash code for the value
       */
      public static int hashCode(float value) {
        // TODO(kevinb): is there a better way, that's still gwt-safe?
        return ((Float) value).hashCode();
      }
    
      /**
       * Compares the two specified {@code float} values using {@link Float#compare(float, float)}. You
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        private final transient ClassSanityTester tester;
    
        SerializableDummyProxy(ClassSanityTester tester) {
          this.tester = tester;
        }
    
        @Override
        <R> R dummyReturnValue(TypeToken<R> returnType) {
          return tester.getDummyValue(returnType);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

            queue[index] = parentElement;
            queue[parentIndex] = x;
            return parentIndex;
          }
          queue[index] = x;
          return index;
        }
    
        // About the term "aunt node": it's better to leave gender out of it, but for this the English
        // language has nothing for us. Except for the whimsical neologism "pibling" (!) which we
        // obviously could not expect to increase anyone's understanding of the code.
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Sets.java

       * {@link TreeSet} or the {@link Map#keySet} of an {@code IdentityHashMap}.
       *
       * <p><b>Note:</b> The returned view performs slightly better when {@code set1} is the smaller of
       * the two sets. If you have reason to believe one of your sets will generally be smaller than the
       * other, pass it first. Unfortunately, since this method sets the generic type of the returned
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
Back to top