Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for appendHex (0.2 sec)

  1. src/main/java/org/codelibs/core/net/UuidUtil.java

            final StringBuilder buf = new StringBuilder(BASE.length() * 2);
            buf.append(BASE);
            final int lowTime = (int) (System.currentTimeMillis() >> 32);
            StringUtil.appendHex(buf, lowTime);
            StringUtil.appendHex(buf, RANDOM.nextInt());
            return buf.toString();
        }
    
        private static byte[] getAddress() {
            try {
                return InetAddress.getLocalHost().getAddress();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/StringUtil.java

            appendHex(buf, i);
            return new String(buf);
        }
    
        /**
         * Appends the hexadecimal string representation of a number to the given StringBuilder.
         *
         * @param buf
         *            the StringBuilder to append to
         * @param i
         *            the number to convert
         */
        public static void appendHex(final StringBuilder buf, final byte i) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/StringUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testAppendHex() throws Exception {
            final StringBuilder buf = new StringBuilder();
            StringUtil.appendHex(buf, (byte) 1);
            assertEquals("01", buf.toString());
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCamelize() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/ArrayUtil.java

        }
    
        /**
         * Returns a new array with the specified object appended to the end.
         *
         * @param <T>
         *            the type of the array elements
         * @param array
         *            the array. Must not be {@literal null}
         * @param obj
         *            the object to add
         * @return a new array with the object appended
         */
        public static <T> T[] add(final T[] array, final T obj) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

            // Then
            assertEquals(appendedReferral, initialReferral.next,
                    "The 'next' property of the initial referral should point to the appended referral.");
            assertEquals(initialReferral, appendedReferral.next,
                    "The 'next' property of the appended referral should point back to the initial referral, closing the loop.");
        }
    
        /**
         * Tests the toString method of the DfsReferral class.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/xml/DomUtil.java

         *
         * @param text
         *            The text node. Must not be {@literal null}.
         * @param buf
         *            The string buffer. Must not be {@literal null}.
         */
        public static void appendText(final Text text, final StringBuilder buf) {
            assertArgumentNotNull("text", text);
            assertArgumentNotNull("buf", buf);
    
            buf.append(encodeText(text.getData()));
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

             * - ISO control characters and space characters are treated as spaces.
             * - Alphanumeric characters (0-9, A-Z, a-z) are appended to the buffer.
             * - Symbol characters (!-/, :-@, [-`, {-~) are appended to the buffer.
             * - Duplicate terms can be removed based on the `duplicateTermRemoved` flag.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java

    package org.codelibs.fess.util;
    
    import java.util.Arrays;
    
    import org.apache.logging.log4j.Level;
    import org.apache.logging.log4j.core.Core;
    import org.apache.logging.log4j.core.LogEvent;
    import org.apache.logging.log4j.core.appender.rewrite.RewritePolicy;
    import org.apache.logging.log4j.core.config.plugins.Plugin;
    import org.apache.logging.log4j.core.config.plugins.PluginAttribute;
    import org.apache.logging.log4j.core.config.plugins.PluginFactory;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/QueryHelper.java

        }
    
        /**
         * Gets the additional query string that is appended to all search queries.
         *
         * @return the additionalQuery
         */
        public String getAdditionalQuery() {
            return additionalQuery;
        }
    
        /**
         * Sets the additional query string that is appended to all search queries.
         *
         * @param additionalQuery the additionalQuery to set
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/query/QueryProcessor.java

        /**
         * Appends a filter to an existing filter chain.
         *
         * @param filter the filter to append
         * @param chain the existing filter chain to append to
         * @return a new filter chain that includes the appended filter
         */
        protected FilterChain appendFilterChain(final Filter filter, final FilterChain chain) {
            return (context, query, boost) -> filter.execute(context, query, boost, chain);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top