Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for BASE64 (0.05 sec)

  1. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        testEncodingWithSeparators(base64(), "fo", "Zm8=");
        testEncodingWithSeparators(base64(), "foo", "Zm9v");
        testEncodingWithSeparators(base64(), "foob", "Zm9vYg==");
        testEncodingWithSeparators(base64(), "fooba", "Zm9vYmE=");
        testEncodingWithSeparators(base64(), "foobar", "Zm9vYmFy");
      }
    
      @GwtIncompatible // Reader/Writer
      public void testBase64Streaming() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt

        encodeBase64Lines(encoded.toByteString())
        append("-----END CERTIFICATE-----\n")
      }
    
    internal fun StringBuilder.encodeBase64Lines(data: ByteString) {
      val base64 = data.base64()
      for (i in 0 until base64.length step 64) {
        append(base64, i, minOf(i + 64, base64.length)).append('\n')
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        testEncodingWithSeparators(base64(), "fo", "Zm8=");
        testEncodingWithSeparators(base64(), "foo", "Zm9v");
        testEncodingWithSeparators(base64(), "foob", "Zm9vYg==");
        testEncodingWithSeparators(base64(), "fooba", "Zm9vYmE=");
        testEncodingWithSeparators(base64(), "foobar", "Zm9vYmFy");
      }
    
      @GwtIncompatible // Reader/Writer
      public void testBase64Streaming() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/FacetResponseTest.java

        public void test_base64_encoding_decoding() {
            // Test that base64 encoding and decoding works correctly
            String originalString = "test field with spaces";
            String encoded = BaseEncoding.base64().encode(originalString.getBytes(StandardCharsets.UTF_8));
            String decoded = new String(BaseEncoding.base64().decode(encoded), StandardCharsets.UTF_8);
    
            assertEquals(originalString, decoded);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/DictionaryCreator.java

            return newDictionaryFile(encodePath(path), path, timestamp);
        }
    
        /**
         * Encodes a file path using Base64 URL-safe encoding.
         *
         * @param path the file path to encode
         * @return the Base64 encoded path
         */
        protected String encodePath(final String path) {
            return Base64.getUrlEncoder().encodeToString(path.getBytes(Constants.CHARSET_UTF_8));
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java

        /**
         * Downloads a log file by its encoded ID.
         *
         * @param id the Base64 encoded filename of the log file to download
         * @return ActionResponse containing the log file stream
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public ActionResponse download(final String id) {
            final String filename = new String(Base64.getDecoder().decode(id), StandardCharsets.UTF_8).replace("..", "").replaceAll("\\s", "");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/log/ApiAdminLogAction.java

        /**
         * Downloads a specific log file by ID.
         *
         * @param id the base64-encoded filename of the log file to download
         * @return stream response containing the log file content
         */
        // GET /api/admin/log/file/{id}
        @Execute
        public StreamResponse get$file(final String id) {
            final String filename = new String(Base64.getDecoder().decode(id), StandardCharsets.UTF_8).replace("..", "").replaceAll("\\s", "");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java

    @NullUnmarked
    public class BaseEncodingBenchmark {
      private static final int INPUTS_COUNT = 0x1000;
      private static final int INPUTS_MASK = 0xFFF;
    
      enum EncodingOption {
        BASE64(BaseEncoding.base64()),
        BASE64_URL(BaseEncoding.base64Url()),
        BASE32(BaseEncoding.base32()),
        BASE32_HEX(BaseEncoding.base32Hex()),
        BASE16(BaseEncoding.base16());
    
        final BaseEncoding encoding;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/user/exentity/User.java

     */
    package org.codelibs.fess.opensearch.user.exentity;
    
    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Base64;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.entity.FessUser;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/fe.tld

          ${fe:facetQueryViewList()}
        </example>
      </function>
    
      <function>
        <description>
          Returns base64 encoded value.
        </description>
        <name>base64</name>
        <function-class>org.codelibs.fess.taglib.FessFunctions</function-class>
        <function-signature>java.lang.String base64(java.lang.String)</function-signature>
        <example>
          ${fe:base64(value)}
        </example>
      </function>
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jan 18 11:38:54 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top