Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 116 for appendHex (0.17 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();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/StringUtil.java

            for (final byte b : bytes) {
                appendHex(sb, b);
            }
            return new String(sb);
        }
    
        /**
         * {@literal int}の値を16進数の文字列に変換します。
         *
         * @param i
         *            {@literal int}の値
         * @return 16進数の文字列
         */
        public static String toHex(final int i) {
            final StringBuilder buf = new StringBuilder();
            appendHex(buf, i);
            return new String(buf);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.7K 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 {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
  4. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar

    matchesSafely(String item) { return evalSubstringOf(item); } @Override public void describeMismatchSafe(String item, Description mismatchDescription) { mismatchDescription.appendText("was \"").appendText(item).appendText("\""); } @Override public void describeTo(Description description) { description.appendText("a string ") .appendText(relationship()) .appendText(" ") .appendValue(substring); } protected abstract boolean evalSubstringOf(String string); protected abstract String relationship(); } org/hamcrest/core/package.html...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 31.9K bytes
    - Viewed (0)
  5. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar

    objects to the description. appendList(String, String, String, Iterable<? extends SelfDescribing>) - Method in class org.hamcrest.Description.NullDescription appendText(String) - Method in class org.hamcrest.BaseDescription appendText(String) - Method in interface org.hamcrest.Description Appends some plain text to the description. appendText(String) - Method in class org.hamcrest.Description.NullDescription appendValue(Object) - Method in class org.hamcrest.BaseDescription appendValue(Object) - Method...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 236.8K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/project/ProjectBuildingResultWithProblemMessageMatcher.java

                description.appendText("was a ProjectBuildingResult with messages ");
                String messages = r.getProblems().stream()
                        .map(ModelProblem::getMessage)
                        .map(m -> "\"" + m + "\"" + System.lineSeparator())
                        .collect(joining(", "));
                description.appendText(messages);
            }
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 2.7K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/project/ProjectBuildingResultWithLocationMatcher.java

        }
    
        @Override
        public void describeTo(Description description) {
            description
                    .appendText("a ProjectBuildingResult with location ")
                    .appendText(formatLocation(columnNumber, lineNumber));
        }
    
        private String formatLocation(int columnNumber, int lineNumber) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 2.9K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

        }
    
        fun platformMatches(platform: String): Matcher<Any> =
          object : BaseMatcher<Any>() {
            override fun describeTo(description: Description) {
              description.appendText(platform)
            }
    
            override fun matches(item: Any?): Boolean {
              return getPlatformSystemProperty() == platform
            }
          }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt

     *  * `com.twitter.hpack.HuffmanDecoder`
     *  * `com.twitter.hpack.HpackUtil`
     *
     * [twitter_hpack]: https://github.com/twitter/hpack
     */
    object Huffman {
      // Appendix C: Huffman Codes
      // http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12#appendix-B
      private val CODES =
        intArrayOf(
          0x1ff8, 0x7fffd8, 0xfffffe2, 0xfffffe3, 0xfffffe4, 0xfffffe5, 0xfffffe6,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  10. licenses/cloud.google.com/go/monitoring/LICENSE

          Object form, made available under the License, as indicated by a
          copyright notice that is included in or attached to the work
          (an example is provided in the Appendix below).
    
          "Derivative Works" shall mean any work, whether in Source or Object
          form, that is based on (or derived from) the Work and for which the
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Nov 01 23:31:22 GMT 2022
    - 11.1K bytes
    - Viewed (0)
Back to top