Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for 14 (0.12 sec)

  1. android/guava/src/com/google/common/math/LongMath.java

        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11 * 12 * 13 * 14,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11 * 12 * 13 * 14 * 15,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11 * 12 * 13 * 14 * 15 * 16,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11 * 12 * 13 * 14 * 15 * 16 * 17,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11 * 12 * 13 * 14 * 15 * 16 * 17 * 18,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  2. 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, 21))
                .size());
    
        // Almost force an overflow in the binomial coefficient calculation
        assertEquals(
            1391975640 /*C(34,14)*/,
            Collections2.orderedPermutations(concat(nCopies(20, 1), nCopies(14, 2))).size());
        // Do force an overflow in the binomial coefficient calculation
    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)
  3. android/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, 21))
                .size());
    
        // Almost force an overflow in the binomial coefficient calculation
        assertEquals(
            1391975640 /*C(34,14)*/,
            Collections2.orderedPermutations(concat(nCopies(20, 1), nCopies(14, 2))).size());
        // Do force an overflow in the binomial coefficient calculation
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        assertThat(keySet).containsExactly(9, 0, 1, 2, 10, 11, 12, 6, 7, 8);
    
        // evict 9, 0, 1
        getAll(cache, asList(13, 14, 15));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(2, 10, 11, 12, 6, 7, 8, 13, 14, 15);
      }
    
      public void testEviction_weightedLru() {
        // test weighted lru within a single segment
        IdentityLoader<Integer> loader = identityLoader();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

                .put(Range.closedOpen(0, 1), 1) // not coalesced
                .put(Range.closedOpen(1, 5), 1)
                .put(Range.closedOpen(7, 9), 2)
                .put(Range.closedOpen(9, 14), 0)
                .put(Range.closedOpen(14, 15), 2)
                .put(Range.closedOpen(17, 20), 3)
                .put(Range.closedOpen(22, 25), 4)
                .build(),
            rangeMap.asMapOfRanges());
      }
    
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 28K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

            new long[] {GREATEST - 1, 1, GREATEST - 2, 2},
            1,
            3,
            new long[] {GREATEST - 1, GREATEST - 2, 1, 2});
      }
    
      public void testDivide() {
        assertThat(UnsignedLongs.divide(14, 5)).isEqualTo(2);
        assertThat(UnsignedLongs.divide(0, 50)).isEqualTo(0);
        assertThat(UnsignedLongs.divide(0xfffffffffffffffeL, 0xfffffffffffffffdL)).isEqualTo(1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        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)
  8. guava-tests/test/com/google/common/base/SuppliersTest.java

      }
    
      public void testSupplierFunction() {
        Supplier<Integer> supplier = Suppliers.ofInstance(14);
        Function<Supplier<Integer>, Integer> supplierFunction = Suppliers.supplierFunction();
    
        assertEquals(14, (int) supplierFunction.apply(supplier));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializationTester
      @SuppressWarnings("DoNotCall")
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/SuppliersTest.java

      }
    
      public void testSupplierFunction() {
        Supplier<Integer> supplier = Suppliers.ofInstance(14);
        Function<Supplier<Integer>, Integer> supplierFunction = Suppliers.supplierFunction();
    
        assertEquals(14, (int) supplierFunction.apply(supplier));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializationTester
      @SuppressWarnings("DoNotCall")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/net/InetAddressesTest.java

        assertEquals(
            InetAddresses.fromLittleEndianByteArray(
                new byte[] {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}),
            InetAddress.getByAddress(
                new byte[] {16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1}));
    
        assertThrows(
            UnknownHostException.class, () -> InetAddresses.fromLittleEndianByteArray(new byte[3]));
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
Back to top