Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for appendText (0.12 sec)

  1. 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)
  2. 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)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

            if (masterSecretHex != null) {
              val keyLog = "CLIENT_RANDOM $random $masterSecretHex"
    
              if (verbose) {
                println(keyLog)
              }
              logFile.appendText("$keyLog\n")
            }
          }
    
          random = null
        }
    
        enum class Launch {
          Gui,
          CommandLine,
        }
      }
    
      companion object {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. 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")
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
Back to top