Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for encodeJsp (0.41 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            final String jspType = "view";
            final File jspFile = getJspFile(form.fileName, jspType);
            try {
                form.content = encodeJsp(new String(FileUtil.readBytes(jspFile), Constants.UTF_8));
            } catch (final UnsupportedEncodingException e) {
                throw new FessSystemException("Invalid encoding", e);
            }
            saveToken();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            final int m = boundary - 1;
            final int i = index - start;
            final int n = (i + m & ~m) - i;
            advance(n);
            return n;
        }
    
        /**
         * Encodes a small integer (1 byte) in NDR format.
         *
         * @param s the small integer value to encode
         */
        public void enc_ndr_small(final int s) {
            buf[index] = (byte) (s & 0xFF);
            advance(1);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/Encdec.java

        private static final int TIME_1970_MILLIS_64LE = 8;
    
        /**
         *
         */
        private Encdec() {
        }
    
        /*
         * Encode integers
         */
    
        /**
         * Encodes a 16-bit unsigned integer in big-endian byte order.
         *
         * @param s the short value to encode
         * @param dst the destination byte array
         * @param di the starting index in the destination array
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/Encdec.java

        /**
         * Time encoding type: 1970 epoch, 64-bit milliseconds, little-endian.
         */
        public static final int TIME_1970_MILLIS_64LE = 8;
    
        /* Encode integers
         */
    
        /**
         * Encodes a 16-bit unsigned integer in big-endian byte order.
         *
         * @param s the short value to encode
         * @param dst the destination byte array
         * @param di the starting index in the destination array
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            final int m = boundary - 1;
            final int i = this.index - this.start;
            final int n = (i + m & ~m) - i;
            advance(n);
            return n;
        }
    
        /**
         * Encodes a small integer (1 byte) in NDR format.
         *
         * @param s the small integer value to encode
         */
        public void enc_ndr_small(final int s) {
            this.buf[this.index] = (byte) (s & 0xFF);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/xml/DomUtil.java

                return new ByteArrayInputStream(contents.getBytes(encoding));
            } catch (final UnsupportedEncodingException ex) {
                throw new IORuntimeException(ex);
            }
        }
    
        /**
         * Encodes the value of an attribute.
         *
         * @param s
         *            The attribute value.
         * @return The encoded attribute value.
         */
        public static String encodeAttrQuot(final String s) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                    }
                    query = buf.toString();
                    request.setAttribute(key, query);
                }
                return query;
            }).orElse(null);
        }
    
        /**
         * Encodes a string to URL-safe Base64 format.
         *
         * @param value the string to encode
         * @return Base64 encoded string, or empty string if value is null
         */
        public static String base64(final String value) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.4K bytes
    - Viewed (1)
  8. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

            final String[] values = name.split("/");
            if (values.length == 0) {
                return StringUtil.EMPTY;
            }
            return values[values.length - 1];
        }
    
        /**
         * Encodes an object name to a URL-safe base64 string.
         *
         * @param objectName the object name to encode
         * @return base64 encoded string
         */
        private String encodeId(final String objectName) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            assertEquals(0, queryList.size());
        }
    
        // Additional tests for createSuggestTextId boundary cases
        @Test
        public void testCreateSuggestTextIdBoundaryExactly445() {
            // Create text that encodes to exactly 445 characters
            // Base64 encoding increases size by ~4/3, so original size should be ~333 bytes
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 333; i++) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

                    }
                });
                return sessionIdList;
            });
        }
    
        /**
         * Generates a hashed ID from the provided URL ID string.
         * Encodes special characters using URL encoding or Base64 encoding as needed,
         * then applies a message digest algorithm to create a unique hash.
         *
         * @param urlId the URL ID string to generate a hash for
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
Back to top