- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 632 for chunks (0.07 seconds)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
void testEncodeMultipleChunks() { // Given SrvCopychunk chunk1 = new SrvCopychunk(100, 200, 300); SrvCopychunk chunk2 = new SrvCopychunk(400, 500, 600); SrvCopychunk chunk3 = new SrvCopychunk(700, 800, 900); SrvCopychunkCopy copy = new SrvCopychunkCopy(sourceKey, chunk1, chunk2, chunk3); // When
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
wsize = byteLimit; } int chunks = (int) (wsize / maxChunkSize); int lastChunkSize; if (chunks + 1 > maxChunks) { chunks = maxChunks; lastChunkSize = maxChunkSize; } else {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
} @Test @DisplayName("Should handle mismatched chunk and total bytes") void testMismatchedValues() throws SMBProtocolDecodingException { // This could happen if the last chunk is smaller byte[] buffer = createValidCopyChunkResponse(10, // 10 chunks 65536, // Last chunk size (not average) 589824 // Total less than 10 * 65536 );Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopy.java
* copy operations with multiple chunk specifications. * * @author mbechler * */ public class SrvCopychunkCopy implements Encodable { private final byte[] sourceKey; private final SrvCopychunk[] chunks; /** * Constructs a server copy chunk operation request * @param sourceKey the resume key identifying the source file * @param chunks the array of copy chunk descriptors */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixTrie.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 21:21:59 GMT 2026 - 9.1K bytes - Click Count (0) -
tests/test_stream_cancellation.py
"""Call the ASGI app for *path* and cancel after *timeout* seconds. Returns `True` if the cancellation was delivered (i.e. it did not hang). """ chunks: list[bytes] = [] async def receive(): # type: ignore[no-untyped-def] # Simulate a client that never disconnects, rely on cancellation await anyio.sleep(float("inf"))Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 18:56:47 GMT 2026 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/AbstractStreamingHasher.java
* Computes a hash code based on the data that have been provided to this hasher. This is called * after all chunks are handled with {@link #process} and any leftover bytes that did not make a * complete chunk are handled with {@link #processRemaining}. */ protected abstract HashCode makeHash(); // Process pent-up data in chunks private void munchIfFull() { if (buffer.remaining() < 8) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 7.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
assertEquals(expected.isEmpty() ? -1 : expected.length(), reader.read(buf)); assertThat(new String(buf)).isEqualTo(expected); assertFullyRead(reader); // read in chunks to fixed array reader = new CharSequenceReader(charSequence); buf = new char[5]; StringBuilder builder = new StringBuilder(); int read; while ((read = reader.read(buf, 0, buf.length)) != -1) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 6.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
assertEquals(expected.isEmpty() ? -1 : expected.length(), reader.read(buf)); assertThat(new String(buf)).isEqualTo(expected); assertFullyRead(reader); // read in chunks to fixed array reader = new CharSequenceReader(charSequence); buf = new char[5]; StringBuilder builder = new StringBuilder(); int read; while ((read = reader.read(buf, 0, buf.length)) != -1) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 6.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponse.java
private int totalBytesWritten; /** * Gets the number of bytes written in the last chunk * @return the chunkBytesWritten */ public int getChunkBytesWritten() { return this.chunkBytesWritten; } /** * Gets the number of chunks successfully written * @return the chunksWritten */ public int getChunksWritten() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.6K bytes - Click Count (0)