Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 86 for 15 (0.13 sec)

  1. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

            .inOrder();
      }
    
      public void testOf6() {
        assertThat(ImmutableLongArray.of(0, 1, 3, 6, 10, 15).asList())
            .containsExactly(0L, 1L, 3L, 6L, 10L, 15L)
            .inOrder();
      }
    
      public void testOf7() {
        assertThat(ImmutableLongArray.of(0, 1, 3, 6, 10, 15, 21).asList())
            .containsExactly(0L, 1L, 3L, 6L, 10L, 15L, 21L)
            .inOrder();
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

        }
    
        // 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(15, 25, 287, 319, 381, 399, 421, 465, 529, 697, 767, 857);
        for (int i = 1; i < 900; i += 2) {
          if (!falsePositives.contains(i)) {
            assertFalse("BF should not contain " + i, bf.mightContain(Integer.toString(i)));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java

     * finder" implementation that might be used in a logging framework.
     */
    public class LazyStackTraceBenchmark {
      @Param({"20", "200", "2000"})
      int stackDepth;
    
      @Param({"-1", "3", "15"})
      int breakAt;
    
      int recursionCount;
    
      private static final Object duh = new Object();
    
      @Param Mode mode;
    
      enum Mode {
        LAZY_STACK_TRACE {
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

      public void testIteratorRegressionChildlessUncle() {
        final ArrayList<Integer> initial = Lists.newArrayList(1, 15, 13, 8, 9, 10, 11, 14);
        MinMaxPriorityQueue<Integer> q = MinMaxPriorityQueue.create(initial);
        assertIntact(q);
        q.remove(9);
        q.remove(11);
        q.remove(10);
        // Now we're in the critical state: [1, 15, 13, 8, 14]
        // Removing 8 while iterating caused duplicates in iteration result.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

            .inOrder();
      }
    
      public void testOf6() {
        assertThat(ImmutableIntArray.of(0, 1, 3, 6, 10, 15).asList())
            .containsExactly(0, 1, 3, 6, 10, 15)
            .inOrder();
      }
    
      public void testOf7() {
        assertThat(ImmutableIntArray.of(0, 1, 3, 6, 10, 15, 21).asList())
            .containsExactly(0, 1, 3, 6, 10, 15, 21)
            .inOrder();
      }
    
      public void testCopyOf_array_empty() {
        /*
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

            .addEqualityGroup(parse("concurrencyLevel=15"), parse("concurrencyLevel=15"))
            .addEqualityGroup(parse("initialCapacity=7"), parse("initialCapacity=7"))
            .addEqualityGroup(parse("initialCapacity=15"), parse("initialCapacity=15"))
            .addEqualityGroup(parse("maximumSize=7"), parse("maximumSize=7"))
            .addEqualityGroup(parse("maximumSize=15"), parse("maximumSize=15"))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

        ArrayListMultimap<String, Integer> multimap = ArrayListMultimap.create(15, 20);
        assertEquals(20, multimap.expectedValuesPerKey);
      }
    
      public void testCreateFromIllegalSizes() {
        try {
          ArrayListMultimap.create(15, -2);
          fail();
        } catch (IllegalArgumentException expected) {
        }
    
        try {
          ArrayListMultimap.create(-15, 2);
          fail();
        } catch (IllegalArgumentException expected) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/IterablesTest.java

        // A few elements.
        a = asList(4, 8, 15, 16, 23, 42);
        b = asList(4, 8, 15, 16, 23, 42);
        assertTrue(Iterables.elementsEqual(a, b));
    
        // An element differs.
        a = asList(4, 8, 15, 12, 23, 42);
        b = asList(4, 8, 15, 16, 23, 42);
        assertFalse(Iterables.elementsEqual(a, b));
    
        // null versus non-null.
        a = Arrays.<@Nullable Integer>asList(4, 8, 15, null, 23, 42);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/MathTesting.java

          ImmutableList.of(DOWN, UP, FLOOR, CEILING, HALF_EVEN, HALF_UP, HALF_DOWN);
    
      // Exponents to test for the pow() function.
      static final ImmutableList<Integer> EXPONENTS =
          ImmutableList.of(0, 1, 2, 3, 4, 7, 10, 15, 20, 25, 40, 70);
    
      /* Helper function to make a Long value from an Integer. */
      private static final Function<Integer, Long> TO_LONG =
          new Function<Integer, Long>() {
            @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/Collections2Test.java

                    newArrayList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20))
                .size());
        assertEquals(
            Integer.MAX_VALUE,
            Collections2.orderedPermutations(
                    newArrayList(
                        1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21))
                .size());
      }
    
      public void testPermutationSetContains() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 19.7K bytes
    - Viewed (0)
Back to top