Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 for allocs (0.04 sec)

  1. src/bytes/bytes_test.go

    func TestEqual(t *testing.T) {
    	// Run the tests and check for allocation at the same time.
    	allocs := testing.AllocsPerRun(10, func() {
    		for _, tt := range compareTests {
    			eql := Equal(tt.a, tt.b)
    			if eql != (tt.i == 0) {
    				t.Errorf(`Equal(%q, %q) = %v`, tt.a, tt.b, eql)
    			}
    		}
    	})
    	if allocs > 0 {
    		t.Errorf("Equal allocated %v times", allocs)
    	}
    }
    
    func TestEqualExhaustive(t *testing.T) {
    	var size = 128
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Dec 23 23:54:14 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ArrayListMultimap.java

     *
     * <p>When iterating through the collections supplied by this class, the ordering of values for a
     * given key agrees with the order in which the values were added.
     *
     * <p>This multimap allows duplicate key-value pairs. After adding a new key-value pair equal to an
     * existing key-value pair, the {@code ArrayListMultimap} will contain entries for both the new
     * value and the old value.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 23:15:58 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. doc/godebug.md

    will fail early. The default value is `httpcookiemaxnum=3000`. Setting
    `httpcookiemaxnum=0` will allow the cookie parsing to accept an indefinite
    number of cookies. To avoid denial of service attacks, this setting and default
    was backported to Go 1.25.2 and Go 1.24.8.
    
    Go 1.26 added a new `urlstrictcolons` setting that controls whether `net/url.Parse`
    allows malformed hostnames containing colons outside of a bracketed IPv6 address.
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Dec 03 00:18:09 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/query-params-str-validations.md

    # Query Parameters and String Validations { #query-parameters-and-string-validations }
    
    **FastAPI** allows you to declare additional information and validation for your parameters.
    
    Let's take this application as example:
    
    {* ../../docs_src/query_params_str_validations/tutorial001_py310.py hl[7] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/behind-a-proxy.md

    ///
    
    ### Proxy-Forwarded-Header aktivieren { #enable-proxy-forwarded-headers }
    
    Sie können FastAPI CLI mit der *CLI-Option* `--forwarded-allow-ips` starten und die IP-Adressen übergeben, denen vertraut werden soll, um diese Forwarded-Header zu lesen.
    
    Wenn Sie es auf `--forwarded-allow-ips="*"` setzen, würde es allen eingehenden IPs vertrauen.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. docs/en/docs/project-generation.md

    # Full Stack FastAPI Template { #full-stack-fastapi-template }
    
    Templates, while typically come with a specific setup, are designed to be flexible and customizable. This allows you to modify and adapt them to your project's requirements, making them an excellent starting point. 🏁
    
    You can use this template to get started, as it includes a lot of the initial set up, security, database and some API endpoints already done for you.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Dec 08 13:04:54 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. fastapi/openapi/models.py

            ) -> Mapping[str, Any]:
                return with_info_plain_validator_function(cls._validate)
    
    
    class BaseModelWithConfig(BaseModel):
        model_config = {"extra": "allow"}
    
    
    class Contact(BaseModelWithConfig):
        name: Optional[str] = None
        url: Optional[AnyUrl] = None
        email: Optional[EmailStr] = None
    
    
    class License(BaseModelWithConfig):
        name: str
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/configure-swagger-ui.md

    ## JavaScript-only settings { #javascript-only-settings }
    
    Swagger UI also allows other configurations to be **JavaScript-only** objects (for example, JavaScript functions).
    
    FastAPI also includes these JavaScript-only `presets` settings:
    
    ```JavaScript
    presets: [
        SwaggerUIBundle.presets.apis,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.32.md

    - Allow pods to use the `net.ipv4.tcp_rmem` and `net.ipv4.tcp_wmem` sysctl by default
      when the kernel version is 4.15 or higher. With the kernel 4.15 the sysctl became namespaced.
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Tue Dec 16 18:27:41 UTC 2025
    - 448.1K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_cors/test_tutorial001.py

        assert response.status_code == 200, response.text
        assert response.text == "OK"
        assert (
            response.headers["access-control-allow-origin"]
            == "https://localhost.tiangolo.com"
        )
        assert response.headers["access-control-allow-headers"] == "X-Example"
    
        # Test standard response
        headers = {"Origin": "https://localhost.tiangolo.com"}
        response = client.get("/", headers=headers)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top