- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 499 for PPoint (0.11 sec)
-
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
val flags = buf.readShort().toInt() and 0xffff require(flags shr 15 != 0) { "not a response" } val responseCode = flags and 0xf if (responseCode == NXDOMAIN) { throw UnknownHostException("$hostname: NXDOMAIN") } else if (responseCode == SERVFAIL) { throw UnknownHostException("$hostname: SERVFAIL") } val questionCount = buf.readShort().toInt() and 0xffff
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.8K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
} @Test fun `point with only x set`() { val bytes = "3003800109".decodeHex() val point = Point(9L, null) assertThat(Point.ADAPTER.fromDer(bytes)).isEqualTo(point) assertThat(Point.ADAPTER.toDer(point)).isEqualTo(bytes) } @Test fun `point with only y set`() { val bytes = "3003810109".decodeHex() val point = Point(null, 9L)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 31.7K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
if (byteCount == limit) return END_OF_DATA // We've exhausted the source stream. if (limit == -1L && source.exhausted()) return END_OF_DATA // Read the tag. val tagAndClass = source.readByte().toInt() and 0xff val tagClass = tagAndClass and 0b1100_0000 val constructed = (tagAndClass and 0b0010_0000) == 0b0010_0000 val tag = when (val tag0 = tagAndClass and 0b0001_1111) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.5K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java
private final char[][] replacements; // The number of elements in the replacement array. private final int replacementsLength; // The first code point in the safe range. private final int safeMin; // The last code point in the safe range. private final int safeMax; // Cropped values used in the fast path range checks. private final char safeMinChar; private final char safeMaxChar;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 8.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/GeoInfo.java
final String key = e.getKey(); for (final String geoField : geoFields) { if (key.startsWith("geo." + geoField + ".")) { final String distanceKey = key.replaceFirst(".point$", ".distance");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.7K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt
val byte0 = tagClass or constructedBit or tag.toInt() sink.writeByte(byte0) } else { val byte0 = tagClass or constructedBit or 0b0001_1111 sink.writeByte(byte0) writeVariableLengthLong(tag) } // Write the length. This takes 1 byte if length is less than 128. val length = content.size if (length < 128) { sink.writeByte(length.toInt()) } else {
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/fess/entity/GeoInfoTest.java
} public void test_34_150_10_2() { MockletHttpServletRequest request = getMockRequest(); request.setParameter("geo.location.1.point", "34,150"); request.setParameter("geo.location.1.distance", "10km"); request.setParameter("geo.location.2.point", "35,151"); request.setParameter("geo.location.2.distance", "1km"); final GeoInfo geoInfo = new GeoInfo(request); String result =
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.9K bytes - Viewed (0) -
common-protos/k8s.io/apimachinery/pkg/api/resource/generated.proto
// // Examples: // // - 1.5 will be serialized as "1500m" // - 1.5Gi will be serialized as "1536Mi" // // Note that the quantity will NEVER be internally represented by a // floating point number. That is the whole point of this exercise. // // Non-canonical values will still parse as long as they are well formed, // but will be re-emitted in their canonical form. (So always use canonical // form, or don't diff.) //
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
public void testToInt() { assertThat(UnsignedBytes.toInt((byte) 0)).isEqualTo(0); assertThat(UnsignedBytes.toInt((byte) 1)).isEqualTo(1); assertThat(UnsignedBytes.toInt((byte) 127)).isEqualTo(127); assertThat(UnsignedBytes.toInt((byte) -128)).isEqualTo(128); assertThat(UnsignedBytes.toInt((byte) -127)).isEqualTo(129); assertThat(UnsignedBytes.toInt((byte) -1)).isEqualTo(255); } public void testCheckedCast() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 13.4K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
/** Constructor for use by subclasses. */ protected UnicodeEscaper() {} /** * Returns the escaped form of the given Unicode code point, or {@code null} if this code point * does not need to be escaped. When called as part of an escaping operation, the given code point * is guaranteed to be in the range {@code 0 <= cp <= Character#MAX_CODE_POINT}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 13.2K bytes - Viewed (0)