- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 581 for countIn (0.11 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java
public void testAddOccurrences() { int originalCount = getMultiset().count(e0()); assertEquals("old count", originalCount, getMultiset().add(e0(), 2)); assertEquals("old count", originalCount + 2, getMultiset().count(e0())); } @CollectionFeature.Require(SUPPORTS_ADD) public void testAddSeveralTimes() { int originalCount = getMultiset().count(e0()); assertEquals(originalCount, getMultiset().add(e0(), 2));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java
@NullUnmarked public class LocalCacheMapComputeTest extends TestCase { final int count = 10000; final String delimiter = "-"; final String key = "key"; Cache<String, String> cache; // helper private static void doParallelCacheOp(int count, IntConsumer consumer) { IntStream.range(0, count).parallel().forEach(consumer); } @Override public void setUp() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 6.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiReaderTest.java
String testString = "abcdefgh"; CharSource source = newCharSource(testString); int[] counter = new int[1]; CharSource reader = new CharSource() { @Override public Reader openStream() throws IOException { if (counter[0]++ != 0) { throw new IllegalStateException("More than one source open"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java
assertEquals(enumArray200.count, decodedEnumArray200.count); assertEquals(enumArray200.s[0].dfs_name, decodedEnumArray200.s[0].dfs_name); } @Test void testDfsEnumArray200_EncodeDecode_EmptyArray() throws NdrException { netdfs.DfsEnumArray200 enumArray200 = new netdfs.DfsEnumArray200(); enumArray200.count = 0; enumArray200.s = new netdfs.DfsInfo200[0];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/FacetInfoTest.java
} // Test getBucketOrder with count.desc public void test_getBucketOrder_countDesc() { facetInfo.sort = "count.desc"; BucketOrder order = facetInfo.getBucketOrder(); assertNotNull(order); assertEquals(BucketOrder.count(false), order); } // Test getBucketOrder with count.asc public void test_getBucketOrder_countAsc() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
// Verify max setup count is written at position 0 assertEquals(2, dst[0]); // Verify reserved bytes assertEquals(0, dst[1]); assertEquals(0, dst[2]); // Verify total parameter count (4 bytes at position 3) assertEquals(100, SMBUtil.readInt4(dst, 3)); // Verify total data count (4 bytes at position 7)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/lsarpc.idl
uint32_t sid_index; } LsarTranslatedSid; typedef struct { [range(0,1000)] uint32_t count; [size_is(count)] LsarTranslatedSid *sids; } LsarTransSidArray; typedef struct { unicode_string name; sid_t *sid; } LsarTrustInformation; typedef struct { [range(0,1000)] uint32_t count; [size_is(count)] LsarTrustInformation *domains; uint32_t max_count; } LsarRefDomainList; typedef struct {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.1K bytes - Viewed (3) -
src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.idl
uint32_t sid_index; } LsarTranslatedSid; typedef struct { [range(0,1000)] uint32_t count; [size_is(count)] LsarTranslatedSid *sids; } LsarTransSidArray; typedef struct { unicode_string name; sid_t *sid; } LsarTrustInformation; typedef struct { [range(0,1000)] uint32_t count; [size_is(count)] LsarTrustInformation *domains; uint32_t max_count; } LsarRefDomainList; typedef struct {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 3.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
private void setupMockComponentsWithCounter(final AtomicInteger counter) { setupMockComponents(); // Override thumbnail manager with counter ThumbnailManager mockThumbnailManager = new ThumbnailManager() { @Override public int generate(ExecutorService executorService, boolean cleanup) { counter.incrementAndGet(); // Return 0 to exit the loop
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiInputStreamTest.java
} public void testOnlyOneOpen() throws Exception { ByteSource source = newByteSource(0, 50); int[] counter = new int[1]; ByteSource checker = new ByteSource() { @Override public InputStream openStream() throws IOException { if (counter[0]++ != 0) { throw new IllegalStateException("More than one source open"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.6K bytes - Viewed (0)