Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 844 for halse (0.17 sec)

  1. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        for (int i = 0; i < numInsertions * 2; i += 2) {
          assertTrue(bf.mightContain(Integer.toString(i)));
        }
    
        // Now we check for known false positives using a set of known false positives.
        // (These are all of the false positives under 900.)
        ImmutableSet<Integer> falsePositives =
            ImmutableSet.of(
                49, 51, 59, 163, 199, 321, 325, 363, 367, 469, 545, 561, 727, 769, 773, 781);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableColumnTest.java

    import java.util.Map;
    
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class UnmodifiableRowSortedTableColumnTest extends ColumnTests {
      public UnmodifiableRowSortedTableColumnTest() {
        super(false, false, false, false, false);
      }
    
      @Override
      Table<String, Character, Integer> makeTable() {
        RowSortedTable<String, Character, Integer> table = TreeBasedTable.create();
        return Tables.unmodifiableRowSortedTable(table);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/StandardMutableDirectedNetworkTest.java

        ElementOrder<?> naturalElementOrder = ElementOrder.sorted(Ordering.natural());
    
        return Arrays.asList(
            new Object[][] {
              {false, false, ElementOrder.insertion(), ElementOrder.insertion()},
              {true, false, ElementOrder.insertion(), ElementOrder.insertion()},
              {false, false, naturalElementOrder, naturalElementOrder},
              {true, true, ElementOrder.insertion(), ElementOrder.insertion()},
            });
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 09 17:01:22 GMT 2020
    - 2.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableColumnMapTest.java

    import java.util.Map;
    
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class UnmodifiableRowSortedTableColumnMapTest extends ColumnMapTests {
      public UnmodifiableRowSortedTableColumnMapTest() {
        super(false, false, false, false);
      }
    
      @Override
      Table<Integer, String, Character> makeTable() {
        RowSortedTable<Integer, String, Character> original = TreeBasedTable.create();
        return Tables.unmodifiableRowSortedTable(original);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

        assertFalse(
            "setCount() with a too-small oldCount should return false",
            getMultiset().setCount(e0(), 1, 5));
        expectContents(nCopies(3, e0()));
      }
    
      /*
       * TODO: test that unmodifiable multisets either throw UOE or return false
       * when both are valid options. Currently we test the UOE cases and the
       * return-false cases but not their intersection
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 21 15:08:35 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Utf8.java

          if (byte1 < (byte) 0xE0) {
            // Two-byte form.
            if (index == end) {
              return false;
            }
            // Simultaneously check for illegal trailing-byte in leading position
            // and overlong 2-byte form.
            if (byte1 < (byte) 0xC2 || bytes[index++] > (byte) 0xBF) {
              return false;
            }
          } else if (byte1 < (byte) 0xF0) {
            // Three-byte form.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        public boolean equals(@Nullable Object o) {
          if (!(o instanceof ValidTestObject)) {
            return false;
          }
          ValidTestObject other = (ValidTestObject) o;
          if (aspect1 != other.aspect1) {
            return false;
          }
          if (aspect2 != other.aspect2) {
            return false;
          }
          return true;
        }
    
        @Override
        public int hashCode() {
          int result = 17;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/GeneralRange.java

      }
    
      /** Returns the whole range relative to the specified comparator. */
      static <T extends @Nullable Object> GeneralRange<T> all(Comparator<? super T> comparator) {
        return new GeneralRange<>(comparator, false, null, OPEN, false, null, OPEN);
      }
    
      /**
       * Returns everything above the endpoint relative to the specified comparator, with the specified
       * endpoint behavior.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

      volatile Scheduler configuration = newFixedDelaySchedule(0, 10, MILLISECONDS);
      volatile @Nullable ScheduledFuture<?> future = null;
    
      volatile boolean atFixedRateCalled = false;
      volatile boolean withFixedDelayCalled = false;
      volatile boolean scheduleCalled = false;
    
      final ScheduledExecutorService executor =
          new ScheduledThreadPoolExecutor(10) {
            @Override
            public ScheduledFuture<?> scheduleWithFixedDelay(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ArrayTableColumnMapTest.java

    import java.util.Arrays;
    import java.util.Map;
    
    @GwtIncompatible // TODO(hhchan): ArrayTable
    public class ArrayTableColumnMapTest extends ColumnMapTests {
      public ArrayTableColumnMapTest() {
        super(true, false, false, false);
      }
    
      @Override
      Table<Integer, String, Character> makeTable() {
        return ArrayTable.create(Arrays.asList(1, 2, 3), Arrays.asList("foo", "bar", "dog"));
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 01 22:53:42 GMT 2022
    - 1.3K bytes
    - Viewed (0)
Back to top