Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 344 for encodes (0.96 sec)

  1. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

            // Default constructor
        }
    
        /**
         * Encodes a permission string into a search role format.
         * Processes user, group, and role prefixes along with allow/deny prefixes.
         *
         * @param value the permission string to encode
         * @return the encoded permission string, or null if the input is blank or invalid
         */
        public String encode(final String value) {
            if (StringUtil.isBlank(value)) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

        }
    
        /**
         * Encodes an object name to a URL-safe base64 string.
         *
         * @param objectName the object name to encode
         * @return base64 encoded string
         */
        protected static String encodeId(final String objectName) {
            if (objectName == null) {
                return StringUtil.EMPTY;
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/curl/CurlRequest.java

            }
        }
    
        /**
         * Encodes the specified value using the character encoding.
         *
         * @param value the value to encode
         * @return the encoded value
         * @throws CurlException if the encoding is unsupported
         */
        protected String encode(final String value) {
            try {
                return URLEncoder.encode(value, encoding);
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/MD4.java

         *
         *    @param    block    input sub-array.
         *    @param    offset    starting position of sub-array.
         */
        private void transform(final byte[] block, int offset) {
    
            // encodes 64 bytes from input block into an array of 16 32-bit
            // entities. Use A as a temp var.
            for (int i = 0; i < 16; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NameTest.java

            // Should encode all 15 characters
            assertTrue(length >= 34);
            assertEquals(0x20, dst[0]);
        }
    
        @Test
        void readWireFormat_withTrailingSpaces_shouldTrimCorrectly() {
            // Prepare encoded data for "TEST    " (with trailing spaces)
            byte[] src = new byte[100];
            src[0] = 0x20;
    
            // Encode "TEST" correctly
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                    }
                    try {
                        final String encoded = serializeParameters(parameters);
                        if (encoded.length() > fessConfig.getCookieSearchParameterMaxLengthAsInteger()) {
                            logger.warn("Encoded search parameters exceed the maximum cookie length: {} > {}. Skipping cookie storage.",
                                    encoded.length(), fessConfig.getCookieSearchParameterMaxLengthAsInteger());
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 36.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            final File targetDir = new File(userDir, "target");
            return new File(targetDir, "logs").getAbsolutePath();
        }
    
        /**
         * Encodes a URL path for filtering.
         *
         * @param path The path to encode.
         * @return The encoded path.
         */
        public String encodeUrlFilter(final String path) {
            if (filterPathEncoding == null || path == null) {
                return path;
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 08:30:43 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                }
            }
        }
    
        /**
         * Encodes a URL using the specified character encoding.
         *
         * @param url the URL to encode
         * @param enc the character encoding to use
         * @return the encoded URL
         */
        protected String encodeUrl(final String url, final String enc) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 29 07:42:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                return buf.toString();
            }
    
            /**
             * URL-encodes text for use in text fragment parameters.
             *
             * @param text the text to encode
             * @return the URL-encoded text
             */
            private String encodeToString(final String text) {
                return URLEncoder.encode(text, Constants.CHARSET_UTF_8);
            }
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 52.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/EncdecTest.java

            // When - Use direct encoding methods since time constants are private
            Encdec.enc_uint64le(currentDate.getTime(), buffer, 0);
            long decoded = Encdec.dec_uint64le(buffer, 0);
    
            // Then
            assertEquals(currentDate.getTime(), decoded, "Encoded and decoded time should match");
        }
    
        @Test
        @DisplayName("Should encode and decode UUIDs")
        void testUUIDOperations() {
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top