- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for Pearson (0.03 sec)
-
android/guava/src/com/google/common/reflect/Invokable.java
} /** * Explicitly specifies the return type of this {@code Invokable}. For example: * * {@snippet : * Method factoryMethod = Person.class.getMethod("create"); * Invokable<?, Person> factory = Invokable.of(getNameMethod).returning(Person.class); * } */ public final <R1 extends R> Invokable<T, R1> returning(Class<R1> returnType) { return returning(TypeToken.of(returnType)); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 18.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
override fun close( code: Int, reason: String?, ): Boolean = close(code, reason, webSocketCloseTimeout) @Synchronized fun close( code: Int, reason: String?, cancelAfterCloseMillis: Long, ): Boolean { validateCloseCode(code) var reasonBytes: ByteString? = null if (reason != null) { reasonBytes = reason.encodeUtf8()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 21.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt
OPCODE_CONTROL_CLOSE -> { var code = CLOSE_NO_STATUS_CODE var reason = "" val bufferSize = controlFrameBuffer.size if (bufferSize == 1L) { throw ProtocolException("Malformed close payload length of 1.") } else if (bufferSize != 0L) { code = controlFrameBuffer.readShort().toInt() reason = controlFrameBuffer.readUtf8()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 16:11:23 UTC 2025 - 10K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
val server = serverListener.assertOpen() clientListener.assertOpen() val reason = repeat('X', 124) assertFailsWith<IllegalArgumentException> { webSocket.close(1000, reason) }.also { expected -> assertThat(expected.message).isEqualTo("reason.size() > 123: $reason") } webSocket.close(1000, null) serverListener.assertClosing(1000, "") server.close(1000, null)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 35.5K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
.assertLogMatch(Regex("""callEnd""")) .assertNoMoreLogs() } @Test fun dnsFail() { client = OkHttpClient .Builder() .dns { _ -> throw UnknownHostException("reason") } .eventListenerFactory(loggingEventListenerFactory) .build() try { client.newCall(request().build()).execute() fail<Any>() } catch (expected: UnknownHostException) { }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java
* necessarily populated with header data because they're not writing * the header, only their body. But for whatever reason one might wish * to populate fields if the writeXxx operation needs this header data * for whatever reason. I copy over the uid here so it appears correct * in logging output. Logging of andx segments of messages inadvertantly
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ComparisonChain.java
* comparable</a>. If you pass objects that are not mutually comparable, this method may throw an * exception. (The reason for this decision is lost to time, but the reason <i>might</i> be that * we wanted to support legacy classes that implement the raw type {@code Comparable} (instead of
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
* description of CL 265462958. */ // TODO(user): Write more tests for memory retention. @ForOverride @OverridingMethodsMustInvokeSuper void releaseResources(ReleaseResourcesReason reason) { checkNotNull(reason); /* * All elements of `futures` are completed, or this future has already completed and read * `futures` into a local variable (in preparation for propagating cancellation to them). In
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 16K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
} /** * Just like fail(reason), but additionally recording (using threadRecordFailure) any * AssertionFailedError thrown, so that the current testcase will fail. */ public void threadFail(String reason) { try { fail(reason); } catch (AssertionFailedError t) { threadRecordFailure(t); fail(reason); } } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 37.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt
} @Test fun closeCallsCallback() { data.write("880703e848656c6c6f".decodeHex()) // Close with code and reason clientReader.processNextFrame() callback.assertClosing(1000, "Hello") } @Test fun closeIncompleteCallsCallback() { data.write("880703e948656c6c6f".decodeHex()) // Close with code and reason data.close() clientReader.processNextFrame() callback.assertClosing(1001, "Hello") }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 16:11:23 UTC 2025 - 14.4K bytes - Viewed (0)