Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for expecting (0.17 sec)

  1. src/net/http/transport_test.go

    				res, err := c.Do(req)
    				if err != nil {
    					t.Fatal(err)
    				}
    				defer res.Body.Close()
    				if want := tc.disableKeepAlives || tc.close; count > 1 || (count == 1) != want {
    					t.Errorf("expecting want:%v, got 'Connection: close':%d", want, count)
    				}
    			})
    	}
    
    }
    
    func TestTransportIdleCacheKeys(t *testing.T) {
    	run(t, testTransportIdleCacheKeys, []testMode{http1Mode})
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

      }
    
      @Test
      fun rangeHeaderPreventsAutomaticGzip() {
        val gzippedBody = gzip("abcabcabc")
    
        // Enqueue a gzipped response. Our request isn't expecting it, but that's okay.
        server.enqueue(
          MockResponse.Builder()
            .code(HttpURLConnection.HTTP_PARTIAL)
            .body(gzippedBody)
            .addHeader("Content-Encoding: gzip")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  3. src/net/http/server.go

    	}
    }
    
    // shouldReuseConnection reports whether the underlying TCP connection can be reused.
    // It must only be called after the handler is done executing.
    func (w *response) shouldReuseConnection() bool {
    	if w.closeAfterReply {
    		// The request or something set while executing the
    		// handler indicated we shouldn't reuse this
    		// connection.
    		return false
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  4. pkg/scheduler/internal/queue/scheduling_queue_test.go

    			// On Windows, time.Now() is not as precise, 2 consecutive calls may return the same timestamp.
    			// Thus, all the QueuedPodInfos can have the same timestamps, which can be an issue
    			// when we're expecting them to be popped in a certain order (the Less function
    			// sorts them by Timestamps if they have the same Pod Priority).
    			// Using a fake clock for the queue and incrementing it after each added Pod will
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  5. cmd/site-replication.go

    		}
    
    		if peer.DefaultBandwidth.IsSet {
    			if peer.DeploymentID == globalDeploymentID() {
    				return madmin.ReplicateEditStatus{}, errSRInvalidRequest(fmt.Errorf("invalid deployment id specified: expecting a peer deployment-id to be specified for restricting bandwidth from %s, found self %s", peer.Name, globalDeploymentID()))
    			}
    			pi.DefaultBandwidth = peer.DefaultBandwidth
    			pi.DefaultBandwidth.UpdatedAt = UTCNow()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/ppc64/asm9.go

    			case REG_CR4:
    				r = BI_CR4
    			case REG_CR5:
    				r = BI_CR5
    			case REG_CR6:
    				r = BI_CR6
    			case REG_CR7:
    				r = BI_CR7
    			default:
    				c.ctxt.Diag("unrecognized register: expecting CR\n")
    			}
    		}
    		v := int32(0)
    		if p.To.Target() != nil {
    			v = int32(p.To.Target().Pc - p.Pc)
    		}
    		if v&03 != 0 {
    			c.ctxt.Diag("odd branch target address\n%v", p)
    			v &^= 03
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  7. src/net/http/serve_test.go

    				lastLine <- line
    				<-exitHandler
    			})
    
    			if !tt.mustTimeout {
    				exitHandler <- true
    			}
    
    			logBuf := new(strings.Builder)
    			srvLog := log.New(logBuf, "", 0)
    			// When expecting to timeout, we'll keep the duration short.
    			dur := 20 * time.Millisecond
    			if !tt.mustTimeout {
    				// Otherwise, make it arbitrarily long to reduce the risk of flakes.
    				dur = 10 * time.Second
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  8. pkg/proxy/ipvs/proxier_test.go

    	testCases := []struct {
    		isIPv6       bool
    		devAddresses map[string][]string
    		expectIPs    []string
    	}{
    		// case 0
    		{
    			devAddresses: map[string][]string{"eth0": {"1.2.3.4"}, "lo": {"127.0.0.1"}},
    			expectIPs:    []string{"1.2.3.4"},
    		},
    		// case 1
    		{
    			devAddresses: map[string][]string{"lo": {"127.0.0.1"}},
    			expectIPs:    []string{},
    		},
    		// case 2
    		{
    			devAddresses: map[string][]string{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    		list       bool
    		expected   runtime.Object
    		expectKind schema.GroupVersionKind
    		statusCode int
    	}{
    		{
    			accept:     "application/json;as=PartialObjectMetadata;v=v1alpha1;g=meta.k8s.io",
    			statusCode: http.StatusNotAcceptable,
    		},
    		{
    			accept:     "application/json;as=PartialObjectMetadata;v=v1alpha1;g=meta.k8s.io, application/json",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/side-effect-analysis-test.mlir

      }
      func.return
      // expected-remark@above {{ID: 13}}
      // expected-remark@above {{Sinks: {12}}}
    }
    
    // -----
    
    // Tests that the pass tracks control dependencies for side-effecting on unknown
    // resources.
    
    // CHECK-LABEL: func @unknown_side_effecting_op
    func.func @unknown_side_effecting_op(%arg0: tensor<32xf32>) -> () {
    // expected-remark@above {{ID: 14}}
      tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 20 04:39:18 UTC 2023
    - 129.7K bytes
    - Viewed (0)
Back to top