- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 403 for countIn (0.05 sec)
-
guava/src/com/google/common/collect/HashMultiset.java
return multiset; } private HashMultiset() { super(new HashMap<E, Count>()); } private HashMultiset(int distinctElements) { super(Maps.<E, Count>newHashMapWithExpectedSize(distinctElements)); } /** * @serialData the number of distinct elements, the first element, its count, the second element, * its count, and so on */ @GwtIncompatible @J2ktIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java
AtomicInteger count = new AtomicInteger(0); queryFieldConfig.highlightedFields(stream -> { stream.forEach(field -> { count.incrementAndGet(); assertTrue(field.equals("field1") || field.equals("field2") || field.equals("field3")); }); }); assertEquals(3, count.get()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 33.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java
private static final @Nullable String NE = null; private static <E extends @Nullable Object> Entry<E> entry(E element, int count) { return Multisets.immutableEntry(element, count); } private static <E extends @Nullable Object> Entry<E> control(E element, int count) { return HashMultiset.create(nCopies(count, element)).entrySet().iterator().next(); } public void testToString() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/general/MailForm.java
} /** The incremental crawling setting. */ public String incrementalCrawling; /** The day for cleanup setting. */ public String dayForCleanup; /** The crawling thread count setting. */ public String crawlingThreadCount; /** The search log setting. */ public String searchLog; /** The user info setting. */ public String userInfo;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashMultisetTest.java
multiset.add("bar"); assertEquals(3, multiset.size()); assertEquals(2, multiset.count("foo")); } public void testCreateWithSize() { Multiset<String> multiset = HashMultiset.create(50); multiset.add("foo", 2); multiset.add("bar"); assertEquals(3, multiset.size()); assertEquals(2, multiset.count("foo")); } public void testCreateFromIterable() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/FileAuthPager.java
* Gets the total number of records in the result set. * * @return the total record count */ public int getAllRecordCount() { return allRecordCount; } /** * Sets the total number of records in the result set. * * @param allRecordCount the total record count */ public void setAllRecordCount(final int allRecordCount) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteSource.java
} finally { closer.close(); } } /** Counts the bytes in the given input stream using skip if possible. */ private long countBySkipping(InputStream in) throws IOException { long count = 0; long skipped; while ((skipped = skipUpTo(in, Integer.MAX_VALUE)) > 0) { count += skipped; } return count; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Mar 20 20:55:20 UTC 2025 - 25.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
AtomicInteger count = new AtomicInteger(); Exception e = new IllegalStateException("exception to trigger failure on first load()"); CacheLoader<Integer, String> failOnceFunction = new CacheLoader<Integer, String>() { @Override public String load(Integer key) throws Exception { if (count.getAndIncrement() == 0) { throw e;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 85.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java
assertFalse(labelTypeHelper.matchLocale(Locale.US, Locale.UK)); // Test with same language but different country Locale enUS = new Locale("en", "US"); Locale enGB = new Locale("en", "GB"); assertFalse(labelTypeHelper.matchLocale(enUS, enGB)); // Test with same language, target has no country Locale en = new Locale("en"); assertTrue(labelTypeHelper.matchLocale(enUS, en)); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 12.4K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
ensureRoomFor(values.length()); System.arraycopy(values.array, values.start, array, count, values.length()); count += values.length(); return this; } private void ensureRoomFor(int numberToAdd) { int newCount = count + numberToAdd; // TODO(kevinb): check overflow now? if (newCount > array.length) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22K bytes - Viewed (0)