Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for appendText (0.16 sec)

  1. 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)
  2. src/main/java/org/codelibs/core/xml/DomUtil.java

         *
         * @param text
         *            テキストノード。{@literal null}であってはいけません
         * @param buf
         *            文字列バッファ。{@literal null}であってはいけません
         */
        public static void appendText(final Text text, final StringBuilder buf) {
            assertArgumentNotNull("text", text);
            assertArgumentNotNull("buf", buf);
    
            buf.append(encodeText(text.getData()));
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.5K 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 {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (1)
  4. 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)
  5. 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)
Back to top