Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 311 for plain (0.02 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt

        body.byteStream().close()
        assertThat(closed.get()).isTrue()
      }
    
      @Test
      fun unicodeTextWithUnsupportedEncoding() {
        val text = "eile oli oliiviõli"
        val body = text.toResponseBody("text/plain; charset=unknown".toMediaType())
        assertThat(body.string()).isEqualTo(text)
      }
    
      companion object {
        @JvmOverloads
        fun body(
          hex: String,
          charset: String? = null,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

            doc.put("title", "Test Doc");
            doc.put("url", "http://example.com");
            doc.put("content", "Plain text content without any HTML");
            documents.add(doc);
    
            final String result = client.testBuildContext(documents);
            assertTrue(result.contains("Plain text content without any HTML"));
        }
    
        @Test
        public void test_buildContext_multipleDocumentsWithHtml() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

        /**
         * This type is syntactically identical to "multipart/mixed", but the semantics are different.
         * In particular, in a digest, the default `Content-Type` value for a body part is changed from
         * "text/plain" to "message/rfc822".
         */
        @JvmField
        val DIGEST = "multipart/digest".toMediaType()
    
        /**
         * This type is syntactically identical to "multipart/mixed", but the semantics are different.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

            .addHeader("Content-Type: text/plain")
            .addHeader("Last-Modified: " + formatDate(-2, TimeUnit.HOURS))
            .addHeader("Expires: " + formatDate(-1, TimeUnit.HOURS))
            .build(),
        )
        server.enqueue(
          MockResponse
            .Builder()
            .code(HttpURLConnection.HTTP_NOT_MODIFIED)
            .addHeader("Content-Type: text/plain")
            .addHeader("Content-Encoding: gzip")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 121K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/service/UserService.java

         * Updates both the authentication manager and the database with the new encrypted password.
         *
         * @param username the username of the user
         * @param password the new password in plain text
         * @throws FessUserNotFoundException if the user is not found
         */
        public void changePassword(final String username, final String password) {
            if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:22:27 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            return this.username;
        }
    
        /**
         * Returns the password in plain text or <code>null</code> if the raw password
         * hashes were used to construct this <code>NtlmPasswordAuthentication</code>
         * object which will be the case when NTLM HTTP Authentication is
         * used. There is no way to retrieve a users password in plain text unless
         * it is supplied by the user at runtime.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30.3K bytes
    - Click Count (0)
  7. architecture/standards/0006-use-of-provider-apis-in-gradle.md

        public Property<String> getSomeProperty() {
            return someProperty
        }
    }
    ```
    
    It is not acceptable to introduce new properties on a task, extension or domain object that use plain getters and setters.  It is also not acceptable to add setters that take a Provider.
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 10K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

                xhtmlDocMap.put("mimetype", "application/xhtml+xml");
                assertTrue("XHTML MIME type should be target", generator.isTarget(xhtmlDocMap));
    
                // Test: Plain HTML should not match
                Map<String, Object> htmlDocMap = new HashMap<>();
                htmlDocMap.put("thumbnail", "http://example.com/page.html");
                htmlDocMap.put("mimetype", "text/html");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            assertEquals("", generator.getExtensionFromMimeType("text/html"));
        }
    
        @Test
        public void test_getExtensionFromMimeType_textPlain() {
            assertEquals("", generator.getExtensionFromMimeType("text/plain"));
        }
    
        @Test
        public void test_getExtensionFromMimeType_msword() {
            assertEquals("", generator.getExtensionFromMimeType("application/msword"));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  10. guava/src/com/google/common/cache/AbstractCache.java

       * possible with an unsafe cast which requires {@code keys} to actually be of type {@code K}.
       *
       * @since 11.0
       */
      /*
       * <? extends Object> is mostly the same as <?> to plain Java. But to nullness checkers, they
       * differ: <? extends Object> means "non-null types," while <?> means "all types."
       */
      @Override
      public ImmutableMap<K, V> getAllPresent(Iterable<? extends Object> keys) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 9.2K bytes
    - Click Count (0)
Back to Top