Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for 9000 (0.48 sec)

  1. guava-tests/test/com/google/common/collect/OrderingTest.java

        assertEquals(ImmutableList.of(-1, 3, foo, bar), result);
      }
    
      @GwtIncompatible // slow
      public void testLeastOf_reconcileAgainstSortAndSublist() {
        runLeastOfComparison(1000, 300, 20);
      }
    
      public void testLeastOf_reconcileAgainstSortAndSublistSmall() {
        runLeastOfComparison(10, 30, 2);
      }
    
      private static void runLeastOfComparison(int iterations, int elements, int seeds) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        assertEquals(ImmutableList.of(-1, 3, foo, bar), result);
      }
    
      @GwtIncompatible // slow
      public void testLeastOf_reconcileAgainstSortAndSublist() {
        runLeastOfComparison(1000, 300, 20);
      }
    
      public void testLeastOf_reconcileAgainstSortAndSublistSmall() {
        runLeastOfComparison(10, 30, 2);
      }
    
      private static void runLeastOfComparison(int iterations, int elements, int seeds) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        mmHeap.addAll(
            Lists.newArrayList(1, 20, 1000, 2, 3, 30, 40, 10, 11, 12, 13, 200, 300, 500, 400));
        assertTrue("Heap is not intact initially", mmHeap.isIntact());
        Iterator<Integer> it = mmHeap.iterator();
        assertEquals((Integer) 1, it.next());
        assertEquals((Integer) 20, it.next());
        assertEquals((Integer) 1000, it.next());
        assertEquals((Integer) 2, it.next());
        it.remove();
    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)
  4. src/main/java/org/codelibs/fess/app/web/admin/upgrade/AdminUpgradeAction.java

        private void upgradeFrom14_12() {
            // nothing
        }
    
        private String[] getDictionaryPaths() {
            try (CurlResponse response = ComponentUtil.getCurlHelper().get("/_configsync/file").param("size", "1000").execute()) {
                if (response.getHttpStatusCode() == 200) {
                    final Map<String, Object> contentMap = response.getContent(OpenSearchCurl.jsonParser());
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Apr 13 11:43:03 GMT 2024
    - 46.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        // Tests that serializing a map, its keySet, and values only writes the underlying data once.
    
        Entry<Integer, Integer>[] entries = (Entry<Integer, Integer>[]) new Entry<?, ?>[1000];
        for (int i = 0; i < 1000; i++) {
          entries[i] = ImmutableMap.entryOf(i, i);
        }
    
        ImmutableMap<Integer, Integer> map = RegularImmutableMap.fromEntries(entries);
        Set<Integer> keySet = map.keySet();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ListsTest.java

        assertEquals(89, Lists.computeArrayListCapacity(77));
        assertEquals(22000005, Lists.computeArrayListCapacity(20000000));
        assertEquals(Integer.MAX_VALUE, Lists.computeArrayListCapacity(Integer.MAX_VALUE - 1000));
      }
    
      public void testNewArrayListFromCollection() {
        ArrayList<Integer> list = Lists.newArrayList(SOME_COLLECTION);
        assertEquals(SOME_COLLECTION, list);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            final Bean bean = new Bean();
            BeanUtil.copyMapToBean(map, bean, converter(new NumberConverter("#,##0")));
            assertThat(bean.aaa, is((Object) "1,000"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCopyMapToBean_converter2() throws Exception {
            final Map<String, Object> map = newHashMap();
            map.put("aaa", "1,000");
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 34.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      public void testBuildKeepingLast_shortTable() {
        Builder<Integer, String> builder = ImmutableMap.builder();
        Map<Integer, String> expected = new LinkedHashMap<>();
        for (int i = 0; i < 1000; i++) {
          // Truncate to even key, so we have put(0, "0") then put(0, "1"). Half the entries are
          // duplicates.
          Integer key = i & ~1;
          String value = String.valueOf(i);
          builder.put(key, value);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 14:39:16 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/SetsTest.java

        verifySetContents(set, EMPTY_COLLECTION);
      }
    
      public void testNewHashSetWithExpectedSizeLarge() {
        HashSet<Integer> set = Sets.newHashSetWithExpectedSize(1000);
        verifySetContents(set, EMPTY_COLLECTION);
      }
    
      public void testNewHashSetFromIterator() {
        HashSet<Integer> set = Sets.newHashSet(SOME_COLLECTION.iterator());
        verifySetContents(set, SOME_COLLECTION);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.9K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/hash/BloomFilter.java

        }
        /*
         * TODO(user): Put a warning in the javadoc about tiny fpp values, since the resulting size
         * is proportional to -log(p), but there is not much of a point after all, e.g.
         * optimalM(1000, 0.0000000000000001) = 76680 which is less than 10kb. Who cares!
         */
        long numBits = optimalNumOfBits(expectedInsertions, fpp);
        int numHashFunctions = optimalNumOfHashFunctions(expectedInsertions, numBits);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
Back to top