Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 79 for trigger (0.16 sec)

  1. android/guava-tests/test/com/google/common/collect/ListsTest.java

        ArrayList<Integer> list = Lists.newArrayListWithCapacity(0);
        assertEquals(Collections.emptyList(), list);
    
        ArrayList<Integer> bigger = Lists.newArrayListWithCapacity(256);
        assertEquals(Collections.emptyList(), bigger);
      }
    
      public void testNewArrayListWithCapacity_negative() {
        try {
          Lists.newArrayListWithCapacity(-1);
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  2. cmd/apierrorcode_string.go

    // Code generated by "stringer -type=APIErrorCode -trimprefix=Err api-errors.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[ErrNone-0]
    	_ = x[ErrAccessDenied-1]
    	_ = x[ErrBadDigest-2]
    	_ = x[ErrEntityTooSmall-3]
    	_ = x[ErrEntityTooLarge-4]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_bigger_applications/test_main_an.py

    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.bigger_applications.app_an.main import app
    
        client = TestClient(app)
        return client
    
    
    def test_users_token_jessica(client: TestClient):
        response = client.get("/users?token=jessica")
        assert response.status_code == 200
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 24.6K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_bigger_applications/test_main_an_py39.py

    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py39
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.bigger_applications.app_an_py39.main import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py39
    def test_users_token_jessica(client: TestClient):
        response = client.get("/users?token=jessica")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/testing.md

    ## ๐ŸŽ ๐Ÿ’ฏ
    
    ๐ŸŽฐ ๐Ÿˆธ, ๐Ÿ‘† ๐ŸŽฒ ๐Ÿ”œ โœ”๏ธ ๐Ÿ‘† ๐Ÿ’ฏ ๐ŸŽ ๐Ÿ“.
    
    &amp; ๐Ÿ‘† **FastAPI** ๐Ÿˆธ 5๏ธโƒฃ๐Ÿ“† โœ ๐Ÿ“š ๐Ÿ“/๐Ÿ•น, โ™’๏ธ.
    
    ### **FastAPI** ๐Ÿ“ฑ ๐Ÿ“
    
    โžก๏ธ ๐Ÿ’ฌ ๐Ÿ‘† โœ”๏ธ ๐Ÿ“ ๐Ÿ“Š ๐Ÿ”ฌ [๐Ÿฆ ๐Ÿˆธ](bigger-applications.md){.internal-link target=_blank}:
    
    ```
    .
    โ”œโ”€โ”€ app
    โ”‚ย ย  โ”œโ”€โ”€ __init__.py
    โ”‚ย ย  โ””โ”€โ”€ main.py
    ```
    
    ๐Ÿ“ `main.py` ๐Ÿ‘† โœ”๏ธ ๐Ÿ‘† **FastAPI** ๐Ÿ“ฑ:
    
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/testing.md

    ## ๅˆ†็ฆปๆต‹่ฏ•
    
    ๅœจๅฎž้™…ๅบ”็”จไธญ๏ผŒไฝ ๅฏ่ƒฝไผšๆŠŠไฝ ็š„ๆต‹่ฏ•ๆ”พๅœจๅฆไธ€ไธชๆ–‡ไปถ้‡Œใ€‚
    
    ๆ‚จ็š„**FastAPI**ๅบ”็”จ็จ‹ๅบไนŸๅฏ่ƒฝ็”ฑไธ€ไบ›ๆ–‡ไปถ/ๆจกๅ—็ป„ๆˆ็ญ‰็ญ‰ใ€‚
    
    ### **FastAPI** app ๆ–‡ไปถ
    
    ๅ‡่ฎพไฝ ๆœ‰ไธ€ไธชๅƒ [ๆ›ดๅคง็š„ๅบ”็”จ](bigger-applications.md){.internal-link target=_blank} ไธญๆ‰€ๆ่ฟฐ็š„ๆ–‡ไปถ็ป“ๆž„:
    
    ```
    .
    โ”œโ”€โ”€ app
    โ”‚ย ย  โ”œโ”€โ”€ __init__.py
    โ”‚ย ย  โ””โ”€โ”€ main.py
    ```
    
    ๅœจ `main.py` ๆ–‡ไปถไธญไฝ ๆœ‰ไธ€ไธช **FastAPI** app:
    
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6K bytes
    - Viewed (0)
  7. cmd/object-api-errors.go

    func (e PartTooSmall) Error() string {
    	return fmt.Sprintf("Part size for %d should be at least 5MB", e.PartNumber)
    }
    
    // PartTooBig returned if size of part is bigger than the allowed limit.
    type PartTooBig struct{}
    
    func (e PartTooBig) Error() string {
    	return "Part size bigger than the allowed limit"
    }
    
    // InvalidETag error returned when the etag has changed on disk
    type InvalidETag struct{}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/docker.md

    COPY ./requirements.txt /app/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
    
    COPY ./app /app
    ```
    
    ### Bigger Applications
    
    If you followed the section about creating [Bigger Applications with Multiple Files](../tutorial/bigger-applications.md){.internal-link target=_blank}, your `Dockerfile` might instead look like:
    
    ```Dockerfile hl_lines="7"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 34K bytes
    - Viewed (0)
  9. docs/changelogs/changelog_4x.md

     *  Fix: Use literal IP addresses directly rather than passing them to `DnsOverHttps`.
     *  Fix: Embed Proguard rules to prevent warnings from tools like DexGuard and R8. These warnings
        were triggered by OkHttpโ€™s feature detection for TLS packages like `org.conscrypt`,
        `org.bouncycastle`, and `org.openjsse`.
     *  Upgrade: Explicitly depend on `kotlin-stdlib-jdk8`. This fixes a problem with dependency
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-rebalance.go

    	}
    	rs.Bytes += uint64(onDiskSz)
    	rs.Bucket = bucket
    	rs.Object = fi.Name
    }
    
    type rstats []*rebalanceStats
    
    //go:generate stringer -type=rebalStatus -trimprefix=rebal $GOFILE
    type rebalStatus uint8
    
    const (
    	rebalNone rebalStatus = iota
    	rebalStarted
    	rebalCompleted
    	rebalStopped
    	rebalFailed
    )
    
    type rebalanceInfo struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
Back to top