Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for too (0.07 sec)

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

                "Retry-After",
                "1",
              ),
            body = "You took too long!",
            socketPolicy = DisconnectAtEnd,
          ),
        )
        val request = Request(server.url("/"))
        val response = client.newCall(request).execute()
        assertThat(response.body.string()).isEqualTo("You took too long!")
      }
    
      @Test
      fun requestBodyRetransmittedOnClientRequestTimeout() {
    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

    				rw.WriteHeader(404)
    				rw.Header().Set("Too-Late", "some-value")
    			},
    			check: func(got, logs string) error {
    				if !strings.Contains(got, "404") {
    					return errors.New("wrong status")
    				}
    				if strings.Contains(got, "Too-Late") {
    					return errors.New("shouldn't have seen Too-Late")
    				}
    				return nil
    			},
    		},
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/data.go

    		case 2:
    			if (rt == objabi.R_PCREL || rt == objabi.R_CALL) && o != int64(int16(o)) {
    				st.err.Errorf(s, "pc-relative relocation address for %s is too big: %#x", ldr.SymName(rs), o)
    			} else if o != int64(int16(o)) && o != int64(uint16(o)) {
    				st.err.Errorf(s, "non-pc-relative relocation address for %s is too big: %#x", ldr.SymName(rs), uint64(o))
    			}
    			target.Arch.ByteOrder.PutUint16(P[off:], uint16(o))
    		case 4:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  4. src/net/http/transport_test.go

    	expected := int32(tr.MaxConnsPerHost)
    	if dialCnt != expected {
    		t.Errorf("round 1: too many dials: %d != %d", dialCnt, expected)
    	}
    	if gotConnCnt != expected {
    		t.Errorf("round 1: too many get connections: %d != %d", gotConnCnt, expected)
    	}
    	if ts.TLS != nil && tlsHandshakeCnt != expected {
    		t.Errorf("round 1: too many tls handshakes: %d != %d", tlsHandshakeCnt, expected)
    	}
    
    	if t.Failed() {
    		t.FailNow()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  5. pkg/apis/batch/validation/validation_test.go

    			completions:   6,
    			wantTotal:     0,
    			wantError:     errors.New(`cannot convert string to integer for index: " 5"`),
    		},
    		"invalid due to too large index": {
    			indexesString: "0,1-3,5",
    			completions:   5,
    			wantTotal:     0,
    			wantError:     errors.New(`too large index: "5"`),
    		},
    		"invalid due to non-increasing order of intervals": {
    			indexesString: "1-3,0,5",
    			completions:   6,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 124.3K bytes
    - Viewed (0)
  6. pkg/controller/job/job_controller_test.go

    			expectedReady:      ptr.To[int32](0),
    			controllerTime:     &referenceTime,
    		},
    		"too few active pods with a dynamic job": {
    			parallelism:       2,
    			completions:       -1,
    			backoffLimit:      6,
    			activePods:        1,
    			expectedCreations: 1,
    			expectedActive:    2,
    			expectedReady:     ptr.To[int32](0),
    		},
    		"too few active pods, with controller error": {
    			parallelism:        2,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  7. src/reflect/value.go

    		}
    		if len(in) < n {
    			panic("reflect: CallSlice with too few input arguments")
    		}
    		if len(in) > n {
    			panic("reflect: CallSlice with too many input arguments")
    		}
    	} else {
    		if isVariadic {
    			n--
    		}
    		if len(in) < n {
    			panic("reflect: Call with too few input arguments")
    		}
    		if !isVariadic && len(in) > n {
    			panic("reflect: Call with too many input arguments")
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  8. pkg/controller/daemon/daemon_controller_test.go

    func TestInsufficientCapacityNodeDaemonDoesNotUnscheduleRunningPod(t *testing.T) {
    	for _, strategy := range updateStrategies() {
    		podSpec := resourcePodSpec("too-much-mem", "75M", "75m")
    		podSpec.NodeName = "too-much-mem"
    		ds := newDaemonSet("foo")
    		ds.Spec.UpdateStrategy = *strategy
    		ds.Spec.Template.Spec = podSpec
    		_, ctx := ktesting.NewTestContext(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  9. pkg/config/validation/validation_test.go

    				Uri:       "",
    				Authority: "",
    			},
    			valid: false,
    		},
    		{
    			name: "too small redirect code",
    			redirect: &networking.HTTPRedirect{
    				Uri:          "t",
    				Authority:    "",
    				RedirectCode: 299,
    			},
    			valid: false,
    		},
    		{
    			name: "too large redirect code",
    			redirect: &networking.HTTPRedirect{
    				Uri:          "t",
    				Authority:    "",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  10. src/net/http/server.go

    	if !httpguts.ValidTrailerHeader(k) {
    		// Forbidden by RFC 7230, section 4.1.2
    		return
    	}
    	w.trailers = append(w.trailers, k)
    }
    
    // requestTooLarge is called by maxBytesReader when too much input has
    // been read from the client.
    func (w *response) requestTooLarge() {
    	w.closeAfterReply = true
    	w.requestBodyLimitHit = true
    	if !w.wroteHeader {
    		w.Header().Set("Connection", "close")
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
Back to top