Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 2,339 for Tresults (0.33 sec)

  1. docs_src/query_params_str_validations/tutorial002_an_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Annotated[str | None, Query(max_length=50)] = None):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 309 bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc

    // captured resource typed value is used for all region results, then that value
    // is forwared to the result and the result is dropped.
    LogicalResult CanonicalizeRegionIfCaseCluster(Operation *op) {
      // Check if the same value is used for all region results for this output.
      bool has_resource_result = false;
      for (OpResult result : op->getResults()) {
        if (!IsResource(result)) continue;
        has_resource_result = true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stdmethods/stdmethods.go

    		return
    	}
    
    	// Everything must match.
    	if !matchParams(pass, expect.args, args, "") || !matchParams(pass, expect.results, results, "") {
    		expectFmt := id.Name + "(" + argjoin(expect.args) + ")"
    		if len(expect.results) == 1 {
    			expectFmt += " " + argjoin(expect.results)
    		} else if len(expect.results) > 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  4. docs_src/path_params_numeric_validations/tutorial004.py

    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        *, item_id: int = Path(title="The ID of the item to get", ge=1), q: str
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 280 bytes
    - Viewed (0)
  5. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/report/DefaultTestReport.java

    import org.gradle.api.Action;
    import org.gradle.api.GradleException;
    import org.gradle.api.internal.tasks.testing.junit.result.TestClassResult;
    import org.gradle.api.internal.tasks.testing.junit.result.TestFailure;
    import org.gradle.api.internal.tasks.testing.junit.result.TestMethodResult;
    import org.gradle.api.internal.tasks.testing.junit.result.TestResultsProvider;
    import org.gradle.api.logging.Logger;
    import org.gradle.api.logging.Logging;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 12:58:15 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. docs_src/body_multiple_params/tutorial001_an.py

        q: Union[str, None] = None,
        item: Union[Item, None] = None,
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if item:
            results.update({"item": item})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 639 bytes
    - Viewed (0)
  7. docs_src/body_multiple_params/tutorial004.py

        *,
        item_id: int,
        item: Item,
        user: User,
        importance: int = Body(gt=0),
        q: Union[str, None] = None,
    ):
        results = {"item_id": item_id, "item": item, "user": user, "importance": importance}
        if q:
            results.update({"q": q})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 10 18:49:18 UTC 2023
    - 653 bytes
    - Viewed (0)
  8. docs_src/query_params_str_validations/tutorial009_an_py39.py

    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Annotated[Union[str, None], Query(alias="item-query")] = None):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 327 bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/TestReport.java

                Test test = (Test) result;
                dirs.from(test.getBinaryResultsDirectory());
            } else if (result instanceof Iterable<?>) {
                Iterable<?> iterable = (Iterable<?>) result;
                for (Object nested : iterable) {
                    addTo(nested, dirs);
                }
            } else {
                dirs.from(result);
            }
        }
    
        /**
         * Adds some results to include in the report.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-spi.h

      };
    
      // The c'tor sets this object as the test part result reporter used
      // by Google Test.  The 'result' parameter specifies where to report the
      // results. This reporter will only catch failures generated in the current
      // thread. DEPRECATED
      explicit ScopedFakeTestPartResultReporter(TestPartResultArray* result);
    
      // Same as above, but you can choose the interception scope of this object.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top