- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 792 for byte (0.02 seconds)
-
src/bytes/bytes.go
return Map(c.ToTitle, s) } // ToValidUTF8 treats s as UTF-8-encoded bytes and returns a copy with each run of bytes // representing invalid UTF-8 replaced with the bytes in replacement, which may be empty. func ToValidUTF8(s, replacement []byte) []byte { b := make([]byte, 0, len(s)+len(replacement)) invalid := false // previous byte was from an invalid UTF-8 sequence for i := 0; i < len(s); {
Created: 2026-04-07 11:13 - Last Modified: 2026-03-12 17:56 - 36.3K bytes - Click Count (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,Created: 2026-04-03 12:43 - Last Modified: 2026-03-19 18:53 - 13.2K bytes - Click Count (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,Created: 2026-04-03 12:43 - Last Modified: 2026-03-19 18:53 - 13.2K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Bytes.java
// javadoc? @GwtCompatible public final class Bytes { private Bytes() {} /** * Returns a hash code for {@code value}; obsolete alternative to {@link Byte#hashCode(byte)}. * * @param value a primitive {@code byte} value * @return a hash code for the value */ @InlineMe(replacement = "Byte.hashCode(value)") @InlineMeValidationDisabled(Created: 2026-04-03 12:43 - Last Modified: 2025-07-17 15:26 - 15.6K bytes - Click Count (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},Created: 2026-04-03 12:43 - Last Modified: 2026-03-08 01:43 - 17.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/DES.java
(byte) 49, (byte) 41, (byte) 33, (byte) 25, (byte) 17, (byte) 9, (byte) 1, (byte) 58, (byte) 50, (byte) 42, (byte) 34, (byte) 26, (byte) 18, (byte) 10, (byte) 2, (byte) 59, (byte) 51, (byte) 43, (byte) 35, (byte) 62, (byte) 54, (byte) 46, (byte) 38, (byte) 30, (byte) 22, (byte) 14, (byte) 6, (byte) 61, (byte) 53, (byte) 45, (byte) 37, (byte) 29, (byte) 21,Created: 2026-04-05 00:10 - Last Modified: 2025-08-30 05:58 - 22.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
void testReadWithDifferentReservedValues(int byte2, int byte3) throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[256]; // Write structure size (4) SMBUtil.writeInt2(4, buffer, 0); // Write reserved field (any value is acceptable) buffer[2] = (byte) byte2; buffer[3] = (byte) byte3; // When
Created: 2026-04-05 00:10 - Last Modified: 2025-08-14 05:31 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/util/HMACT64Test.java
// instead of being hashed when it exceeds the block size. byte[] key = { (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b }; byte[] data = "Hi There".getBytes();Created: 2026-04-05 00:10 - Last Modified: 2025-08-14 05:31 - 14.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteStreamsTest.java
ByteArrayDataInput in = ByteStreams.newDataInput(bytes); byte[] actual = new byte[bytes.length]; in.readFully(actual); assertThat(actual).isEqualTo(bytes); } public void testNewDataInput_readFullyAndThenSome() { ByteArrayDataInput in = ByteStreams.newDataInput(bytes); byte[] actual = new byte[bytes.length * 2]; IllegalStateException ex =
Created: 2026-04-03 12:43 - Last Modified: 2026-03-17 19:26 - 22K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
Created: 2026-04-03 12:43 - Last Modified: 2026-03-08 01:43 - 13.6K bytes - Click Count (0)