Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 569 for chunks (0.68 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

            void testEncodeMultipleChunks() {
                // Given
                SrvCopychunk chunk1 = new SrvCopychunk(100, 200, 300);
                SrvCopychunk chunk2 = new SrvCopychunk(400, 500, 600);
                SrvCopychunk chunk3 = new SrvCopychunk(700, 800, 900);
                SrvCopychunkCopy copy = new SrvCopychunkCopy(sourceKey, chunk1, chunk2, chunk3);
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/AbstractStreamingHasher.java

       * Computes a hash code based on the data that have been provided to this hasher. This is called
       * after all chunks are handled with {@link #process} and any leftover bytes that did not make a
       * complete chunk are handled with {@link #processRemaining}.
       */
      protected abstract HashCode makeHash();
    
      // Process pent-up data in chunks
      private void munchIfFull() {
        if (buffer.remaining() < 8) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopy.java

     * copy operations with multiple chunk specifications.
     *
     * @author mbechler
     *
     */
    public class SrvCopychunkCopy implements Encodable {
    
        private final byte[] sourceKey;
        private final SrvCopychunk[] chunks;
    
        /**
         * Constructs a server copy chunk operation request
         * @param sourceKey the resume key identifying the source file
         * @param chunks the array of copy chunk descriptors
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbCopyUtil.java

                                wsize = byteLimit;
                            }
    
                            int chunks = (int) (wsize / maxChunkSize);
                            int lastChunkSize;
                            if (chunks + 1 > maxChunks) {
                                chunks = maxChunks;
                                lastChunkSize = maxChunkSize;
                            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

            }
    
            @Test
            @DisplayName("Should handle mismatched chunk and total bytes")
            void testMismatchedValues() throws SMBProtocolDecodingException {
                // This could happen if the last chunk is smaller
                byte[] buffer = createValidCopyChunkResponse(10, // 10 chunks
                        65536, // Last chunk size (not average)
                        589824 // Total less than 10 * 65536
                );
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        char[] buf = new char[expected.length()];
        assertEquals(expected.length() == 0 ? -1 : expected.length(), reader.read(buf));
        assertEquals(expected, new String(buf));
        assertFullyRead(reader);
    
        // read in chunks to fixed array
        reader = new CharSequenceReader(charSequence);
        buf = new char[5];
        StringBuilder builder = new StringBuilder();
        int read;
        while ((read = reader.read(buf, 0, buf.length)) != -1) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponse.java

        private int totalBytesWritten;
    
        /**
         * Gets the number of bytes written in the last chunk
         * @return the chunkBytesWritten
         */
        public int getChunkBytesWritten() {
            return this.chunkBytesWritten;
        }
    
        /**
         * Gets the number of chunks successfully written
         * @return the chunksWritten
         */
        public int getChunksWritten() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Hasher.java

     * mind that when dealing with char sequences, the encoded form of two concatenated char sequences
     * is not equivalent to the concatenation of their encoded form. Therefore, {@link
     * #putString(CharSequence, Charset)} should only be used consistently with <i>complete</i>
     * sequences and not broken into chunks.
     *
     * @author Kevin Bourrillion
     * @since 11.0
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. docs/security/README.md

    ##### Figure 1 - Secure Channel construction
    
    ```
    plaintext   := chunk_0          ||       chunk_1          ||       chunk_2          ||       ...
                     |                         |                         |
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 09:25:50 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

      public val body: ByteString?,
      /** The total size of the body of this request (before truncation).*/
      public val bodySize: Long,
      /**
       * The sizes of the chunks of this request's body, or null if the request's body was not encoded
       * with chunked encoding.
       */
      public val chunkSizes: List<Int>?,
      /**
       * The failure MockWebServer recorded when attempting to decode this request. If, for example,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top