Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for appendHex (0.12 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/test/java/jcifs/pac/PacMacTest.java

            int outlen = 5;
            byte[] expanded = PacMac.expandNFold(data, outlen);
            assertNotNull(expanded);
            assertEquals(outlen, expanded.length);
    
            // Test vectors from RFC 3961 Appendix A.1
            // 64-fold("012345")
            verifyNfold("012345", 8,
                    new byte[] { (byte) 0xbe, (byte) 0x07, (byte) 0x26, (byte) 0x31, (byte) 0x27, (byte) 0x6b, (byte) 0x19, (byte) 0x55 });
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

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