- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 5,876 for what (0.04 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt
val mediaType = parse("text/plain; charset=utf-8; charset=utf-16") assertEquals("UTF-8", mediaType.charsetName()) } /** * This is invalid according to RFC 822. But it's what Chrome does and it avoids a potentially * unpleasant IllegalCharsetNameException. */ @Test fun testCharsetNameIsSingleQuoted() { val mediaType = parse("text/plain;charset='utf-8'")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 7.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java
// Test constructor with long strings String type = "VeryLongTokenTypeNameForTestingPurposes"; String message = "This is a very long error message that describes in detail why the access token is invalid and what went wrong during validation"; InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message); assertEquals(type, exception.getType());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt
* `::1` will reach the IPv6 server. * * By orchestrating two different servers with the same port but different IP addresses, we can * test what OkHttp does when both are reachable, or if only one is reachable. * * This test only runs on host machines that have both IPv4 and IPv6 addresses for localhost. */ @Timeout(30) class FastFallbackTest { @RegisterExtension val clientTestRule = OkHttpClientTestRule()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/CrawlerTest.java
// Test that custom sessionId is sanitized Crawler.Options options = new Crawler.Options(); options.sessionId = "test-session-123"; // Simulate what process() does - sanitize sessionId if (options.sessionId != null) { options.sessionId = options.sessionId.replaceAll("-", "_"); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 30.8K bytes - Click Count (0) -
docs/ja/docs/tutorial/stream-json-lines.md
# JSON Lines をストリームする { #stream-json-lines } データのシーケンスを**「ストリーム」**で送りたい場合、**JSON Lines** を使って実現できます。 /// info | 情報 FastAPI 0.134.0 で追加されました。 /// ## ストリームとは { #what-is-a-stream } データを**ストリーミング**するとは、アイテムの全シーケンスが用意できるのを待たずに、アプリがデータアイテムの送信をクライアントに対して開始することを意味します。 つまり、最初のアイテムを送信し、クライアントはそれを受け取って処理を始めます。その間に、次のアイテムをまだ生成しているかもしれません。 ```mermaid sequenceDiagram participant App participant ClientCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:55:22 GMT 2026 - 5.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java
* code may someday upset Error Prone. We want the test, though, in case that changes in the * future, so we will suppress any such future Error Prone reports. */ assertWithMessage( "Can't test the main listenInPoolThread path " + "if the input is already a ListenableFuture") .that(input) .isNotInstanceOf(ListenableFuture.class);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java
// Save original config FessConfig originalConfig = ComponentUtil.getFessConfig(); try { // Use existing config from setUp and just override what we need to test queryFieldConfig = new QueryFieldConfig() { @Override public void init() { super.init();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 33.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
// Find the longest-idle connections in 2 categories: // // 1. OLD: Connections that have been idle for at least keepAliveDurationNs. We close these if // we find them, regardless of what the address policies need. // // 2. EVICTABLE: Connections not required by any address policy. This matches connections that // don't participate in any policy, plus connections whose policies won't be violated if theCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 11.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
* InterruptibleChannel and JavaLangAccess.blockedOn(Thread, Interruptible), it isn't * predictable what work might be done. (e.g., close a file and flush buffers to disk). To * protect ourselves from this, we park ourselves and tell our interrupter that we did so. */ if (state == PARKED || compareAndSet(state, PARKED)) { // Interrupting Cow Says: // ______
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 10K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt
require(length < bytesOut.size - lastFrame.start) // Move everything from bytesOut into a new buffer. val fullBuffer = Buffer() bytesOut.read(fullBuffer, bytesOut.size) // Copy back all but what we're truncating. fullBuffer.read(bytesOut, lastFrame.start + length) outFrames.add(OutFrame(lastFrame.sequence, lastFrame.start, true)) return writer } fun takeFrame(): InFrame = inFrames.take()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 8.7K bytes - Click Count (0)