Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 for Remaining (0.09 sec)

  1. 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)
  2. 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)
  3. internal/ioutil/ioutil.go

    	if totalSize == 0 {
    		return 0, nil
    	}
    
    	var written int64
    	for {
    		buf := alignedBuf
    		if totalSize > 0 {
    			remaining := totalSize - written
    			if remaining < int64(len(buf)) {
    				buf = buf[:remaining]
    			}
    		}
    
    		nr, err := io.ReadFull(r, buf)
    		eof := errors.Is(err, io.EOF) || errors.Is(err, io.ErrUnexpectedEOF)
    		if err != nil && !eof {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/Stats.java

       *     {@link ByteOrder#LITTLE_ENDIAN}, to which a BYTES-long byte representation of this instance
       *     is written. In the process increases the position of {@link ByteBuffer} by BYTES.
       */
      void writeTo(ByteBuffer buffer) {
        checkNotNull(buffer);
        checkArgument(
            buffer.remaining() >= BYTES,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  5. internal/s3select/jstream/decoder.go

    		}
    		return -n, Number, nil
    	case 'f':
    		if d.remaining() < 4 {
    			return nil, Unknown, d.mkError(ErrUnexpectedEOF)
    		}
    		//nolint:gocritic
    		if d.next() == 'a' && d.next() == 'l' && d.next() == 's' && d.next() == 'e' {
    			return false, Boolean, nil
    		}
    		return nil, Unknown, d.mkError(ErrSyntax, "in literal false")
    	case 't':
    		if d.remaining() < 3 {
    			return nil, Unknown, d.mkError(ErrUnexpectedEOF)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

          int remaining = queue.size();
          while (queueIterator.hasNext()) {
            Integer element = queueIterator.next();
            remaining--;
            assertThat(elements).contains(element);
            if (random.nextBoolean()) {
              elements.remove(element);
              queueIterator.remove();
            }
          }
          assertThat(remaining).isEqualTo(0);
          assertIntact(queue);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                if ( context.getServer() == null ) {
                    pos = 1;
                }
    
                // first remaining path element would be share
                if ( nameParts.length > pos ) {
                    this.share = nameParts[ pos++ ];
                }
    
                // all other remaining path elements are actual path
                if ( nameParts.length > pos ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/HashBiMap.java

        @CheckForNull BiEntry<K, V> toRemove = null;
        int expectedModCount = modCount;
        int remaining = size();
    
        @Override
        public boolean hasNext() {
          if (modCount != expectedModCount) {
            throw new ConcurrentModificationException();
          }
          return next != null && remaining > 0;
        }
    
        @Override
        public T next() {
          if (!hasNext()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        CharBuffer buf = CharBuffer.wrap(ASCII);
        assertEquals(ASCII.length(), CharStreams.exhaust(buf));
        assertEquals(0, buf.remaining());
        assertEquals(0, CharStreams.exhaust(buf));
    
        CharBuffer empty = CharBuffer.wrap("");
        assertEquals(0, CharStreams.exhaust(empty));
        assertEquals(0, empty.remaining());
      }
    
      public void testNullWriter() throws Exception {
        // create a null writer
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/CharStreamsTest.java

        CharBuffer buf = CharBuffer.wrap(ASCII);
        assertEquals(ASCII.length(), CharStreams.exhaust(buf));
        assertEquals(0, buf.remaining());
        assertEquals(0, CharStreams.exhaust(buf));
    
        CharBuffer empty = CharBuffer.wrap("");
        assertEquals(0, CharStreams.exhaust(empty));
        assertEquals(0, empty.remaining());
      }
    
      public void testNullWriter() throws Exception {
        // create a null writer
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top