- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 172 for remaining (0.04 seconds)
-
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
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.5K bytes - Click Count (0) -
internal/ioutil/hardlimitreader.go
// data returned to just N bytes. Each call to Read // updates N to reflect the new amount remaining. // Read returns EOF when N <= 0 or when the underlying R returns EOF. type HardLimitedReader struct { R io.Reader // underlying reader N int64 // max bytes remaining } func (l *HardLimitedReader) Read(p []byte) (n int, err error) { if l.N < 0 { return 0, ErrOverread }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 2K bytes - Click Count (0) -
guava/src/com/google/common/io/ByteStreams.java
return result; } int remaining = totalLen - result.length; result = Arrays.copyOf(result, totalLen); while (remaining > 0) { byte[] buf = bufs.remove(); int bytesToCopy = min(remaining, buf.length); int resultOffset = totalLen - remaining; System.arraycopy(buf, 0, result, resultOffset, bytesToCopy); remaining -= bytesToCopy; } return result; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 31.1K bytes - Click Count (0) -
internal/bucket/bandwidth/reader.go
hdr := r.opts.HeaderSize // remaining header bytes var tokens int // number of tokens to request if hdr > 0 { // available tokens go towards header first if hdr < b { // all of header can be accommodated r.opts.HeaderSize = 0 need = int(math.Min(float64(b-hdr), float64(need))) // use remaining tokens towards payload tokens = need + hdr
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 3.3K bytes - Click Count (0) -
internal/s3select/jstream/scanner.go
sr.fillReady <- int64(n) } }() sr.fillReq <- struct{}{} // initial fill return sr } // remaining returns the number of unread bytes // if EOF for the underlying reader has not yet been found, // maximum possible integer value will be returned func (s *scanner) remaining() int64 { if atomic.LoadInt64(&s.end) == maxInt { return maxInt } return atomic.LoadInt64(&s.end) - s.pos }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Sep 23 19:35:41 GMT 2024 - 2.5K bytes - Click Count (0) -
cmd/object-handlers-common.go
func deleteObjectVersions(ctx context.Context, o ObjectLayer, bucket string, toDel []ObjectToDelete, lcEvent []lifecycle.Event) { for remaining := toDel; len(remaining) > 0; toDel = remaining { if len(toDel) > maxDeleteList { remaining = toDel[maxDeleteList:] toDel = toDel[:maxDeleteList] } else { remaining = nil } vc, _ := globalBucketVersioningSys.Get(bucket)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jul 23 12:36:06 GMT 2025 - 15.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzer.java
.map(project -> project.getGroupId() + ":" + project.getArtifactId()) .collect(Collectors.toList()); if (remainingProjects.isEmpty()) { LOGGER.info("No remaining projects found, resuming the build would not make sense."); return Optional.empty(); } return Optional.of(new BuildResumptionData(remainingProjects)); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.5K bytes - Click Count (0) -
guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java
} @Override public abstract HashCode hashBytes(byte[] input, int off, int len); @Override public HashCode hashBytes(ByteBuffer input) { return newHasher(input.remaining()).putBytes(input).hash(); } /** In-memory ByteBuffer-based implementation of {@link Hasher}. */ private final class ByteBufferHasher extends AbstractHasher { ByteBuffer buffer;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 04 15:39:10 GMT 2025 - 4.8K bytes - Click Count (0) -
architecture/runtimes.md
``` These are all Java processes. Each process has a corresponding "runtime". All source code in Gradle is written to target one or more of these runtimes. Most source code targets the daemon and the remaining code either targets a single runtime, for example the Gradle client, or is shared across multiple runtimes. ## Composition by architecture modules
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu May 02 06:42:46 GMT 2024 - 2.3K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.2K bytes - Click Count (0)