Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for decoded (0.39 sec)

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

        assertThat(encoding.encode(decoded.getBytes(UTF_8), offset, len)).isEqualTo(encoded);
      }
    
      private static void testDecodes(BaseEncoding encoding, String encoded, String decoded) {
        assertThat(encoding.canDecode(encoded)).isTrue();
        assertThat(encoding.decode(encoded)).isEqualTo(decoded.getBytes(UTF_8));
      }
    
    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. src/test/java/org/codelibs/fess/util/FacetResponseTest.java

            // Test that unicode strings are properly encoded/decoded
            String unicodeString = "日本語テスト";
            String encoded = BaseEncoding.base64().encode(unicodeString.getBytes(StandardCharsets.UTF_8));
            String decoded = new String(BaseEncoding.base64().decode(encoded), StandardCharsets.UTF_8);
    
            assertEquals(unicodeString, decoded);
        }
    
        public void test_special_characters_base64_encoding() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertThat(encoding.encode(decoded.getBytes(UTF_8), offset, len)).isEqualTo(encoded);
      }
    
      private static void testDecodes(BaseEncoding encoding, String encoded, String decoded) {
        assertThat(encoding.canDecode(encoded)).isTrue();
        assertThat(encoding.decode(encoded)).isEqualTo(decoded.getBytes(UTF_8));
      }
    
    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/helper/PermissionHelperTest.java

                String encoded = permissionHelper.encode(value);
                if (encoded != null) {
                    String decoded = permissionHelper.decode(encoded);
                    assertNotNull("Decoded value should not be null for: " + value, decoded);
                    assertEquals("Decoded value should match original: " + value + " -> " + encoded + " -> " + decoded, value, decoded);
                }
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/FacetResponse.java

            }
    
            /**
             * Gets the decoded name of this field facet.
             *
             * @return the field name
             */
            public String getName() {
                return name;
            }
    
        }
    
        /**
         * Gets the map of query facet counts.
         *
         * @return the queryCountMap containing decoded query strings and their counts
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                }
            }
            return u;
        }
    
        /**
         * Decodes a URL as a name using appropriate character encoding.
         * Handles encoding detection from parent URLs and configuration settings.
         *
         * @param url the URL to decode
         * @param escapePlus whether to escape plus signs before decoding
         * @return the decoded URL name, or original URL if decoding fails
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

         * Extracts and parses parameters from the request query string.
         * Applies the specified character encoding to decode parameter values.
         *
         * @param request the HTTP request containing the query string
         * @param enc the character encoding to use for decoding
         * @return a map of parameter names to their decoded values
         * @throws IOException if an error occurs during parameter parsing
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

            return permission;
        }
    
        /**
         * Decodes a search role format string back to a permission string.
         * Reverses the encoding process to restore original permission format.
         *
         * @param value the encoded permission string to decode
         * @return the decoded permission string, or null if the input is blank or invalid
         */
        public String decode(final String value) {
            if (StringUtil.isBlank(value)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/net/URLUtil.java

         * @return The decoded string.
         */
        public static String decode(final String s, final String enc) {
            assertArgumentNotEmpty("s", s);
            assertArgumentNotEmpty("enc", enc);
    
            try {
                return URLDecoder.decode(s, enc);
            } catch (final UnsupportedEncodingException e) {
                throw new IORuntimeException(e);
            }
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/misc/Base64Util.java

                encode1pad(inData, num * 3, outData, num * 4);
            }
            return new String(outData);
        }
    
        /**
         * Decodes data encoded in Base64.
         *
         * @param inData
         *            The data to decode
         * @return The decoded data
         */
        public static byte[] decode(final String inData) {
            if (StringUtil.isEmpty(inData)) {
                return null;
            }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top