Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 for expecting (0.22 sec)

  1. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    feel which way it was growing, and she was quite surprised to
    find that she remained the same size:  to be sure, this generally
    happens when one eats cake, but Alice had got so much into the
    way of expecting nothing but out-of-the-way things to happen,
    that it seemed quite dull and stupid for life to go on in the
    common way.
    
      So she set to work, and very soon finished off the cake.
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 29 21:35:03 UTC 2012
    - 145.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CacheTest.kt

            .addHeader("Cache-Control: no-store")
            .build(),
        )
      }
    
      @Test
      fun partialRangeResponsesDoNotCorruptCache() {
        // 1. Request a range.
        // 2. Request a full document, expecting a cache miss.
        server.enqueue(
          MockResponse.Builder()
            .body("AA")
            .code(HttpURLConnection.HTTP_PARTIAL)
            .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top