- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,431 for byte1 (0.05 sec)
-
guava/src/com/google/common/base/Utf8.java
} int byte2 = bytes[index++]; if (byte2 > (byte) 0xBF // Overlong? 5 most significant bits must not all be zero. || (byte1 == (byte) 0xE0 && byte2 < (byte) 0xA0) // Check for illegal surrogate codepoints. || (byte1 == (byte) 0xED && (byte) 0xA0 <= byte2) // Third byte trailing-byte test. || bytes[index++] > (byte) 0xBF) { return false;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
expectDot = false } else { byte0 = labels[currentLabelIndex][currentLabelByteIndex] and 0xff } val byte1 = this[mid + publicSuffixByteIndex] and 0xff compareResult = byte0 - byte1 if (compareResult != 0) break publicSuffixByteIndex++ currentLabelByteIndex++ if (publicSuffixByteIndex == publicSuffixLength) break
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.7K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Bytes.java
// javadoc? @GwtCompatible @ElementTypesAreNonnullByDefault public final class Bytes { private Bytes() {} /** * Returns a hash code for {@code value}; equal to the result of invoking {@code ((Byte) * value).hashCode()}. * * <p><b>Java 8+ users:</b> use {@link Byte#hashCode(byte)} instead. * * @param value a primitive {@code byte} value * @return a hash code for the value */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 27 16:47:48 UTC 2024 - 15.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashCodeTest.java
0x13579bdf, null, "df9b5713"), new ExpectedHashCode( new byte[] {(byte) 0xcd, (byte) 0xab, (byte) 0x00, (byte) 0x00}, 0x0000abcd, null, "cdab0000"), new ExpectedHashCode( new byte[] { (byte) 0xef, (byte) 0xcd, (byte) 0xab, (byte) 0x00,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 13.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
0x13579bdf, null, "df9b5713"), new ExpectedHashCode( new byte[] {(byte) 0xcd, (byte) 0xab, (byte) 0x00, (byte) 0x00}, 0x0000abcd, null, "cdab0000"), new ExpectedHashCode( new byte[] { (byte) 0xef, (byte) 0xcd, (byte) 0xab, (byte) 0x00,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 13.1K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt
// Write the tagClass, tag, and constructed bit. This takes 1 byte if tag is less than 31. if (tag < 31) { 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
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
new byte[] {(byte) 2, (byte) 3, (byte) 4})) .isEqualTo(2); assertThat( Bytes.indexOf( new byte[] {(byte) 2, (byte) 2, (byte) 3, (byte) 4, (byte) 2, (byte) 3, (byte) 4}, new byte[] {(byte) 2, (byte) 3, (byte) 4})) .isEqualTo(1); assertThat( Bytes.indexOf( new byte[] {(byte) 4, (byte) 3, (byte) 2},
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 17.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/BytesTest.java
new byte[] {(byte) 2, (byte) 3, (byte) 4})) .isEqualTo(2); assertThat( Bytes.indexOf( new byte[] {(byte) 2, (byte) 2, (byte) 3, (byte) 4, (byte) 2, (byte) 3, (byte) 4}, new byte[] {(byte) 2, (byte) 3, (byte) 4})) .isEqualTo(1); assertThat( Bytes.indexOf( new byte[] {(byte) 4, (byte) 3, (byte) 2},
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 17.3K bytes - Viewed (0) -
internal/grid/types.go
} // Bytes provides a byte slice that can be serialized. type Bytes []byte // UnmarshalMsg deserializes b from the provided byte slice and returns the // remainder of bytes. func (b *Bytes) UnmarshalMsg(bytes []byte) ([]byte, error) { if b == nil { return bytes, errors.New("Bytes: UnmarshalMsg on nil pointer") } if bytes, err := msgp.ReadNilBytes(bytes); err == nil { if *b != nil { PutByteBuffer(*b)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 15.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSourceTest.java
private byte[] bytes; public AppendableByteSource(byte[] initialBytes) { this.bytes = initialBytes.clone(); } @Override public InputStream openStream() { return new In(); } public void append(byte[] b) { byte[] newBytes = Arrays.copyOf(bytes, bytes.length + b.length);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 15.4K bytes - Viewed (0)