- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 510 for bplist (0.03 sec)
-
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* * <p>For example, to test {@link java.util.Collections#unmodifiableList(java.util.List) * Collections.unmodifiableList}'s iterator: * * {@snippet : * List<String> expectedElements = * Arrays.asList("a", "b", "c", "d", "e"); * List<String> actualElements = * Collections.unmodifiableList( * Arrays.asList("a", "b", "c", "d", "e")); * IteratorTester<String> iteratorTester =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 4.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java
entries[0] = entry(k1(), v0()); return entries; } private void expectFirstRemoved(Entry<K, V>[] entries) { resetMap(entries); List<Entry<K, V>> expectedWithDuplicateRemoved = asList(entries).subList(1, getNumElements()); expectContents(expectedWithDuplicateRemoved); } /** * Returns the {@link Method} instance for {@link #testCreateWithNullKeyUnsupported()} so that
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
// getConstructors() guarantees this as long as we don't modify the array. @SuppressWarnings({"unchecked", "rawtypes"}) List<Constructor<X>> constructors = (List) Arrays.asList(exceptionClass.getConstructors()); for (Constructor<X> constructor : preferringStringsThenThrowables(constructors)) { X instance = newFromConstructor(constructor, cause);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 11.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
throw new AssertionError("failed with stimuli " + subListCopy(stimuli, i + 1), cause); } } } private static List<Object> subListCopy(Object[] source, int size) { Object[] copy = new Object[size]; arraycopy(source, 0, copy, 0, size); return asList(copy); } private interface IteratorOperation { @Nullable Object execute(Iterator<?> iterator); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 20.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
*/ return requireNonNull(element); } }; } @LazyInit private transient @Nullable ImmutableList<E> asList; @Override public ImmutableList<E> asList() { ImmutableList<E> result = asList; return (result == null) ? asList = super.asList() : result; } @Override public boolean contains(@Nullable Object object) { return count(object) > 0; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 20.6K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
val request = server.takeRequest() assertThat(request.body.readUtf8()).isEqualTo("request") } @Test fun testH2PriorKnowledgeServerFallback() { try { server.protocols = Arrays.asList(Protocol.H2_PRIOR_KNOWLEDGE, Protocol.HTTP_1_1) fail<Any>() } catch (expected: IllegalArgumentException) { assertThat(expected.message).isEqualTo(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 03 13:16:34 UTC 2025 - 22.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
return new StandardImplForwardingSortedMultiset<>( TreeMultiset.create(asList(elements))); } @Override public List<String> order(List<String> insertionOrder) { return Ordering.natural().sortedCopy(insertionOrder); } })
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
* duplicates so that the test of {@code Multisets.forSet()} can suppress them. */ @J2ktIncompatible @GwtIncompatible // reflection public static List<Method> getSetCountDuplicateInitializingMethods() { return asList( getMethod("testSetCount_threeToThree_removeSupported"), getMethod("testSetCount_threeToZero_supported"), getMethod("testSetCount_threeToOne_supported")); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
tensorflow/c/c_api.h
TF_DeprecatedSession* session, TF_Status* status); // Deallocates the device list. TF_CAPI_EXPORT extern void TF_DeleteDeviceList(TF_DeviceList* list); // Counts the number of elements in the device list. TF_CAPI_EXPORT extern int TF_DeviceListCount(const TF_DeviceList* list); // Retrieves the full name of the device (e.g. /job:worker/replica:0/...)
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
throw new AssertionError("failed with stimuli " + subListCopy(stimuli, i + 1), cause); } } } private static List<Object> subListCopy(Object[] source, int size) { Object[] copy = new Object[size]; arraycopy(source, 0, copy, 0, size); return asList(copy); } private interface IteratorOperation { @Nullable Object execute(Iterator<?> iterator); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 21.4K bytes - Viewed (0)