- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 9,048 for copyTo (0.07 seconds)
-
guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java
HashCode.fromBytes(digest.digest(input)), ALGORITHMS.get(algorithmName).hashBytes(input)); for (int bytes = 4; bytes <= digest.getDigestLength(); bytes++) { assertEquals( HashCode.fromBytes(Arrays.copyOf(digest.digest(input), bytes)), new MessageDigestHashFunction(algorithmName, bytes, algorithmName).hashBytes(input)); } int maxSize = digest.getDigestLength(); assertThrows(
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) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java
SerializableTester.reserializeAndAssert(asMap); SerializableTester.reserializeAndAssert(descendingMap); assertEquals( ImmutableList.copyOf(asMap.entrySet()).reverse(), ImmutableList.copyOf(descendingMap.entrySet())); for (Range<Integer> query : RANGES) { assertEquals(expectedAsMap.get(query), asMap.get(query)); } } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 9.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java
op.setup(form -> { roleService.getRole(id).ifPresent(entity -> { copyBeanToBean(entity, form, copyOp -> { copyOp.excludeNull(); }); form.crudMode = crudMode; }).orElse(() -> {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 12.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/boostdoc/AdminBoostdocAction.java
op.setup(form -> { boostDocumentRuleService.getBoostDocumentRule(id).ifPresent(entity -> { copyBeanToBean(entity, form, copyOp -> { copyOp.excludeNull(); }); form.crudMode = crudMode; }).orElse(() -> {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 14.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
*/ assertThat(ImmutableIntArray.copyOf(new int[0])).isSameInstanceAs(ImmutableIntArray.of()); } public void testCopyOf_array_nonempty() { int[] array = new int[] {0, 1, 3}; ImmutableIntArray iia = ImmutableIntArray.copyOf(array); array[2] = 2; assertThat(iia.asList()).containsExactly(0, 1, 3).inOrder(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.2K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/UndirectedGraphConnections.java
throw new AssertionError(incidentEdgeOrder.type()); } } static <N, V> UndirectedGraphConnections<N, V> ofImmutable(Map<N, V> adjacentNodeValues) { return new UndirectedGraphConnections<>(ImmutableMap.copyOf(adjacentNodeValues)); } @Override public Set<N> adjacentNodes() { return Collections.unmodifiableSet(adjacentNodeValues.keySet()); } @Override public Set<N> predecessors() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.3K bytes - Click Count (0) -
guava/src/com/google/common/cache/AbstractLoadingCache.java
Map<K, V> result = new LinkedHashMap<>(); for (K key : keys) { if (!result.containsKey(key)) { result.put(key, get(key)); } } return ImmutableMap.copyOf(result); } @Override public final V apply(K key) { return getUnchecked(key); } @Override @GwtIncompatible @J2ktIncompatible public void refresh(K key) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 2.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMultimap.java
* * @throws NullPointerException if any key, value, or entry is null * @since 19.0 */ public static <K, V> ImmutableMultimap<K, V> copyOf( Iterable<? extends Entry<? extends K, ? extends V>> entries) { return ImmutableListMultimap.copyOf(entries); } final transient ImmutableMap<K, ? extends ImmutableCollection<V>> map; final transient int size;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 27.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingListTest.java
new TestStringListGenerator() { @Override protected List<String> create(String[] elements) { return new StandardImplForwardingList<>(ImmutableList.copyOf(elements)); } }) .named("ForwardingList[ImmutableList] with standard implementations") .withFeatures(CollectionSize.ANY, CollectionFeature.ALLOWS_NULL_QUERIES)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingListTest.java
new TestStringListGenerator() { @Override protected List<String> create(String[] elements) { return new StandardImplForwardingList<>(ImmutableList.copyOf(elements)); } }) .named("ForwardingList[ImmutableList] with standard implementations") .withFeatures(CollectionSize.ANY, CollectionFeature.ALLOWS_NULL_QUERIES)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6K bytes - Click Count (0)