- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for 42 (0.01 sec)
-
guava-tests/test/com/google/common/base/FunctionsTest.java
Function<String, @Nullable Integer> function = Functions.forMap(map, 42); assertEquals(1, function.apply("One").intValue()); assertEquals(42, function.apply("Two").intValue()); assertEquals(3, function.apply("Three").intValue()); assertNull(function.apply("Null")); new EqualsTester() .addEqualityGroup(function, Functions.forMap(map, 42)) .addEqualityGroup(Functions.forMap(map))
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
rawtypeToWildcard(MinMaxPriorityQueue.maximumSize(42)).create(); assertEquals(11, queue.capacity()); assertEquals(42, queue.maximumSize); checkNatural(queue); } public void testCreation_comparator_maximumSize() { MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.orderedBy(SOME_COMPARATOR).maximumSize(42).create(); assertEquals(11, queue.capacity());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FunctionsTest.java
Function<String, @Nullable Integer> function = Functions.forMap(map, 42); assertEquals(1, function.apply("One").intValue()); assertEquals(42, function.apply("Two").intValue()); assertEquals(3, function.apply("Three").intValue()); assertNull(function.apply("Null")); new EqualsTester() .addEqualityGroup(function, Functions.forMap(map, 42)) .addEqualityGroup(Functions.forMap(map))
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreTest.java
DataConfig config = new DataConfig(); DataStoreParams params = new DataStoreParams(); // Add various types of parameters params.put("string", "test-value"); params.put("integer", 42); params.put("long", 123456789L); params.put("boolean", true); params.put("double", 3.14); Map<String, Object> nestedMap = new HashMap<>();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13K bytes - Viewed (0) -
.github/workflows/scorecard.yml
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 19:19:31 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java
public void test_append_shortValue() { StringBuilder buf = new StringBuilder(); Supplier<Object> supplier = () -> Short.valueOf((short) 42); monitorTarget.append(buf, "shortKey", supplier); assertEquals("\"shortKey\":42", buf.toString()); } // Test append method with double array public void test_append_doubleArray() { StringBuilder buf = new StringBuilder();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
return 42; } @Override public boolean equals(@Nullable Object o) { return o instanceof SerializableTicker; } } private static class SerializableWeigher<K, V> implements Weigher<K, V>, Serializable { @Override public int weigh(K key, V value) { return 42; } @Override public int hashCode() { return 42; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 110.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
assertSame(dataMap, result); } public void test_addClickCountField() { searchLogHelper.clickCount = 42; Map<String, Object> doc = new HashMap<>(); indexUpdateCallback.addClickCountField(doc, "http://example.com", "click_count"); assertEquals(42, doc.get("click_count")); } public void test_addFavoriteCountField() { searchLogHelper.favoriteCount = 99L;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java
return testWindowSize; } }); Map<String, Object> params = new HashMap<>(); params.put("string_param", "test_value"); params.put("int_param", 42); params.put("double_param", 3.14); params.put("boolean_param", true); Map<String, String> nestedMap = new HashMap<>(); nestedMap.put("nested_key", "nested_value");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java
nestedMap.put("nested_key", "nested_value"); Map<String, Object> sourceMap = new HashMap<>(); sourceMap.put("string", "test"); sourceMap.put("integer", 42); sourceMap.put("long", 100L); sourceMap.put("double", 3.14); sourceMap.put("boolean", false); sourceMap.put("null_value", null); sourceMap.put("nested", nestedMap);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.6K bytes - Viewed (0)