- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for totalGet (0.04 seconds)
-
android/guava/src/com/google/common/io/ByteStreams.java
} } private static byte[] combineBuffers(Queue<byte[]> bufs, int totalLen) { if (bufs.isEmpty()) { return new byte[0]; } byte[] result = bufs.remove(); if (result.length == totalLen) { return result; } int remaining = totalLen - result.length; result = Arrays.copyOf(result, totalLen); while (remaining > 0) { byte[] buf = bufs.remove();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 31.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
int totalLen; if (ctxOffsetFromHeader != null && ctxBytes != null) { totalLen = Math.max(SMB2_HEADER_LENGTH + body.length, ctxOffsetFromHeader + ctxBytes.length); } else { totalLen = SMB2_HEADER_LENGTH + body.length; } byte[] packet = new byte[totalLen]; System.arraycopy(header, 0, packet, 0, header.length);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/bufio/bufio.go
err = e break } // Make a copy of the buffer. buf := bytes.Clone(frag) fullBuffers = append(fullBuffers, buf) totalLen += len(buf) } totalLen += len(frag) return fullBuffers, frag, totalLen, err } // ReadBytes reads until the first occurrence of delim in the input, // returning a slice containing the data up to and including the delimiter.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 06 17:28:40 GMT 2026 - 22K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
testMessage.setBytesWritten(10); testMessage.chain(second); byte[] buffer = new byte[1024]; int totalLen = testMessage.encode(buffer, 0); assertTrue(totalLen > testMessage.getLength()); // Check next command offset was written int nextOffset = SMBUtil.readInt4(buffer, 20); assertTrue(nextOffset > 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 39.5K bytes - Click Count (0)