- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 368 for copyFor (0.05 sec)
-
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/src/com/google/common/collect/ImmutableListMultimap.java
* undocumented and subject to change. * * @throws NullPointerException if any key or value in {@code multimap} is null */ public static <K, V> ImmutableListMultimap<K, V> copyOf( Multimap<? extends K, ? extends V> multimap) { if (multimap.isEmpty()) { return of(); } // TODO(lowasser): copy ImmutableSetMultimap by using asList() on the sets
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 19.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java
extends TestStringSortedMapGenerator { @Override public SortedMap<String, String> create(Entry<String, String>[] entries) { return ImmutableSortedMap.copyOf(asList(entries)); } } public static class ImmutableSortedMapEntryListGenerator implements TestListGenerator<Entry<String, Integer>> { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java
return this; } @CanIgnoreReturnValue public EquivalenceTester<T> addEquivalenceGroup(Iterable<T> group) { delegate.addRelatedGroup(group); items.addAll(ImmutableList.copyOf(group)); return this; } /** Run tests on equivalence methods, throwing a failure on an invalid test */ @CanIgnoreReturnValue public EquivalenceTester<T> test() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 25 11:57:12 UTC 2023 - 4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/EquivalenceTester.java
return this; } @CanIgnoreReturnValue public EquivalenceTester<T> addEquivalenceGroup(Iterable<T> group) { delegate.addRelatedGroup(group); items.addAll(ImmutableList.copyOf(group)); return this; } /** Run tests on equivalence methods, throwing a failure on an invalid test */ @CanIgnoreReturnValue public EquivalenceTester<T> test() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 25 11:57:12 UTC 2023 - 4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java
op.setup(form -> { kuromojiService.getKuromojiItem(dictId, id).ifPresent(entity -> { copyBeanToBean(entity, form, copyOp -> { copyOp.excludeNull(); }); form.crudMode = crudMode; }).orElse(() -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 18.8K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/MessageDigestHashFunction.java
public HashCode hash() { checkNotDone(); done = true; return (bytes == digest.getDigestLength()) ? HashCode.fromBytesNoCopy(digest.digest()) : HashCode.fromBytesNoCopy(Arrays.copyOf(digest.digest(), bytes)); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 25 20:32:46 UTC 2022 - 5K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Parameter.java
TypeToken<?> type, Annotation[] annotations, @Nullable Object annotatedType) { this.declaration = declaration; this.position = position; this.type = type; this.annotations = ImmutableList.copyOf(annotations); this.annotatedType = annotatedType; } /** Returns the type of the parameter. */ public TypeToken<?> getType() { return type; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 16 15:12:31 UTC 2023 - 4.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkTester.java
&& method.getParameterTypes().length == 0 && method.getName().startsWith("test")) { result.add(method); } } return ImmutableList.copyOf(result); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 27 18:57:08 UTC 2022 - 4.9K bytes - Viewed (0)