- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 630 for toType (0.03 sec)
-
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt
DELIMITER_DOT -> { if (readByte() != '.'.code.toByte()) throw IOException("expected '..'") readHexadecimalUnsignedLong() } else -> sourceCodePoint0 } skipWhitespace() if (readByte() != ';'.code.toByte()) throw IOException("expected ';'") // "valid" or "mapped" skipWhitespace() val type = select(optionsType) when (type) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.8K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt
sink.writeByte((length shr shift).toInt()) } } // Write the payload. sink.writeAll(content) } /** * Execute [block] with a new namespace for type hints. Type hints from the enclosing type are no * longer usable by the current type's members. */ fun <T> withTypeHint(block: () -> T): T { typeHintStack.add(null) try { return block() } finally {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/NumberConversionUtil.java
} else if (type == Byte.class) { return ByteConversionUtil.toByte(o); } return o; } /** * Converts to the wrapper type corresponding to the specified primitive type. * * @param type * Primitive type * @param o * Source object * @return Object converted to the wrapper type corresponding to the specified primitive type
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/text/Tokenizer.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 8.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/HostnamesTest.kt
byteArrayOf(192.toByte(), 168.toByte(), 0, 1), ), ).isEqualTo("192.168.0.1") assertThat( inet4AddressToAscii( byteArrayOf(252.toByte(), 253.toByte(), 254.toByte(), 255.toByte()), ), ).isEqualTo("252.253.254.255") assertThat( inet4AddressToAscii( byteArrayOf(255.toByte(), 255.toByte(), 255.toByte(), 255.toByte()), ),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt
private fun Buffer.skipCommasAndWhitespace(): Boolean { var commaFound = false loop@ while (!exhausted()) { when (this[0]) { ','.code.toByte() -> { // Consume ','. readByte() commaFound = true } ' '.code.toByte(), '\t'.code.toByte() -> { readByte() // Consume space or tab. } else -> break@loop } } return commaFound
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/ByteConversionUtil.java
*/ public static Byte toByte(final Object o) { return toByte(o, null); } /** * Converts to {@link Byte}. * * @param o * The object to convert * @param pattern * The pattern string * @return The converted {@link Byte} */ public static Byte toByte(final Object o, final String pattern) { if (o == null) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/ByteConversionUtilTest.java
* */ public class ByteConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToByte() throws Exception { assertEquals(Byte.valueOf("100"), ByteConversionUtil.toByte("100")); } /** * @throws Exception */ public void testToPrimitiveByte() throws Exception { assertEquals(100, ByteConversionUtil.toPrimitiveByte("100")); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 1.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.5K bytes - Viewed (0)