- Sort Score
- Result 10 results
- Languages All
Results 1721 - 1730 of 3,451 for object1 (0.06 sec)
-
guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java
} public void testUnhashableMixedValues() { SampleElements<UnhashableObject> unhashables = new Unhashables(); Multimap<Integer, Object> multimap = ImmutableMultimap.<Integer, Object>of( 0, unhashables.e0(), 2, "hey you", 0, unhashables.e1()); assertEquals(2, multimap.get(0).size()); assertTrue(multimap.get(0).contains(unhashables.e0()));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt
webServer.enqueue( MockResponse.Builder() .webSocketUpgrade(serverListener) .build(), ) val e = RuntimeException() clientListener.setNextEventDelegate( object : WebSocketListener() { override fun onOpen( webSocket: WebSocket, response: Response, ) { throw e } }, ) newWebSocket()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 35.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-RequestBodyCommon.kt
import okio.ByteString fun ByteArray.commonToRequestBody( contentType: MediaType?, offset: Int, byteCount: Int, ): RequestBody { checkOffsetAndCount(size.toLong(), offset.toLong(), byteCount.toLong()) return object : RequestBody() { override fun contentType() = contentType override fun contentLength() = byteCount.toLong() override fun writeTo(sink: BufferedSink) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt
val uppercaseBody: ResponseBody = object : ForwardingResponseBody(response.body) { override fun source(): BufferedSource { return uppercaseSource(delegate().source()).buffer() } } return response.newBuilder() .body(uppercaseBody) .build() } private fun uppercaseSource(source: BufferedSource): ForwardingSource { return object : ForwardingSource(source) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestStringQueueGenerator.java
@Override public SampleElements<String> samples() { return new Strings(); } @Override public Queue<String> create(Object... elements) { String[] array = new String[elements.length]; int i = 0; for (Object e : elements) { array[i++] = (String) e; } return create(array); } protected abstract Queue<String> create(String[] elements); @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AsyncFunction.java
* * @author Chris Povirk * @since 11.0 */ @GwtCompatible @FunctionalInterface @ElementTypesAreNonnullByDefault public interface AsyncFunction<I extends @Nullable Object, O extends @Nullable Object> { /** * Returns an output {@code Future} to use in place of the given {@code input}. The output {@code * Future} need not be {@linkplain Future#isDone done}, making {@code AsyncFunction} suitable for
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Jun 20 10:45:35 UTC 2021 - 1.6K bytes - Viewed (0) -
tests/test_tutorial/test_header_params/test_tutorial002_an.py
"components": { "schemas": { "ValidationError": { "title": "ValidationError", "required": ["loc", "msg", "type"], "type": "object", "properties": { "loc": { "title": "Location", "type": "array", "items": {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 4K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
* * @return an array containing all of the elements in this queue */ @CanIgnoreReturnValue @Override public Object[] toArray() { final E[] items = this.items; final Monitor monitor = this.monitor; monitor.enter(); try { Object[] a = new Object[count]; int k = 0; int i = takeIndex; while (k < count) { a[k++] = items[i]; i = inc(i);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 22.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/StandardMutableUndirectedGraphTest.java
public class StandardMutableUndirectedGraphTest extends AbstractStandardUndirectedGraphTest { @Parameters(name = "allowsSelfLoops={0}, incidentEdgeOrder={1}") public static Collection<Object[]> parameters() { return Arrays.asList( new Object[][] { {false, ElementOrder.unordered()}, {true, ElementOrder.unordered()}, {false, ElementOrder.stable()}, {true, ElementOrder.stable()}, });
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Mar 10 17:54:18 UTC 2020 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FutureCallback.java
* * @author Anthony Zana * @since 10.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public interface FutureCallback<V extends @Nullable Object> { /** Invoked with the result of the {@code Future} computation when it is successful. */ void onSuccess(@ParametricNullness V result); /** * Invoked when a {@code Future} computation fails or is canceled. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 05 22:27:35 UTC 2021 - 1.6K bytes - Viewed (0)