- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for toByte (0.06 sec)
-
okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 30 06:23:33 UTC 2024 - 5.1K bytes - Viewed (0) -
okhttp/src/main/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.2K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt
internal const val TYPE_VALID = 6 private fun BufferedSource.skipWhitespace() { while (!exhausted()) { if (buffer[0] != ' '.code.toByte()) return skip(1L) } } private fun BufferedSource.skipRestOfLine() { when (val newline = indexOf('\n'.code.toByte())) { -1L -> skip(buffer.size) // Exhaust this source. else -> skip(newline + 1) } } /**
Registered: Fri Nov 01 11:42:11 UTC 2024 - 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
val utf8 = Buffer().writeUtf8(s) val v1 = utf8.readDecimalLong() require(utf8.readByte() == '.'.code.toByte()) val v2 = utf8.readDecimalLong() writeVariableLengthLong(v1 * 40 + v2) while (!utf8.exhausted()) { require(utf8.readByte() == '.'.code.toByte()) val vN = utf8.readDecimalLong() writeVariableLengthLong(vN) } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.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(new Byte("100"), ByteConversionUtil.toByte("100")); } /** * @throws Exception */ public void testToPrimitiveByte() throws Exception { assertEquals(100, ByteConversionUtil.toPrimitiveByte("100")); } /**
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/NumberConversionUtil.java
} else if (type == BigInteger.class) { return BigIntegerConversionUtil.toBigInteger(o); } else if (type == Byte.class) { return ByteConversionUtil.toByte(o); } return o; } /** * 指定されたプリミティブ型に対応するラッパー型に変換して返します。 * * @param type * プリミティブ型 * @param o * 変換元のオブジェクト
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java
/** * @throws Exception */ @Test public void testToDate_Null() throws Exception { assertThat(toDate(null), is(nullValue())); } /** * @throws Exception */ @Test public void testToDate_EmptyString() throws Exception { assertThat(toDate(""), is(nullValue())); } /** * @throws Exception */ @Test
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java
/** * @throws Exception */ @Test public void testToDate_Null() throws Exception { assertThat(toDate(null), is(nullValue())); } /** * @throws Exception */ @Test public void testToDate_EmptyString() throws Exception { assertThat(toDate(""), is(nullValue())); } /** * @throws Exception */ @Test
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.5K bytes - Viewed (0) -
docs/fr/docs/deployment/versions.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 4.1K bytes - Viewed (0)