Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for Remaining (0.06 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

                assertEquals("Hello", new String(buffer, 0, bytesRead, "UTF-8"));
    
                // Read remaining bytes
                byte[] remaining = new byte[20];
                int remainingBytes = stream.read(remaining);
                assertEquals(8, remainingBytes); // ", World!"
                assertEquals(", World!", new String(remaining, 0, remainingBytes, "UTF-8"));
            }
        }
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

                // sge.setLength(data.remaining());
                // sge.setLkey(disniRegion.getLocalKey());
                // sgeList.add(sge);
                //
                // sendWR.setSg_list(sgeList);
                // endpoint.postSend(Arrays.asList(sendWR)).execute().free();
    
                log.debug("DiSNI RDMA send completed, {} bytes", data.remaining());
    
            } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top