- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 51 for appendHex (0.21 seconds)
-
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) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 21.5K bytes - Click Count (0) -
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();
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 1.9K bytes - Click Count (0) -
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 {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/LogNotificationAppenderTest.java
} @Test public void test_append_multipleEvents() { appender.append(createLogEvent(Level.ERROR, "org.codelibs.fess.a", "error 1")); appender.append(createLogEvent(Level.ERROR, "org.codelibs.fess.b", "error 2")); appender.append(createLogEvent(Level.ERROR, "org.codelibs.fess.c", "error 3"));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 10.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/LogNotificationAppender.java
import java.util.Set; import org.apache.logging.log4j.Level; import org.apache.logging.log4j.core.Appender; import org.apache.logging.log4j.core.Core; import org.apache.logging.log4j.core.Filter; import org.apache.logging.log4j.core.Layout; import org.apache.logging.log4j.core.LogEvent; import org.apache.logging.log4j.core.appender.AbstractAppender; import org.apache.logging.log4j.core.config.Property;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 6K bytes - Click Count (0) -
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) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 41.5K bytes - Click Count (0) -
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") }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 15.5K bytes - Click Count (1) -
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 */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 19.9K bytes - Click Count (0) -
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() {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3.5K bytes - Click Count (0) -
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())); } /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 10.1K bytes - Click Count (0)