Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 397 for Sall (0.15 sec)

  1. guava-tests/test/com/google/common/math/StatsTest.java

     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.math.StatsTesting.ALLOWED_ERROR;
    import static com.google.common.math.StatsTesting.ALL_MANY_VALUES;
    import static com.google.common.math.StatsTesting.ALL_STATS;
    import static com.google.common.math.StatsTesting.EMPTY_STATS_ITERABLE;
    import static com.google.common.math.StatsTesting.EMPTY_STATS_VARARGS;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 32.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

          return split == null ? null : new GeneralSpliteratorOfPrimitive<>(split, consumerizer);
        }
      }
    
      /**
       * Different ways of decomposing a Spliterator, all of which must produce the same elements (up to
       * ordering, if Spliterator.ORDERED is not present).
       */
      enum SpliteratorDecompositionStrategy {
        NO_SPLIT_FOR_EACH_REMAINING {
          @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

      }
    
      public void testEqualsForEqualMap() {
        Map<K, V> map;
        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
    
        // Explicitly call `equals`; `assertEquals` might return fast
        assertTrue(map.equals(map));
        assertTrue(makePopulatedMap().equals(map));
        assertFalse(map.equals(Collections.emptyMap()));
        // no-inspection ObjectEqualsNull
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 45.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/eventbus/EventBusTest.java

      public void testRegistrationWithBridgeMethod() {
        final AtomicInteger calls = new AtomicInteger();
        bus.register(
            new Callback<String>() {
              @Subscribe
              @Override
              public void call(String s) {
                calls.incrementAndGet();
              }
            });
    
        bus.post("hello");
    
        assertEquals(1, calls.get());
      }
    
      public void testPrimitiveSubscribeFails() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

      public void testRegistrationWithBridgeMethod() {
        final AtomicInteger calls = new AtomicInteger();
        bus.register(
            new Callback<String>() {
              @Subscribe
              @Override
              public void call(String s) {
                calls.incrementAndGet();
              }
            });
    
        bus.post("hello");
    
        assertEquals(1, calls.get());
      }
    
      public void testPrimitiveSubscribeFails() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Hashing.java

       *       buckets change from {@code [alpha, bravo, charlie]} to {@code [bravo, charlie]}, it will
       *       assign all the old {@code alpha} traffic to {@code bravo} and all the old {@code bravo}
       *       traffic to {@code charlie}, rather than letting {@code bravo} keep its traffic.
       * </ul>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/HashBiMap.java

          if (modCount != expectedModCount) {
            throw new ConcurrentModificationException();
          }
          if (toRemove == null) {
            throw new IllegalStateException("no calls to next() since the last call to remove()");
          }
          delete(toRemove);
          expectedModCount = modCount;
          toRemove = null;
        }
    
        abstract T output(BiEntry<K, V> entry);
      }
    
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

      }
    
      static void assertBitEquals(double x, double y) {
        assertEquals(Double.doubleToRawLongBits(x), Double.doubleToRawLongBits(y));
      }
    
      /** constructor creates array of given size with all elements zero */
      public void testConstructor() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i = 0; i < SIZE; i++) {
          assertBitEquals(0.0, aa.get(i));
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.math.StatsTesting.ALLOWED_ERROR;
    import static com.google.common.math.StatsTesting.ALL_MANY_VALUES;
    import static com.google.common.math.StatsTesting.INTEGER_MANY_VALUES;
    import static com.google.common.math.StatsTesting.INTEGER_MANY_VALUES_COUNT;
    import static com.google.common.math.StatsTesting.INTEGER_MANY_VALUES_MAX;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 36.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ForwardingMultiset.java

    import java.util.Collection;
    import java.util.Iterator;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A multiset which forwards all its method calls to another multiset. Subclasses should override
     * one or more methods to modify the behavior of the backing multiset as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 10.4K bytes
    - Viewed (0)
Back to top