Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 319 for Expect (0.03 sec)

  1. tests/lru_test.go

    	}
    	if ok {
    		t.Fatalf("should be false")
    	}
    }
    
    func TestLRURemoveOldest(t *testing.T) {
    	lc := lru.NewLRU[string, string](2, nil, 0)
    
    	if lc.Cap() != 2 {
    		t.Fatalf("expect cap is 2")
    	}
    
    	k, v, ok := lc.RemoveOldest()
    	if k != "" {
    		t.Fatalf("should be empty")
    	}
    	if v != "" {
    		t.Fatalf("should be empty")
    	}
    	if ok {
    		t.Fatalf("should be false")
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. cmd/metacache-set.go

    					time.Sleep(retryDelay250)
    					continue
    				default:
    					internalLogIf(ctx, err)
    					return entries, err
    				}
    			}
    
    			// We finished at the end of the block.
    			// And should not expect any more results.
    			bi, err := getMetacacheBlockInfo(fi, partN)
    			internalLogIf(ctx, err)
    			if err != nil || bi.EOS {
    				// We are done and there are no more parts.
    				return entries, io.EOF
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/arch/arm64.go

    // ARM64RegisterArrangement constructs an ARM64 vector register arrangement.
    func ARM64RegisterArrangement(reg int16, name, arng string) (int64, error) {
    	var curQ, curSize uint16
    	if name[0] != 'V' {
    		return 0, errors.New("expect V0 through V31; found: " + name)
    	}
    	if reg < 0 {
    		return 0, errors.New("invalid register number: " + name)
    	}
    	switch arng {
    	case "B8":
    		curSize = 0
    		curQ = 0
    	case "B16":
    		curSize = 0
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 14 15:13:11 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

          Header("content-location", ""),
          Header("content-range", ""),
          Header("content-type", ""),
          Header("cookie", ""),
          Header("date", ""),
          Header("etag", ""),
          Header("expect", ""),
          Header("expires", ""),
          Header("from", ""),
          Header("host", ""),
          Header("if-match", ""),
          Header("if-modified-since", ""),
          Header("if-none-match", ""),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  5. cmd/object-handlers-common.go

    // to activate delete only headers set delete as true
    func setPutObjHeaders(w http.ResponseWriter, objInfo ObjectInfo, del bool, h http.Header) {
    	// We must not use the http.Header().Set method here because some (broken)
    	// clients expect the ETag header key to be literally "ETag" - not "Etag" (case-sensitive).
    	// Therefore, we have to set the ETag directly as map entry.
    	if objInfo.ETag != "" && !del {
    		w.Header()[xhttp.ETag] = []string{`"` + objInfo.ETag + `"`}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jul 23 12:36:06 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

          MockResponse
            .Builder()
            .add100Continue()
            .build(),
        )
        val request =
          Request
            .Builder()
            .url(server.url("/"))
            .header("Expect", "100-continue")
            .post("abc".toRequestBody("text/plain".toMediaType()))
            .build()
        val call = client.newCall(request)
        call.execute()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

     *        * headers ([responseHeadersStart], [responseHeadersEnd])
     *        * body ([responseBodyStart], [responseBodyEnd])
     *
     * This nesting is typical but not strict. For example, when calls use "Expect: continue" the
     * request body start and end events occur within the response header events. Similarly,
     * [duplex calls][RequestBody.isDuplex] interleave the request and response bodies.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/SourceSinkFactories.java

            return new String(factory.getSinkContents(), UTF_8);
          }
    
          @Override
          public String getExpected(String data) {
            /*
             * Get what the byte sink factory would expect for no written bytes, then append expected
             * string to that.
             */
            byte[] factoryExpectedForNothing = factory.getExpected(new byte[0]);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/custom-response.md

    /// note
    
    If you use a response class with no media type, FastAPI will expect your response to have no content, so it will not document the response format in its generated OpenAPI docs.
    
    ///
    
    ## Use `ORJSONResponse` { #use-orjsonresponse }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. cmd/sts-handlers.go

    			if err != nil {
    				writeSTSErrorResponse(ctx, w, ErrSTSAccessDenied, err)
    				return
    			}
    			if newGlobalAuthZPluginFn() == nil {
    				// if authZ is not set - we expect the policies to be present.
    				if globalIAMSys.CurrentPolicies(p) == "" {
    					writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 36.6K bytes
    - Viewed (0)
Back to top