- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 2,740 for Value1 (0.06 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
public void testPut_supportedPresent() { assertEquals("put(present, value) should return the old value", v0(), getMap().put(k0(), v3())); expectReplacement(entry(k0(), v3())); } @MapFeature.Require(SUPPORTS_PUT) public void testPut_supportedNotPresent() { assertNull("put(notPresent, value) should return null", put(e3())); expectAdded(e3()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java
List<V> values = asList(v0(), null, v3()); multimap().replaceValues(k0(), values); assertGet(k0(), values); } @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE, ALLOWS_NULL_KEYS}) public void testReplaceValuesWithNullKey() { List<V> values = asList(v0(), v2(), v3()); multimap().replaceValues(null, values); assertGet(null, values); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
} /** * Concatenates values to a destination list, avoiding duplicates. * @param dest The destination list. * @param newValues The new values to add. * @param <T> The type of the values. */ protected static <T> void concatValues(final List<T> dest, final T... newValues) { for (final T value : newValues) { if (!dest.contains(value)) { dest.add(value);Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 25.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
ImmutableMap.Builder<Integer, UnhashableObject> builder = ImmutableMap.builder(); int key = 1; for (UnhashableObject value : elements) { builder.put(key++, value); } return builder.buildOrThrow().values(); } } public static class ImmutableMapKeyListGenerator extends TestStringListGenerator { @Override public List<String> create(String[] elements) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
void testCompletionFilterConstants(int value, String description) { // Given & When request.setCompletionFilter(value); byte[] buffer = new byte[512]; request.writeBytesWireFormat(buffer, 0); // Then int readFilter = SMBUtil.readInt4(buffer, 24); assertEquals(value, readFilter); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
guava/src/com/google/common/base/Enums.java
* * @since 12.0 */ public static <T extends Enum<T>> Optional<T> getIfPresent(Class<T> enumClass, String value) { checkNotNull(enumClass); checkNotNull(value); return Platform.getEnumIfPresent(enumClass, value); } private static final Map<Class<? extends Enum<?>>, Map<String, WeakReference<? extends Enum<?>>>> enumConstantCache = new WeakHashMap<>();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 13:41:58 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ParameterUtil.java
} } } return paramMap; } /** * Encrypts sensitive parameter values. * * @param value the parameter string * @return the encrypted parameter string */ public static String encrypt(final String value) { final StringBuilder buf = new StringBuilder();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:08 UTC 2025 - 5.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java
return first.length() - second.length(); } else { return first.compareTo(second); } } } /** Decreasing integer values. A {@code null} comes before any non-null value. */ private static final Comparator<@Nullable Integer> DECREASING_INT_COMPARATOR = Ordering.<Integer>natural().reverse().<Integer>nullsFirst(); private SetMultimap<String, Integer> create() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.4K bytes - Viewed (0) -
callbacks/helper_test.go
Columns: []clause.Column{{Name: "age"}}, Values: [][]interface{}{{18}}, }, }, { name: "Test convert float value", input: map[string]interface{}{ "score": 99.5, }, expect: clause.Values{ Columns: []clause.Column{{Name: "score"}}, Values: [][]interface{}{{99.5}}, }, }, { name: "Test convert bool value", input: map[string]interface{}{ "active": true,Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Mar 05 02:22:57 UTC 2024 - 3.4K bytes - Viewed (0)