Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for Remaining (0.07 sec)

  1. android/guava/src/com/google/common/io/CharSequenceReader.java

      }
    
      private void checkOpen() throws IOException {
        if (seq == null) {
          throw new IOException("reader closed");
        }
      }
    
      private boolean hasRemaining() {
        return remaining() > 0;
      }
    
      private int remaining() {
        requireNonNull(seq); // safe as long as we call this only after checkOpen
        return seq.length() - pos;
      }
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/CharSequenceReader.java

      }
    
      private void checkOpen() throws IOException {
        if (seq == null) {
          throw new IOException("reader closed");
        }
      }
    
      private boolean hasRemaining() {
        return remaining() > 0;
      }
    
      private int remaining() {
        requireNonNull(seq); // safe as long as we call this only after checkOpen
        return seq.length() - pos;
      }
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

      // have completed and we have processed them all.
      @CheckForNull private volatile Set<Throwable> seenExceptions = null;
    
      private volatile int remaining;
    
      private static final AtomicHelper ATOMIC_HELPER;
    
      private static final LazyLogger log = new LazyLogger(AggregateFutureState.class);
    
      static {
        AtomicHelper helper;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AggregateFutureState.java

      // have completed and we have processed them all.
      @CheckForNull private volatile Set<Throwable> seenExceptions = null;
    
      private volatile int remaining;
    
      private static final AtomicHelper ATOMIC_HELPER;
    
      private static final LazyLogger log = new LazyLogger(AggregateFutureState.class);
    
      static {
        AtomicHelper helper;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. 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;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ReaderInputStream.java

       * number of characters copied.
       */
      private int drain(byte[] b, int off, int len) {
        int remaining = min(len, byteBuffer.remaining());
        byteBuffer.get(b, off, remaining);
        return remaining;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/ReaderInputStream.java

       * number of characters copied.
       */
      private int drain(byte[] b, int off, int len) {
        int remaining = min(len, byteBuffer.remaining());
        byteBuffer.get(b, off, remaining);
        return remaining;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          assertTrue(bb.remaining() >= chunkSize);
          for (int i = 0; i < chunkSize; i++) {
            out.write(bb.get());
          }
        }
    
        @Override
        protected void processRemaining(ByteBuffer bb) {
          assertFalse(remainingCalled);
          remainingCalled = true;
          assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order());
          assertTrue(bb.remaining() > 0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. 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)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. 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
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 14:57:31 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top