Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for StringBuffer (0.11 sec)

  1. src/test/java/jcifs/internal/util/StringUtilTest.java

            assertEquals("first,second", result);
        }
    
        @Test
        @DisplayName("Should handle StringBuffer as CharSequence")
        void testJoinWithStringBuffer() {
            StringBuffer sb1 = new StringBuffer("alpha");
            StringBuffer sb2 = new StringBuffer("beta");
            String result = StringUtil.join("-", sb1, sb2);
            assertEquals("alpha-beta", result);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dtyp/ACE.java

         * <p>
         * Note: This function should probably be changed to return SDDL
         * fragments but currently it does not.
         */
        @Override
        public String toString() {
            final StringBuffer sb = new StringBuffer();
            sb.append(isAllow() ? "Allow " : "Deny  ");
            appendCol(sb, this.sid.toDisplayString(), 25);
            sb.append(" 0x").append(Hexdump.toHexString(this.access, 8)).append(' ');
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dtyp/ACETest.java

        @Test
        @DisplayName("Test appendCol helper method")
        void testAppendCol() {
            StringBuffer sb = new StringBuffer();
    
            // Test with short string
            ace.appendCol(sb, "test", 10);
            assertEquals("test      ", sb.toString());
    
            // Test with exact width string
            sb = new StringBuffer();
            ace.appendCol(sb, "exact", 5);
            assertEquals("exact", sb.toString());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ViewHelper.java

         * @return the content with highlighted queries
         */
        protected String replaceHighlightQueries(final String cache, final String[] queries) {
            final StringBuffer buf = new StringBuffer(cache.length() + 100);
            final StringBuffer segBuf = new StringBuffer(1000);
            final Pattern p = Pattern.compile("<[^>]+>");
            final Matcher m = p.matcher(cache);
            final String[] regexQueries = new String[queries.length];
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/ResourceUtil.java

         * @return The resolved string.
         */
        public static String resolve(final String value) {
            if (value == null) {
                return null;
            }
    
            final StringBuffer tunedText = new StringBuffer(value.length());
            final Pattern pattern = Pattern.compile("(\\$\\{([\\w\\.]+)\\})");
            final Matcher matcher = pattern.matcher(value);
            while (matcher.find()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

                return null;
            }
    
            @Override
            public String getRequestURI() {
                return "/";
            }
    
            @Override
            public StringBuffer getRequestURL() {
                return new StringBuffer("http://localhost:8080/");
            }
    
            @Override
            public String getServletPath() {
                return "";
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/ACE.java

         * fragments but currently it does not.
         */
        @Override
        public String toString() {
            final int count, i;
            final String str;
    
            final StringBuffer sb = new StringBuffer();
            sb.append(isAllow() ? "Allow " : "Deny  ");
            appendCol(sb, sid.toDisplayString(), 25);
            sb.append(" 0x").append(Hexdump.toHexString(access, 8)).append(' ');
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

            } else {
                input = input.replace("<!--", "").replace("-->", "");
            }
            final Matcher matcher = getTagPattern().matcher(input);
            final StringBuffer sb = new StringBuffer();
            final Pattern attrPattern = Pattern.compile("\\s[^ ]+=\"([^\"]*)\"");
            while (matcher.find()) {
                final String tagStr = matcher.group();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            }
    
            @Override
            public String getRequestedSessionId() {
                return null;
            }
    
            @Override
            public StringBuffer getRequestURL() {
                return new StringBuffer("http://localhost:8080" + requestURI);
            }
    
            @Override
            public String getServletPath() {
                return "";
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/Hexdump.java

        /**
         * This is the same as {@link jcifs.util.Hexdump#toHexString(int val, int
         * size)} but provides a more practical form when trying to avoid {@link
         * java.lang.String} concatenation and {@link java.lang.StringBuffer}.
         *
         * @param val the integer value to convert to hexadecimal characters
         * @param dst the destination character array to write the hex digits into
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top