- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 283 for 42 (0.01 seconds)
-
guava-tests/test/com/google/common/collect/IterablesTest.java
assertEquals(3, frequency(multiset, "a")); assertEquals(2, frequency(multiset, "b")); assertEquals(1, frequency(multiset, "c")); assertEquals(0, frequency(multiset, "d")); assertEquals(0, frequency(multiset, 4.2)); assertEquals(0, frequency(multiset, null)); } public void testFrequency_set() { Set<String> set = newHashSet("a", "b", "c"); assertEquals(1, frequency(set, "a"));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
return buf; } @Test @DisplayName("constructor initialises command and parameters correctly") void testConstructorInitialisesFields() throws Exception { int level = 42; Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(level); // constants are defined on SmbComTransaction, inherited via // ServerMessageBlock.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java
* * @author Kurt Alfred Kluever */ @NullUnmarked public class HashCodeBenchmark { // Use a statically configured random instance for all of the benchmarks private static final Random random = new Random(42); @Param({"1000", "100000"}) private int size; @Param WhereToDiffer whereToDiffer; @Param EqualsImplementation equalsImpl; private enum WhereToDiffer { ONE_PERCENT_IN, LAST_BYTE,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java
public void undirectedNetwork() { testNetworkMutation(NetworkBuilder.undirected()); } private static void testNetworkMutation(NetworkBuilder<? super Integer, Object> networkBuilder) { Random gen = new Random(42); // Fixed seed so test results are deterministic. for (int trial = 0; trial < NUM_TRIALS; ++trial) { MutableNetwork<Integer, Object> network =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java
.isEqualTo( "07e547d9586f6a73f73fbac0435ed76951218fb7d0c8d788a309d785436bbb642e93a252a954f23912547d1e8a3b5ed6e1bfd7097821233fa0538f3db854fee6"); assertThrows(IllegalStateException.class, () -> hasher.putInt(42)); } public void testHashTwice() { Hasher hasher = sha512().newHasher(); assertThat( hasher .putString("The quick brown fox jumps over the lazy dog", UTF_8)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 4.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java
String id = "custom-id"; builder.setSettingsIndexName("CUSTOM_INDEX") .addInitialSettings("custom.key1", "value1") .addInitialSettings("custom.key2", 42) .scrollTimeout("100s") .searchTimeout("50s") .indexTimeout("200s") .bulkTimeout("300s") .indicesTimeout("150s")Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Sep 01 13:33:03 GMT 2025 - 14.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
response.setEncoding("UTF-8"); String testContent = "42"; byte[] data = testContent.getBytes("UTF-8"); ContentCache cache = new ContentCache(data); response.setContentCache(cache); Integer result = response.getContent(r -> Integer.parseInt(r.getContentAsString())); assertEquals(Integer.valueOf(42), result); } @Test
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 17.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/DocumentUtilTest.java
Map<String, Object> doc = new HashMap<>(); assertEquals("default", DocumentUtil.getValue(doc, "nonexistent", String.class, "default")); assertEquals(Integer.valueOf(42), DocumentUtil.getValue(doc, "nonexistent", Integer.class, 42)); assertEquals(Long.valueOf(123L), DocumentUtil.getValue(doc, "nonexistent", Long.class, 123L)); doc.put("key", "value");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 13.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
CountDownLatch latch = new CountDownLatch(0); awaitUninterruptibly(latch); assertTrue(awaitUninterruptibly(latch, 0, MILLISECONDS)); assertTrue(awaitUninterruptibly(latch, -42, MILLISECONDS)); assertTrue(awaitUninterruptibly(latch, LONG_DELAY_MS, MILLISECONDS)); assertTimeNotPassed(stopwatch, LONG_DELAY_MS); } public void testAwaitNoInterrupt() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0)