Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 195 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableMultiset.java

          int remaining;
          @Nullable E element;
    
          @Override
          public boolean hasNext() {
            return (remaining > 0) || entryIterator.hasNext();
          }
    
          @Override
          public E next() {
            if (remaining <= 0) {
              Entry<E> entry = entryIterator.next();
              element = entry.getElement();
              remaining = entry.getCount();
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jul 23 12:36:06 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            // Skip 3 bytes
            assertEquals(3, sis.skip(3));
    
            // Read remaining 2 bytes
            byte[] remaining = new byte[2];
            assertEquals(2, sis.read(remaining, 0, 2));
            assertArrayEquals(new byte[] { 40, 50 }, remaining);
        }
    
        @Test
        @DisplayName("Skip handles amount larger than available")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/LmhostsTest.java

                            byte[] buffer = inv.getArgument(0);
                            int remaining = includeContent.length - index[0];
                            if (remaining <= 0) {
                                return -1;
                            }
                            int toRead = Math.min(buffer.length, remaining);
                            System.arraycopy(includeContent, index[0], buffer, 0, toRead);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K 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];
                    pos++;
                }
    
                // all other remaining path elements are actual path
                if (nameParts.length > pos) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  8. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            }
    
            @ParameterizedTest
            @DisplayName("Should handle various remaining bytes values")
            @ValueSource(ints = { 0, 1, 512, 1024, 4096, 65536, Integer.MAX_VALUE })
            void testVariousRemainingBytes(int remaining) {
                assertDoesNotThrow(() -> request.setRemainingBytes(remaining));
            }
        }
    
        @Nested
        @DisplayName("Size Calculation Tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

          h2 += h1;
          h2 = h2 * 5 + 0x38495ab5;
        }
    
        @Override
        protected void processRemaining(ByteBuffer bb) {
          long k1 = 0;
          long k2 = 0;
          length += bb.remaining();
          switch (bb.remaining()) {
            case 15:
              k2 ^= (long) toUnsignedInt(bb.get(14)) << 48; // fall through
            case 14:
              k2 ^= (long) toUnsignedInt(bb.get(13)) << 40; // fall through
            case 13:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top