Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 671 for chunks (0.05 seconds)

  1. 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
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  2. 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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  3. 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,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jun 21 20:36:35 GMT 2025
    - 3.2K bytes
    - Click Count (1)
  4. src/main/java/org/codelibs/fess/llm/LlmClient.java

        /**
         * Performs a streaming chat completion request.
         * The callback is invoked for each chunk of the response.
         *
         * @param request the chat request containing messages and parameters
         * @param callback the callback to receive streaming chunks
         * @throws LlmException if an error occurs during the request
         */
        void streamChat(LlmChatRequest request, LlmStreamCallback callback);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 7.3K bytes
    - Click Count (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())
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 17.6K bytes
    - Click Count (7)
  6. 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];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  7. 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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 18.8K bytes
    - Click Count (0)
  8. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12K bytes
    - Click Count (1)
  9. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       */
      protected abstract char @Nullable [] escape(int cp);
    
      /**
       * Returns the escaped form of a given literal string.
       *
       * <p>If you are escaping input in arbitrary successive chunks, then it is not generally safe to
       * use this method. If an input string ends with an unmatched high surrogate character, then this
       * method will throw {@link IllegalArgumentException}. You should ensure your input is valid <a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 24 04:06:11 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/hash/Crc32cHashFunction.java

        Crc32cHasher() {
          super(16);
        }
    
        private boolean finished = false;
    
        /*
         * This trick allows us to avoid having separate states for "first four ints" and "all other
         * four int chunks."  The state we want after the first four bytes is
         *
         * crc0 = ~int0
         * crc1 = int1
         * crc2 = int2
         * crc3 = int3
         *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 21.2K bytes
    - Click Count (0)
Back to Top