Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for bodies (0.23 sec)

  1. okhttp/src/test/java/okhttp3/CallTest.kt

        val secondResponse = callback.await(request.url).assertSuccessful()
        val bodies: MutableSet<String?> = LinkedHashSet()
        bodies.add(firstResponse.body)
        bodies.add(secondResponse.body)
        assertThat(bodies).contains("abc")
        assertThat(bodies).contains("def")
      }
    
      @Test
      fun get_Async() {
        server.enqueue(
          MockResponse(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  2. src/net/http/serve_test.go

    		// afterwards)
    	}))
    }
    
    func send204(w ResponseWriter, r *Request) { w.WriteHeader(204) }
    func send304(w ResponseWriter, r *Request) { w.WriteHeader(304) }
    
    // Issue 15647: 204 responses can't have bodies, so HTTP/1.0 keep-alive conns should stay open.
    func TestHTTP10KeepAlive204Response(t *testing.T) {
    	testTCPConnectionStaysOpen(t, "GET / HTTP/1.0\r\nConnection: keep-alive\r\n\r\n", HandlerFunc(send204))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

        // Create the new while operation.
        auto new_while_op = rewriter.create<WhileRegionOp>(
            while_op.getLoc(), new_result_types, new_while_operands,
            while_op->getAttrs());
    
        // Move region bodies to the new while.
        rewriter.inlineRegionBefore(while_op.getCond(), new_while_op.getCond(),
                                    new_while_op.getCond().end());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

                                 "arguments and bodies";
            return WalkResult::interrupt();
          }
    
          if (failed(PropagateShapeIntoAttachedRegions(op, max_iterations))) {
            op->emitWarning() << "unable to refine shape of attached region "
                                 "arguments and bodies";
            return WalkResult::interrupt();
          }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CacheTest.kt

            builder.addHeader("WWW-Authenticate: Basic realm=\"protected area\"")
          }
    
          HttpURLConnection.HTTP_NO_CONTENT, HttpURLConnection.HTTP_RESET -> {
            builder.body("") // We forbid bodies for 204 and 205.
          }
        }
        server.enqueue(builder.build())
        if (responseCode == HttpURLConnection.HTTP_CLIENT_TIMEOUT) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      }
    
      @Test
      fun secureChunkedStreaming() {
        testSecureStreamingPost(TransferKind.CHUNKED)
      }
    
      /**
       * Users have reported problems using HTTPS with streaming request bodies.
       * http://code.google.com/p/android/issues/detail?id=12860
       */
      private fun testSecureStreamingPost(streamingMode: TransferKind) {
        server.useHttps(handshakeCertificates.sslSocketFactory())
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  7. src/net/http/transport_test.go

    				wg.Done()
    			}
    		}()
    	}
    
    	// Make sure all the request come back, one way or another.
    	wg.Wait()
    }
    
    // TestTransportHeadResponses verifies that we deal with Content-Lengths
    // with no bodies properly
    func TestTransportHeadResponses(t *testing.T) { run(t, testTransportHeadResponses) }
    func testTransportHeadResponses(t *testing.T, mode testMode) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

          }
          result.replaceAllUsesWith(result_to_extern_value[result]);
          for (Region* branch : branches)
            branch->front().getTerminator()->eraseOperand(next_index);
        }
    
        // Move region bodies to the new op.
        for (auto region_index : llvm::seq<int>(0, branches.size()))
          new_op.getRegion(region_index).takeBody(op.getRegion(region_index));
    
        op.erase();
        return success();
      }
    };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

          if (PruneForReverseReachability(graph_.get(), prune_start)) {
            VLOG(1) << "Pruned unused nodes in graphdef";
          } else {
            VLOG(1) << "No unused nodes in graphdef to prune";
          }
        } else {
          VLOG(1) << "No output nodes specified, skipping pruning";
        }
      } else {
        VLOG(1) << "Pruning unused nodes in graphdef is disabled";
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

      TFL_OperandHasRank<4, 0>]> {
      let summary = [{
    Greedily selects a subset of bounding boxes in descending order of score,
      }];
    
      let description = [{
    pruning away boxes that have high intersection-over-union (IOU) overlap
    with previously selected boxes.  Bounding boxes with score less than
    `score_threshold` are removed.  Bounding boxes are supplied as
    [y1, x1, y2, x2], where (y1, x1) and (y2, x2) are the coordinates of any
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
Back to top