- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 311 for plain (0.1 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt
assertInvalid("te<t/plain", "No subtype found for: \"te<t/plain\"") assertInvalid(" text/plain", "No subtype found for: \" text/plain\"") assertInvalid("te xt/plain", "No subtype found for: \"te xt/plain\"") assertInvalid("text /plain", "No subtype found for: \"text /plain\"") assertInvalid("text/ plain", "No subtype found for: \"text/ plain\"") assertInvalid( "text/pl@in",
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/taglib/FessFunctionsTest.java
assertEquals("<pre class=\"prettyprint\"></pre>", value); code = "aaa"; value = FessFunctions.formatCode("L", "prettyprint", "text/plain", code); assertEquals("<pre class=\"prettyprint\">aaa</pre>", value); code = "aaa\nbbb"; value = FessFunctions.formatCode("L", "prettyprint", "text/plain", code);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt
val mediaType = parse("text/plain; charset=\"!@#$%^&*()\"") assertNull(mediaType.charsetName()) } @Test fun testUnsupportedCharset() { val mediaType = parse("text/plain; charset=utf-wtf") assertNull(mediaType.charsetName()) } @Test fun testCharsetNameIsDoubleQuotedAndSingleQuoted() { val mediaType = parse("text/plain;charset=\"'utf-8'\"") assertNull(mediaType.charsetName())
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3K bytes - Click Count (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
.header("Content-Type", "text/plain-ish") .build(), ) } server.enqueue(MockResponse()) client .newCall( request() .post("Hi?".toRequestBody(PLAIN)) .build(), ).execute() applicationLogs .assertLogEqual("--> POST $url") .assertLogEqual("Content-Type: text/plain; charset=utf-8")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Nov 07 02:57:33 GMT 2025 - 39.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/MediaTypeTest.java
MediaType.create("TEXT", "PLAIN"), MediaType.parse("text/plain"), MediaType.parse("TEXT/PLAIN"), MediaType.parse("text /plain"), MediaType.parse("TEXT/ plain"), MediaType.parse("text / plain"), MediaType.create("text", "plain").withParameter("a", "1").withoutParameters()) .addEqualityGroup(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 20.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java
fileTypeHelper.add("text/plain", "text"); assertEquals("text", fileTypeHelper.get("text/plain")); fileTypeHelper.add("image/jpeg", "image"); assertEquals("image", fileTypeHelper.get("image/jpeg")); } @Test public void test_get() { fileTypeHelper.add("application/pdf", "pdf"); fileTypeHelper.add("text/plain", "text");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 5.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CommonRequestBodyTest.kt
class CommonRequestBodyTest { @Test fun correctContentType() { val body = "Body" val requestBody = body.toRequestBody(MediaType("text/plain", "text", "plain", arrayOf())) val contentType = requestBody.contentType()!! assertThat(contentType.mediaType).isEqualTo("text/plain; charset=utf-8") assertThat(contentType.parameter("charset")).isEqualTo("utf-8") }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.1K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java
* cannot override this binding. This is because the lookup is always short-circuited in this * specific situation (plain @Inject request, and plain explicit binding for the same type.) * * The simplest solution is to use a custom @Named here so it isn't bound under the plain key. * This is only necessary for default components using @Typed that want to support overriding. *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 3.8K bytes - Click Count (0) -
cmd/testdata/decryptObjectInfo.json.zst
"IAAfAJjZ2dY7iCAom9rP/UK/5mmg/gpSloOs8Xjy5gYKtTDfL==","X-Minio-Internal-Server-Side-Encryption-S3-Sealed-Key":"IAAfAN+0R4CsC3ibYvamkvm9KIg+hidIQ==","X-Minio-Internal-Server-Side-Encryption-Seal-Algorithm":"DAREv2-HMAC-SHA256","content-type":"text/plain"}},{"Bucket":"buck1","Name":"go_113/src/cmd/go/testdata/mod/rsc.io_breaker_v1.0.0.txt","UserDef":{"X-Minio-Internal-Server-Side-Encryption-Iv":"HaaoKKQdysUQRnLF1tKF+a0BiM=","X-Minio-Internal-Server-Side-Encryption-S3-Kms-Key-Id":"my-minio-key","X-...Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Oct 29 16:34:20 GMT 2020 - 164K bytes - Click Count (0) -
build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/info/GitInfo.java
* HEAD state). * * In the case of a plain repository, we can read the HEAD file directly, resolved directly from the .git directory. * * In the case of a worktree, we read the gitdir from the plain text .git file. This resolves to a directory from which we read * the HEAD file and resolve commondir to the plain git repository. */Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 7.8K bytes - Click Count (0)