Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for some_value (0.39 seconds)

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

  1. tests/test_dependency_pep695.py

    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    from typing_extensions import TypeAliasType
    
    
    async def some_value() -> int:
        return 123
    
    
    DependedValue = TypeAliasType(
        "DependedValue", Annotated[int, Depends(some_value)], type_params=()
    )
    
    
    def test_pep695_type_dependencies():
        app = FastAPI()
    
        @app.get("/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 18:34:34 GMT 2026
    - 628 bytes
    - Click Count (0)
  2. tests/test_param_include_in_schema.py

                "/hidden_cookie",
                {},
                200,
                {"hidden_cookie": None},
            ),
            (
                "/hidden_cookie",
                {"hidden_cookie": "somevalue"},
                200,
                {"hidden_cookie": "somevalue"},
            ),
        ],
    )
    def test_hidden_cookie(path, cookies, expected_status, expected_response):
        client = TestClient(app, cookies=cookies)
        response = client.get(path)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

        emptyAccumulatorByAddAllEmptyStats.addAll(Stats.of());
    
        oneValueAccumulator = new StatsAccumulator();
        oneValueAccumulator.add(ONE_VALUE);
    
        oneValueAccumulatorByAddAllEmptyStats = new StatsAccumulator();
        oneValueAccumulatorByAddAllEmptyStats.add(ONE_VALUE);
        oneValueAccumulatorByAddAllEmptyStats.addAll(Stats.of());
    
        twoValuesAccumulator = new StatsAccumulator();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 37.1K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/math/StatsTest.java

        assertThrows(IllegalArgumentException.class, Stats::meanOf);
        assertThrows(IllegalArgumentException.class, () -> Stats.meanOf(ImmutableList.<Number>of()));
        assertThat(Stats.meanOf(ONE_VALUE)).isWithin(ALLOWED_ERROR).of(ONE_VALUE);
        assertThat(Stats.meanOf(POSITIVE_INFINITY)).isPositiveInfinity();
        assertThat(Stats.meanOf(NEGATIVE_INFINITY)).isNegativeInfinity();
        assertThat(Stats.meanOf(NaN)).isNaN();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 33.4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

        emptyAccumulatorByAddAllEmptyStats.addAll(Stats.of());
    
        oneValueAccumulator = new StatsAccumulator();
        oneValueAccumulator.add(ONE_VALUE);
    
        oneValueAccumulatorByAddAllEmptyStats = new StatsAccumulator();
        oneValueAccumulatorByAddAllEmptyStats.add(ONE_VALUE);
        oneValueAccumulatorByAddAllEmptyStats.addAll(Stats.of());
    
        twoValuesAccumulator = new StatsAccumulator();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 37.1K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

        oneValueAccumulator = new PairedStatsAccumulator();
        oneValueAccumulator.add(ONE_VALUE, OTHER_ONE_VALUE);
    
        oneValueAccumulatorByAddAllEmptyPairedStats = new PairedStatsAccumulator();
        oneValueAccumulatorByAddAllEmptyPairedStats.add(ONE_VALUE, OTHER_ONE_VALUE);
        oneValueAccumulatorByAddAllEmptyPairedStats.addAll(emptyAccumulator.snapshot());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 23.5K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/math/StatsTesting.java

        for (double y : OTHER_MANY_VALUES) {
          accumulator.add(ONE_VALUE, y);
        }
        return accumulator.snapshot();
      }
    
      private static PairedStats buildConstantValuesPairedStats() {
        PairedStatsAccumulator accumulator = new PairedStatsAccumulator();
        for (int i = 0; i < MANY_VALUES_COUNT; ++i) {
          accumulator.add(ONE_VALUE, OTHER_ONE_VALUE);
        }
        return accumulator.snapshot();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 24K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/math/StatsTesting.java

        for (double y : OTHER_MANY_VALUES) {
          accumulator.add(ONE_VALUE, y);
        }
        return accumulator.snapshot();
      }
    
      private static PairedStats buildConstantValuesPairedStats() {
        PairedStatsAccumulator accumulator = new PairedStatsAccumulator();
        for (int i = 0; i < MANY_VALUES_COUNT; ++i) {
          accumulator.add(ONE_VALUE, OTHER_ONE_VALUE);
        }
        return accumulator.snapshot();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 24K bytes
    - Click Count (0)
  9. cmd/signature-v4-utils_test.go

    		{"", "", "X-Amz-Credential", "", true},
    
    		// Test case - 5.
    		// Enabling PreSigned Signature v4, but X-Amz-Content-Sha256 set and its not UNSIGNED-PAYLOAD, we shouldn't skip.
    		{"X-Amz-Content-Sha256", "somevalue", "X-Amz-Credential", "", false},
    
    		// Test case - 6.
    		// Test case with "X-Amz-Content-Sha256" header set to  "UNSIGNED-PAYLOAD" and its not presigned, we should skip.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 14.3K bytes
    - Click Count (0)
Back to Top