Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for appendHex (2.27 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. fess-crawler-opensearch/src/test/resources/log4j.properties

    log4j.rootLogger=INFO,STDOUT
    log4j.appender.STDOUT=org.apache.log4j.ConsoleAppender
    log4j.appender.STDOUT.ImmediateFlush=true
    log4j.appender.STDOUT.layout=org.apache.log4j.PatternLayout
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 251 bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. api/go1.24.txt

    pkg log/slog, method (*LevelVar) AppendText([]uint8) ([]uint8, error) #62384
    pkg log/slog, method (Level) AppendText([]uint8) ([]uint8, error) #62384
    pkg log/slog, var DiscardHandler Handler #62005
    pkg math/big, method (*Float) AppendText([]uint8) ([]uint8, error) #62384
    pkg math/big, method (*Int) AppendText([]uint8) ([]uint8, error) #62384
    pkg math/big, method (*Rat) AppendText([]uint8) ([]uint8, error) #62384
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Dec 17 21:28:29 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

              description.appendText(platform)
            }
    
            override fun matches(item: Any?): Boolean = getPlatformSystemProperty() == platform
          }
    
        fun fromMajor(version: Int): Matcher<PlatformVersion> =
          object : TypeSafeMatcher<PlatformVersion>() {
            override fun describeTo(description: Description) {
              description.appendText("JDK with version from $version")
            }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 15.4K bytes
    - Viewed (1)
  9. 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)
  10. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt

          "xn--a.ß",
          "xn--a.xn--zca",
          "xn--a-yoc",
          // OkHttp doesn't reject U+FFFD encoded in Punycode.
          "xn--zn7c.com",
          // OkHttp doesn't reject a U+200D. https://www.rfc-editor.org/rfc/rfc5892.html#appendix-A.2
          "xn--1ug.example",
          // OkHttp doesn't implement CheckJoiners.
          "\u200D.example",
          // OkHttp doesn't implement CheckBidi.
          "يa",
        )
    
      @Test
      fun test() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top