- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 1,912 for _value (0.03 sec)
-
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 8.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SparseImmutableTable.java
Map<C, V> thisRow = requireNonNull(rows.get(rowKey)); cellColumnInRowIndices[i] = thisRow.size(); V oldValue = thisRow.put(columnKey, value); checkNoDuplicate(rowKey, columnKey, oldValue, value); requireNonNull(columns.get(columnKey)).put(rowKey, value); } this.cellRowIndices = cellRowIndices; this.cellColumnInRowIndices = cellColumnInRowIndices; ImmutableMap.Builder<R, ImmutableMap<C, V>> rowBuilder =
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 5.3K bytes - Viewed (1) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
// Given: Close handle message with mocked return value samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle); when(mockNdrBuffer.dec_ndr_long()).thenReturn(0); // When: Decoding output message.decode_out(mockNdrBuffer); // Then: Should decode return value verify(mockNdrBuffer).dec_ndr_long();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K bytes - Viewed (0) -
src/test/java/jcifs/util/EncdecTest.java
@DisplayName("Should handle boundary values") void testBoundaryValues(int value) { // Given byte[] buffer = new byte[4]; // When Encdec.enc_uint32le(value, buffer, 0); long decoded = Encdec.dec_uint32le(buffer, 0); // Then assertEquals(value & 0xFFFFFFFFL, decoded); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathTesting.java
// Add boundary values manually to avoid over/under flow (this covers 2^N for 0 and 31). intValues.add(Integer.MAX_VALUE - 1, Integer.MAX_VALUE); // Add values up to 40. This covers cases like "square of a prime" and such. for (int i = 1; i <= 40; i++) { intValues.add(i); } // Now add values near 2^N for lots of values of N.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 11.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java
*/ ALLOWS_NULL_KEY_QUERIES, ALLOWS_NULL_KEYS(ALLOWS_NULL_KEY_QUERIES), /** * The map does not throw {@code NullPointerException} on calls such as {@code * containsValue(null)}, {@code values().contains(null)} or {@code values().remove(null)}. */ ALLOWS_NULL_VALUE_QUERIES, ALLOWS_NULL_VALUES(ALLOWS_NULL_VALUE_QUERIES), /** * The map does not throw {@code NullPointerException} on calls such as {@code
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 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: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 25.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
} @Test @DisplayName("Should return correct pathConsumed value") void testGetPathConsumed() { assertEquals(50, buffer.getPathConsumed()); // 100 / 2 } @Test @DisplayName("Should return correct numReferrals value") void testGetNumReferrals() { assertEquals(3, buffer.getNumReferrals()); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapEntry.java
static <K, V> ImmutableMapEntry<K, V>[] createEntryArray(int size) { return (ImmutableMapEntry<K, V>[]) new ImmutableMapEntry<?, ?>[size]; } ImmutableMapEntry(K key, V value) { super(key, value); checkEntryNotNull(key, value); } // Redeclare methods to make them `final`, just to be extra-safe. @Override @ParametricNullness public final K getKey() { return super.getKey(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 21:42:29 UTC 2025 - 4.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
} public static MaxCodePoint valueOf(String userFriendly) { return new MaxCodePoint(userFriendly); } public MaxCodePoint(String userFriendly) { value = decode(userFriendly); } } /** * The default values of maxCodePoint below provide pretty good performance models of different * kinds of common human text. * * @see MaxCodePoint#decode */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.3K bytes - Viewed (0)