- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 310 for nBytes (0.04 sec)
-
android/guava/src/com/google/common/io/ByteSink.java
} /** * Writes all the given bytes to this sink. * * @throws IOException if an I/O occurs while writing to this sink */ public void write(byte[] bytes) throws IOException { checkNotNull(bytes); try (OutputStream out = openStream()) { out.write(bytes); } } /** * Writes all the bytes from the given {@code InputStream} to this sink. Does not close {@code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 4.9K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteSink.java
} /** * Writes all the given bytes to this sink. * * @throws IOException if an I/O occurs while writing to this sink */ public void write(byte[] bytes) throws IOException { checkNotNull(bytes); try (OutputStream out = openStream()) { out.write(bytes); } } /** * Writes all the bytes from the given {@code InputStream} to this sink. Does not close {@code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 4.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/LittleEndianByteArray.java
/** * Load 8 bytes into long in a little endian manner, from the substring between position and * position + 8. The array must have at least 8 bytes from offset (inclusive). * * @param input the input bytes * @param offset the offset into the array at which to start * @return a long of a concatenated 8 bytes */ static long load64(byte[] input, int offset) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 12.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
* prefix are called a 'section'. There are 128 code points per section. * * Ranges Data (32,612 bytes) * ========================== * * Each entry is 4 bytes, and represents a _range_ of code points that all share a common 14-bit * prefix. Entries are sorted by their complete code points. * * The 4 bytes are named b0, b1, b2 and b3. We also define these supplemental values: * * * **b2a**: b2 + 0x80
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt
} @Test fun clientSimpleBinary() { val bytes = binaryData(256) data.write("827E0100".decodeHex()).write(bytes) clientReader.processNextFrame() callback.assertBinaryMessage(bytes) } @Test fun clientTwoFrameBinary() { val bytes = binaryData(200) data.write("0264".decodeHex()).write(bytes, 0, 100) data.write("8064".decodeHex()).write(bytes, 100, 100) clientReader.processNextFrame()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 14.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
Random rng = new Random(0L); byte[] bytes = new byte[rng.nextInt(256) + 1]; rng.nextBytes(bytes); assertEquals(hashFunction.hashBytes(bytes), hashFunction.hashBytes(ByteBuffer.wrap(bytes))); } static void assertHashByteBufferExhaustsBuffer(HashFunction hashFunction) { Random rng = new Random(0L); byte[] bytes = new byte[rng.nextInt(256) + 1]; rng.nextBytes(bytes);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 25.6K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LittleEndianDataInputStream.java
* except using little-endian byte order. * * @return the next two bytes of the input stream, interpreted as an unsigned 16-bit integer in * little-endian byte order * @throws IOException if an I/O error occurs */ @CanIgnoreReturnValue // to skip some bytes @Override public int readUnsignedShort() throws IOException { byte b1 = readAndCheckByte();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 7.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteSource.java
ByteSource { final byte[] bytes; final int offset; final int length; ByteArrayByteSource(byte[] bytes) { this(bytes, 0, bytes.length); } // NOTE: Preconditions are enforced by slice, the only non-trivial caller. ByteArrayByteSource(byte[] bytes, int offset, int length) { this.bytes = bytes; this.offset = offset; this.length = length;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Mar 20 20:55:20 UTC 2025 - 25.7K bytes - Viewed (0) -
guava/src/com/google/common/hash/HashingOutputStream.java
} @Override public void write(int b) throws IOException { hasher.putByte((byte) b); out.write(b); } @Override public void write(byte[] bytes, int off, int len) throws IOException { hasher.putBytes(bytes, off, len); out.write(bytes, off, len); } /** * Returns the {@link HashCode} based on the data written to this stream. The result is
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractHasher.java
} @Override @CanIgnoreReturnValue public Hasher putBytes(byte[] bytes) { return putBytes(bytes, 0, bytes.length); } @Override @CanIgnoreReturnValue public Hasher putBytes(byte[] bytes, int off, int len) { Preconditions.checkPositionIndexes(off, off + len, bytes.length); for (int i = 0; i < len; i++) { putByte(bytes[off + i]); } return this; } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.5K bytes - Viewed (0)