Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 569 for chunks (0.04 sec)

  1. guava/src/com/google/common/hash/Fingerprint2011.java

        z += shiftMix(v[1]) * K1;
        x = rotateRight(z + x, 39) * K1;
        y = rotateRight(y, 33) * K1;
    
        // Decrease length to the nearest multiple of 64, and operate on 64-byte chunks.
        length = (length - 1) & ~63;
        do {
          x = rotateRight(x + y + v[0] + load64(bytes, offset + 16), 37) * K1;
          y = rotateRight(y + v[1] + load64(bytes, offset + 48), 42) * K1;
          x ^= w[1];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. cmd/object-api-multipart_test.go

    			bucketName      string
    			objName         string
    			uploadID        string
    			expectedErrType error
    		}{bucket, "\\", uploadID, InvalidUploadID{}})
    	}
    
    	// Iterating over creatPartCases to generate multipart chunks.
    	for i, testCase := range abortTestCases {
    		err = obj.AbortMultipartUpload(context.Background(), testCase.bucketName, testCase.objName, testCase.uploadID, opts)
    		if testCase.expectedErrType == nil && err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

      /**
       * Parses a serialized trie representation of a map of reversed public suffixes into an immutable
       * map of public suffixes. The encoded trie string may be broken into multiple chunks to avoid the
       * 64k limit on string literal size. In-memory strings can be much larger (2G).
       */
      static ImmutableMap<String, PublicSuffixType> parseTrie(CharSequence... encodedChunks) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

                    new_size = len + used;
                }
                tmp = pipe_buf;
                pipe_buf = new byte[new_size];
                i = tmp.length - beg_idx;
                if (used > i) { /* 2 chunks */
                    System.arraycopy(tmp, beg_idx, pipe_buf, 0, i);
                    System.arraycopy(tmp, 0, pipe_buf, i, used - i);
                } else {
                    System.arraycopy(tmp, beg_idx, pipe_buf, 0, used);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

          closed = true
          detachTimeout(timeout)
          state = STATE_READ_RESPONSE_HEADERS
        }
      }
    
      /**
       * An HTTP body with alternating chunk sizes and chunk bodies. It is the caller's responsibility
       * to buffer chunks; typically by using a buffered sink with this sink.
       */
      private inner class ChunkedSink : Sink {
        private val timeout = ForwardingTimeout(socket.sink.timeout())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

        }
      }
    
      private fun MockResponse.Builder.body(
        protocol: Protocol,
        body: String,
      ) = apply {
        when (protocol) {
          Protocol.HTTP_1_1 -> chunkedBody(body, 1024) // Force multiple chunks.
          else -> body(body)
        }
      }
    
      private fun enableProtocol(protocol: Protocol) {
        if (protocol == Protocol.HTTP_2) {
          enableTls()
          client =
            client
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 18K bytes
    - Viewed (0)
  7. cmd/bitrot-streaming.go

    	"errors"
    	"hash"
    	"io"
    	"sync"
    
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/ringbuffer"
    )
    
    // Calculates bitrot in chunks and writes the hash into the stream.
    type streamingBitrotWriter struct {
    	iow          io.WriteCloser
    	closeWithErr func(err error)
    	h            hash.Hash
    	shardSize    int64
    	canClose     *sync.WaitGroup
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 17 19:19:30 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Fingerprint2011.java

        z += shiftMix(v[1]) * K1;
        x = rotateRight(z + x, 39) * K1;
        y = rotateRight(y, 33) * K1;
    
        // Decrease length to the nearest multiple of 64, and operate on 64-byte chunks.
        length = (length - 1) & ~63;
        do {
          x = rotateRight(x + y + v[0] + load64(bytes, offset + 16), 37) * K1;
          y = rotateRight(y + v[1] + load64(bytes, offset + 48), 42) * K1;
          x ^= w[1];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NtlmUtilTest.java

            byte[] key7 = Arrays.copyOfRange(key14, 0, 7);
            byte[] data8 = NtlmUtil.S8;
            byte[] out14 = new byte[16];
            byte[] out7 = new byte[8];
    
            // Act
            NtlmUtil.E(key14, data8, out14);
            NtlmUtil.E(key7, data8, out7);
    
            // Assert: first block identical to single-chunk encryption
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            byte[] data = new byte[] { 1, 2, 3, 4, 5 };
            InputStream in = new ByteArrayInputStream(concat(messageHeader(5), data));
            SocketInputStream sis = new SocketInputStream(in);
    
            // Read in chunks
            byte[] buffer = new byte[10];
    
            // The read will either:
            // 1. Successfully read all 5 bytes
            // 2. Throw IOException if it tries to read past the message
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top