- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 225 for remaining (0.05 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java
this.openTimeout = openTimeout; } /** * Sets the remaining bytes count. * * @param remaining * the remaining to set */ public final void setRemaining(final int remaining) { this.remaining = remaining; } void setParam(final int fid, final long offset, final int maxCount) { this.fid = fid;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWrite.java
this.count = len; this.offset = offset; this.remaining = remaining; this.b = b; this.off = off; } /** * Sets the parameters for this write request. * * @param fid the file identifier * @param offset the file offset at which to write * @param remaining the number of bytes remaining to be written * @param b the data buffer containing bytes to writeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java
this.offset = offset; this.remaining = remaining; this.b = b; this.off = off; dataLength = len; command = SMB_COM_WRITE_ANDX; } void setParam(final int fid, final long offset, final int remaining, final byte[] b, final int off, final int len) { this.fid = fid; this.offset = offset; this.remaining = remaining; this.b = b; this.off = off;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
assertEquals(offset, getFieldValue(write, "offset"), "Offset should match constructor arg"); assertEquals(remaining, getFieldValue(write, "remaining"), "Remaining should match constructor arg"); assertEquals(buffer, getFieldValue(write, "b"), "Buffer reference should be set"); assertEquals(off, getFieldValue(write, "off"), "Off should match constructor arg"); assertEquals(len, getFieldValue(write, "count"), "Count should equal len");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
} @ParameterizedTest @DisplayName("Should read various remaining values") @ValueSource(ints = { 0, 1, 100, 1024, 65536, Integer.MAX_VALUE }) void testReadVariousRemainingValues(int remaining) throws SMBProtocolDecodingException { byte[] buffer = createValidWriteResponse(0, remaining); int bytesRead = response.readBytesWireFormat(buffer, 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComReadAndX.java
public String toString() { return ("SmbComReadAndX[" + super.toString() + ",fid=" + fid + ",offset=" + offset + ",maxCount=" + maxCount + ",minCount=" + minCount + ",openTimeout=" + openTimeout + ",remaining=" + remaining + ",offset=" + offset + "]"); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.1K bytes - Viewed (0) -
cmd/os_other.go
maxEntries = opts.count } done := false remaining := opts.count for !done { // Read up to max number of entries. fis, err := d.Readdir(maxEntries) if err != nil { if err == io.EOF { break } return nil, osErrToFileErr(err) } if opts.count > -1 { if remaining <= len(fis) { fis = fis[:remaining] done = true } } for _, fi := range fis {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Sep 13 15:14:36 UTC 2023 - 4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWrite.java
private int fid, count, offset, remaining, off; private byte[] b; SmbComWrite() { command = SMB_COM_WRITE; } SmbComWrite(final int fid, final int offset, final int remaining, final byte[] b, final int off, final int len) { this.fid = fid; this.count = len; this.offset = offset; this.remaining = remaining; this.b = b; this.off = off;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
int bufIndex = 0; int remaining = buffer.length; try (InputStreamReader reader = new InputStreamReader(byteSource.openStream(), cs)) { int nRead = 0; while (remaining > 0 && (nRead = reader.read(buffer, bufIndex, remaining)) != -1) { bufIndex += nRead; remaining -= nRead; } if (nRead == -1) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractHasher.java
@CanIgnoreReturnValue public Hasher putBytes(ByteBuffer b) { if (b.hasArray()) { putBytes(b.array(), b.arrayOffset() + b.position(), b.remaining()); Java8Compatibility.position(b, b.limit()); } else { for (int remaining = b.remaining(); remaining > 0; remaining--) { putByte(b.get()); } } return this; } @Override @CanIgnoreReturnValue
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.5K bytes - Viewed (0)