Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 38 for comme (0.13 sec)

  1. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

       *
       * <p>The {@code @Nullable} annotations on the {@code equalityGroup} parameter imply that the
       * objects, and the array itself, can be null. That is for programmer convenience, when the
       * objects come from factory methods that are themselves {@code @Nullable}. In reality neither the
       * array nor its contents can be null, but it is not useful to force the use of {@code
       * requireNonNull} or the like just to assert that.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TopKSelector.java

     * degrades more gracefully for worst-case input.
     *
     * <p>The implementation does not necessarily use a <i>stable</i> sorting algorithm; when multiple
     * equivalent elements are added to it, it is undefined which will come first in the output.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class TopKSelector<
        T extends @Nullable Object> {
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * time which we translate to storedPermits. (We increase storedPermits with the amount of permits
       * that would have been produced in that idle time). So, if rate == 1 permit per second, and
       * arrivals come exactly one second after the previous, then storedPermits is _never_ increased --
       * we would only increase it for arrivals _later_ than the expected one second.
       */
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSet.java

        return MAX_TABLE_SIZE;
      }
    
      /**
       * Default implementation of the guts of ImmutableSet.Builder, creating an open-addressed hash
       * table and deduplicating elements as they come, so it only allocates O(max(distinct,
       * expectedCapacity)) rather than O(calls to add).
       *
       * <p>This implementation attempts to detect hash flooding, and if it's identified, falls back to
       * JdkBackedSetBuilderImpl.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/SplitterTest.java

      private static final Splitter COMMA_SPLITTER = Splitter.on(',');
    
      public void testSplitNullString() {
        try {
          COMMA_SPLITTER.split(null);
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      public void testCharacterSimpleSplit() {
        String simple = "a,b,c";
        Iterable<String> letters = COMMA_SPLITTER.split(simple);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CollectCollectors.java

        checkNotNull(keyFunction);
        checkNotNull(valueFunction);
        /*
         * We will always fail if there are duplicate keys, and the keys are always sorted by
         * the Comparator, so the entries can come in an arbitrary order -- so we report UNORDERED.
         */
        return Collector.of(
            () -> new ImmutableSortedMap.Builder<K, V>(comparator),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 17.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedLong.java

       */
      @Override
      public float floatValue() {
        if (value >= 0) {
          return (float) value;
        }
        // The top bit is set, which means that the float value is going to come from the top 24 bits.
        // So we can ignore the bottom 8, except for rounding. See doubleValue() for more.
        return (float) ((value >>> 1) | (value & 1)) * 2f;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:09:25 GMT 2021
    - 8.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

       * SuppressWarnings("unchecked")
       * Set<String> badStrings = (Set) Sets.intersection(
       *     aFewBadObjects, manyBadStrings);
       * }</pre>
       *
       * <p>This is unfortunate, but should come up only very rarely.
       */
      public static <E extends @Nullable Object> SetView<E> intersection(
          final Set<E> set1, final Set<?> set2) {
        checkNotNull(set1, "set1");
        checkNotNull(set2, "set2");
    
    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)
  9. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        assertInterrupted();
      }
    
      public void testJoinTimeoutMultiInterruptExpired() {
        /*
         * We don't "need" to schedule a thread completion at all here, but by doing
         * so, we come the closest we can to testing that the wait time is
         * appropriately decreased on each progressive join() call.
         */
        TimedThread thread = TimedThread.createWithDelay(LONG_DELAY_MS);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 31.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ExecutionError.java

     * ExecutionException} or {@link UncheckedExecutionException}. This allows the client code to
     * continue to distinguish between exceptions and errors, even when they come from other threads.
     *
     * @author Chris Povirk
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class ExecutionError extends Error {
      /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top