Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 329 for chunkOf (0.13 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

            bytesOut.write(body, chunkSize)
            bytesOut.writeUtf8("\r\n")
          }
          bytesOut.writeUtf8("0\r\n") // Last chunk. Trailers follow!
          this.body = bytesOut.toMockResponseBody()
        }
    
        /**
         * Sets the response body to the UTF-8 encoded bytes of [body],
         * chunked every [maxChunkSize] bytes.
         */
        fun chunkedBody(
          body: String,
          maxChunkSize: Int,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/fingerprinting_utils.h

    // Returns the hash of the checkpoint .index file, 0 if there is none.
    uint64_t HashCheckpointIndexFile(absl::string_view model_dir);
    
    // Creates a FingerprintDef proto from a chunked SavedModel and the checkpoint
    // meta file (.index) in `export_dir`.
    absl::StatusOr<FingerprintDef> CreateFingerprintDefCpb(
        absl::string_view export_dir, std::string cpb_file);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 22:19:55 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. src/net/http/transfer_test.go

    		},
    		{
    			hdr:     Header{"Transfer-Encoding": {"chunked, chunked", "identity", "chunked"}},
    			wantErr: &unsupportedTEError{`too many transfer encodings: ["chunked, chunked" "identity" "chunked"]`},
    		},
    		{
    			hdr:     Header{"Transfer-Encoding": {""}},
    			wantErr: &unsupportedTEError{`unsupported transfer encoding: ""`},
    		},
    		{
    			hdr:     Header{"Transfer-Encoding": {"chunked, identity"}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:16:28 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  4. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

          body = null
          webSocketListener = listener
        }
    
      override fun toString(): String = status
    
      companion object {
        private const val CHUNKED_BODY_HEADER = "Transfer-encoding: chunked"
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. src/net/http/responsewrite_test.go

    		// setting chunked.
    		{
    			Response{
    				StatusCode:       200,
    				ProtoMajor:       1,
    				ProtoMinor:       1,
    				Request:          dummyReq11("GET"),
    				Header:           Header{},
    				Body:             io.NopCloser(strings.NewReader("abcdef")),
    				ContentLength:    -1,
    				TransferEncoding: []string{"chunked"},
    				Close:            false,
    			},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:07:32 UTC 2022
    - 6.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    		if end > len(sources) {
    			end = len(sources)
    		}
    		chunkP, chunkMsrc, chunkSave, chunkCount, chunkErr := concurrentGrab(sources[start:end], fetch, obj, ui, tr)
    		switch {
    		case chunkErr != nil:
    			return nil, nil, false, 0, chunkErr
    		case chunkP == nil:
    			continue
    		case p == nil:
    			p, msrc, save, count = chunkP, chunkMsrc, chunkSave, chunkCount
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. src/runtime/malloc.go

    //
    //go:nosplit
    func inPersistentAlloc(p uintptr) bool {
    	chunk := atomic.Loaduintptr((*uintptr)(unsafe.Pointer(&persistentChunks)))
    	for chunk != 0 {
    		if p >= chunk && p < chunk+persistentChunkSize {
    			return true
    		}
    		chunk = *(*uintptr)(unsafe.Pointer(chunk))
    	}
    	return false
    }
    
    // linearAlloc is a simple linear allocator that pre-reserves a region
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  8. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/kryo/KryoBackedCodecTest.groovy

                    nested.writeSmallInt(12)
                    nested.writeString("chunked")
                }
                encoder.writeString("done")
            }
    
            then:
            decode(bytes) { Decoder decoder ->
                decoder.decodeChunked { Decoder nested ->
                    assert nested.readSmallInt() == 12
                    assert nested.readString() == "chunked"
                }
                assert decoder.readString() == "done"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/BaseEncoding.java

          for (int remaining = len; remaining >= 3; remaining -= 3) {
            int chunk = (bytes[i++] & 0xFF) << 16 | (bytes[i++] & 0xFF) << 8 | bytes[i++] & 0xFF;
            target.append(alphabet.encode(chunk >>> 18));
            target.append(alphabet.encode((chunk >>> 12) & 0x3F));
            target.append(alphabet.encode((chunk >>> 6) & 0x3F));
            target.append(alphabet.encode(chunk & 0x3F));
          }
          if (i < off + len) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 15 16:33:32 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/SerializedPayloadSerializer.java

            Object header = javaSerializer.read(decoder);
            int count = decoder.readSmallInt();
            List<byte[]> chunks = new ArrayList<>(count);
            for (int i = 0; i < count; i++) {
                chunks.add(decoder.readBinary());
            }
            return new SerializedPayload(header, chunks);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top