Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 417 for Sall (0.49 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-tests/test/com/google/common/collect/TreeRangeSetTest.java

      // TODO(cpovirk): test all of these with the ranges added in the reverse order
    
      private static final ImmutableList<Range<Integer>> QUERY_RANGES;
    
      private static final int MIN_BOUND = -1;
      private static final int MAX_BOUND = 1;
    
      static {
        ImmutableList.Builder<Range<Integer>> queryBuilder = ImmutableList.builder();
    
        queryBuilder.add(Range.<Integer>all());
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 24.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top