Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 554 for wants (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

      protected CountDownLatch latch;
      protected ListenableFuture<Boolean> future;
    
      @Override
      protected void setUp() throws Exception {
    
        // Create a latch and a future that waits on the latch.
        latch = new CountDownLatch(1);
        future = createListenableFuture(Boolean.TRUE, null, latch);
      }
    
      @Override
      protected void tearDown() throws Exception {
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/header-param-models.md

    <div class="screenshot">
    <img src="/img/tutorial/header-param-models/image01.png">
    </div>
    
    ## Forbid Extra Headers { #forbid-extra-headers }
    
    In some special use cases (probably not very common), you might want to **restrict** the headers that you want to receive.
    
    You can use Pydantic's model configuration to `forbid` any `extra` fields:
    
    {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  3. tests/embedded_struct_test.go

    	}
    	expectAuthors := []string{"Edward", "George"}
    	for i, post := range egPosts {
    		t.Log(i, post.Author)
    		if want := expectAuthors[i]; post.Author.Name != want {
    			t.Errorf("expected author %s got %s", want, post.Author.Name)
    		}
    	}
    }
    
    func TestEmbeddedPointerTypeStruct(t *testing.T) {
    	type BasePost struct {
    		Id    int64
    		Title string
    		URL   string
    	}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed May 08 04:07:58 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  4. internal/hash/reader.go

    	if err == io.EOF { // Verify content SHA256, if set.
    		if r.expectedMin > 0 {
    			if r.bytesRead < r.expectedMin {
    				return 0, SizeTooSmall{Want: r.expectedMin, Got: r.bytesRead}
    			}
    		}
    		if r.expectedMax > 0 {
    			if r.bytesRead > r.expectedMax {
    				return 0, SizeTooLarge{Want: r.expectedMax, Got: r.bytesRead}
    			}
    		}
    
    		if r.sha256 != nil {
    			if sum := r.sha256.Sum(nil); !bytes.Equal(r.contentSHA256, sum) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/path-params-numeric-validations.md

    This is probably not as important or necessary if you use `Annotated`.
    
    ///
    
    Let's say that you want to declare the query parameter `q` as a required `str`.
    
    And you don't need to declare anything else for that parameter, so you don't really need to use `Query`.
    
    But you still need to use `Path` for the `item_id` path parameter. And you don't want to use `Annotated` for some reason.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  6. src/bytes/bytes_js_wasm_test.go

    package bytes_test
    
    import (
    	"bytes"
    	"testing"
    )
    
    func TestIssue65571(t *testing.T) {
    	b := make([]byte, 1<<31+1)
    	b[1<<31] = 1
    	i := bytes.IndexByte(b, 1)
    	if i != 1<<31 {
    		t.Errorf("IndexByte(b, 1) = %d; want %d", i, 1<<31)
    	}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Jul 17 07:00:20 GMT 2024
    - 417 bytes
    - Click Count (0)
  7. architecture/standards/0001-use-architectural-decision-records.md

    ## Decision
    
    The *Build Tool Team* has decided to use Architectural Decision Records (aka ADR) to track decisions we want to follow.
    
    The main logic with ADRs is to describe (architectural) decisions made:
    
    * To provide best practices and solutions we (as the *build tool* team) want to promote.
    * To avoid asking the same thing multiple times during code review.
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Aug 26 17:29:22 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  8. .teamcity/src/main/kotlin/configurations/PerformanceTest.kt

                        type.defaultBaselines,
                        display = ParameterDisplay.PROMPT,
                        allowEmpty = true,
                        description = "The baselines you want to run performance tests against. Empty means default baseline.",
                    )
                    param("env.PERFORMANCE_STAGE", stage.stageName.toString())
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 22 07:15:16 GMT 2025
    - 6K bytes
    - Click Count (0)
  9. docs/en/docs/reference/request.md

    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import Request
    ```
    
    /// tip
    
    When you want to define dependencies that should be compatible with both HTTP and WebSockets, you can define a parameter that takes an `HTTPConnection` instead of a `Request` or a `WebSocket`.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Aug 06 04:48:30 GMT 2024
    - 518 bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    And you could have a single dependency that requires several other dependencies with `yield`, etc.
    
    You can have any combinations of dependencies that you want.
    
    **FastAPI** will make sure everything is run in the correct order.
    
    /// note | Technical Details
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.9K bytes
    - Click Count (0)
Back to Top