- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for appendText (0.06 seconds)
-
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) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
description!!.appendText("> $value") } override fun matches(o: Any?): Boolean = (o as Long?)!! > value } private fun matchesProtocol(protocol: Protocol?): Matcher<Response?> = object : BaseMatcher<Response?>() { override fun describeTo(description: Description?) { description!!.appendText("is HTTP/2") }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 70.7K 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) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.9K 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/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/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)