- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 368 for copyFor (0.11 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 15K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/AbstractCache.java
K castKey = (K) key; V value = getIfPresent(key); if (value != null) { result.put(castKey, value); } } } return ImmutableMap.copyOf(result); } /** @since 11.0 */ @Override public void put(K key, V value) { throw new UnsupportedOperationException(); } /** @since 12.0 */ @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 9.1K bytes - Viewed (0) -
android/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)); } try { int maxSize = digest.getDigestLength();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Futures.java
public static <V extends @Nullable Object> ListenableFuture<List<V>> allAsList( ListenableFuture<? extends V>... futures) { ListenableFuture<List<@Nullable V>> nullable = new ListFuture<V>(ImmutableList.copyOf(futures), true); // allAsList ensures that it fills the output list with V instances. @SuppressWarnings("nullness") ListenableFuture<List<V>> nonNull = nullable; return nonNull; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 64.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/Collections2Test.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 10:16:44 UTC 2024 - 19.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableBiMap.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
int numOfByteRead = in.read(buf, 0, 3); assertEquals(3, numOfByteRead); for (int i = 0; i < numOfByteRead; i++) { assertEquals(testBytes[i], buf[i]); } verify(hasher).putBytes(Arrays.copyOf(testBytes, 3), 0, 3); verify(hashFunction).newHasher(); verifyNoMoreInteractions(hashFunction, hasher); } public void testRead_putByteArrayOutOfBound() throws Exception { byte[] buf = new byte[100];
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 02 16:24:50 UTC 2020 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
int numOfByteRead = in.read(buf, 0, 3); assertEquals(3, numOfByteRead); for (int i = 0; i < numOfByteRead; i++) { assertEquals(testBytes[i], buf[i]); } verify(hasher).putBytes(Arrays.copyOf(testBytes, 3), 0, 3); verify(hashFunction).newHasher(); verifyNoMoreInteractions(hashFunction, hasher); } public void testRead_putByteArrayOutOfBound() throws Exception { byte[] buf = new byte[100];
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 02 16:24:50 UTC 2020 - 5K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt
val entry = ZipEntry(entryName) entry.time = zipEntryBaseTimestamp putNextEntry(entry) BufferedInputStream(FileInputStream(sourceFile)).use { inputStream -> inputStream.copyTo(this) } closeEntry() } fun File.getClassSuperTypes(): Set<String> { if (!path.endsWith(".class")) { throw IllegalArgumentException("Not a class file: $path") }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Oct 28 12:55:30 UTC 2024 - 6.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java
} @Test public void addEdge_existingEdgeBetweenSameNodes() { assume().that(graphIsMutable()).isTrue(); addEdge(N1, N2, E12); ImmutableSet<String> edges = ImmutableSet.copyOf(network.edges()); assertThat(networkAsMutableNetwork.addEdge(N1, N2, E12)).isFalse(); assertThat(network.edges()).containsExactlyElementsIn(edges); } @Test
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 20.8K bytes - Viewed (0)