Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 1,441 for bize (0.25 seconds)

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

        int numGoodQueries = (int) (numQueries * hitRate + 0.5);
    
        // add good queries
        int size = elementsInSet.size();
        if (size > 0) {
          int minCopiesOfEachGoodQuery = numGoodQueries / size;
          int extras = numGoodQueries % size;
    
          for (int i = 0; i < minCopiesOfEachGoodQuery; i++) {
            queryList.addAll(elementsInSet);
          }
          List<Element> tmp = new ArrayList<>(elementsInSet);
          shuffle(tmp, random);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt

      /** The number of key-value pairs in this form-encoded body. */
      @get:JvmName("size")
      val size: Int
        get() = encodedNames.size
    
      @JvmName("-deprecated_size")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "size"),
        level = DeprecationLevel.ERROR,
      )
      fun size(): Int = size
    
      fun encodedName(index: Int): String = encodedNames[index]
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

            qrList = new QueryResponseList(null, 0, 20, 0) {
                @Override
                public int size() {
                    return 20;
                }
            };
            qrList.allRecordCount = 20;
            qrList.calculatePageInfo();
            pnList = qrList.getPageNumberList();
            assertEquals(1, pnList.size());
            assertEquals("1", pnList.get(0));
    
            qrList = new QueryResponseList(null, 0, 20, 0) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 40.1K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java

        assertEquals(expectedSize, multimap.size());
    
        int size = 0;
        for (Entry<K, V> entry : multimap.entries()) {
          assertTrue(multimap.containsEntry(entry.getKey(), entry.getValue()));
          size++;
        }
        assertEquals(expectedSize, size);
    
        int size2 = 0;
        for (Entry<K, Collection<V>> entry2 : multimap.asMap().entrySet()) {
          size2 += entry2.getValue().size();
        }
        assertEquals(expectedSize, size2);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/pager/KeyMatchPager.java

        }
    
        /**
         * Returns the page size.
         *
         * @return The page size.
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
            return pageSize;
        }
    
        /**
         * Sets the page size.
         *
         * @param pageSize The page size.
         */
        public void setPageSize(final int pageSize) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/RegularImmutableMultiset.java

          entryArray[index++] = newEntry;
          hashTable[bucket] = newEntry;
          size += count;
        }
    
        return hashFloodingDetected(hashTable)
            ? JdkBackedImmutableMultiset.create(asImmutableList(entryArray))
            : new RegularImmutableMultiset<E>(
                entryArray, hashTable, Ints.saturatedCast(size), hashCode, null);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        for (int i = 0; i < expected.size(); i++) {
          actual.add(q.pollFirst());
        }
        assertEquals(expected, actual);
      }
    
      public void testCorrectOrdering_smallHeapsPollFirst() {
        for (int size = 2; size < 16; size++) {
          for (int attempts = 0; attempts < size * (size - 1); attempts++) {
            ArrayList<Integer> elements = createOrderedList(size);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ArrayTable.java

        rowKeyToIndex = table.rowKeyToIndex;
        columnKeyToIndex = table.columnKeyToIndex;
        @SuppressWarnings("unchecked")
        @Nullable V[][] copy = (@Nullable V[][]) new Object[rowList.size()][columnList.size()];
        array = copy;
        for (int i = 0; i < rowList.size(); i++) {
          arraycopy(table.array[i], 0, copy[i], 0, table.array[i].length);
        }
      }
    
      private abstract static class ArrayMap<K, V extends @Nullable Object>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 13 19:39:21 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java

        int size = multimap().size();
        List<V> oldValues = new ArrayList<>(multimap().get(k0()));
        List<V> values = asList(v0(), v3(), v0());
        assertEquals(oldValues, new ArrayList<V>(multimap().replaceValues(k0(), values)));
        assertEquals(size - oldValues.size() + multimap().get(k0()).size(), multimap().size());
        assertTrue(multimap().get(k0()).containsAll(values));
      }
    
      @CollectionSize.Require(absent = ZERO)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Apr 12 15:07:59 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  10. android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

        int len = string.length();
        int size = len * count;
        char[] array = new char[size];
        string.getChars(0, len, array, 0);
        int n;
        for (n = len; n < size - n; n <<= 1) {
          System.arraycopy(array, 0, array, n, n);
        }
        System.arraycopy(array, 0, array, n, size - n);
        return new String(array);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top