Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 880 for def2 (0.02 seconds)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProviderTest.java

            FessActionAdjustmentProvider provider = new FessActionAdjustmentProvider(fessConfig);
            final Map<String, String> headerMap = new HashMap<>();
            provider.adjustActionResponseHeaders("application/xml", (k, v) -> headerMap.put(k, v));
            assertEquals(2, headerMap.size());
            assertEquals("def", headerMap.get("X-Def"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 4K bytes
    - Click Count (0)
  2. src/cmd/asm/internal/asm/testdata/amd64enc.s

    	FDIVD F2, F0                            // d8f2
    	FDIVD F3, F0                            // d8f3
    	FDIVD F0, F2                            // dcfa or dcf2
    	FDIVD F0, F3                            // dcfb or dcf3
    	FDIVD (BX), F0                          // d833 or dc33
    	FDIVD (R11), F0                         // 41d833 or 41dc33
    	//TODO: FDIVRP F0, F2                   // defa
    	//TODO: FDIVRP F0, F3                   // defb
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Oct 08 21:38:44 GMT 2021
    - 581.9K bytes
    - Click Count (1)
  3. tests/test_response_model_include_exclude.py

    def mixed():
        return Model3(
            name="mixed model3 name",
            age=3,
            ref2=Model2(
                ref=Model1(foo="mixed model foo", bar="mixed model bar"),
                baz="mixed model2 baz",
            ),
        )
    
    
    @app.get(
        "/mixed_dict",
        response_model=Model3,
        response_model_include={"ref2", "name"},
        response_model_exclude={"ref2": {"baz"}},
    )
    def mixed_dict():
        return {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Jul 19 19:14:58 GMT 2021
    - 4K bytes
    - Click Count (0)
  4. tests/test_repeated_dependency_schema.py

    from inline_snapshot import snapshot
    
    app = FastAPI()
    
    
    def get_header(*, someheader: str = Header()):
        return someheader
    
    
    def get_something_else(*, someheader: str = Depends(get_header)):
        return f"{someheader}123"
    
    
    @app.get("/")
    def get_deps(dep1: str = Depends(get_header), dep2: str = Depends(get_something_else)):
        return {"dep1": dep1, "dep2": dep2}
    
    
    client = TestClient(app)
    
    
    def test_response():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 4K bytes
    - Click Count (0)
  5. tensorflow/c/eager/c_api_test.cc

      TFE_Execute(fn1, retval, &num_retvals, status);
      EXPECT_EQ(TF_INTERNAL, TF_GetCode(status)) << TF_Message(status);
      TFE_DeleteOp(fn1);
    
      const string& fdef2 = FunctionWithErrorOp("TestCommUnavailable");
      TFE_ContextAddFunctionDef(ctx, fdef2.data(), fdef2.size(), status);
      TFE_Op* fn2 = TFE_NewOp(ctx, "FunctionWithTestCommUnavailable", status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 94.6K bytes
    - Click Count (0)
  6. fastapi/openapi/models.py

        ref: str | None = Field(default=None, alias="$ref")
        dynamicRef: str | None = Field(default=None, alias="$dynamicRef")
        defs: dict[str, "SchemaOrBool"] | None = Field(default=None, alias="$defs")
        comment: str | None = Field(default=None, alias="$comment")
        # Ref: JSON Schema 2020-12: https://json-schema.org/draft/2020-12/json-schema-core.html#name-a-vocabulary-for-applying-s
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  7. tensorflow/BUILD

            # copybara:uncomment_end
            "//conditions:default": [
                "-z defs",
                "-Wl,--version-script,$(location //tensorflow/c:version_script.lds)",
            ],
        }),
        per_os_targets = True,
        soversion = VERSION,
        visibility = ["//visibility:public"],
        # copybara:comment_begin(OSS Windows only: DEF file for exported symbols)
        win_def_file = select({
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Mar 24 21:00:18 GMT 2026
    - 53.1K bytes
    - Click Count (0)
  8. docs/ko/docs/async.md

    ### 다른 유틸리티 함수 { #other-utility-functions }
    
    직접 호출하는 다른 모든 유틸리티 함수는 일반 `def`나 `async def`로 생성될 수 있으며, FastAPI는 호출 방식에 영향을 주지 않습니다.
    
    이는 FastAPI가 여러분을 위해 호출하는 함수(즉, *경로 처리 함수*와 의존성)와 대비됩니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  9. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsTest.groovy

        def format = new SimpleDateFormat('yyyyMMddHHmmssZ')
    
        def setup() {
            format.timeZone = TimeZone.getTimeZone("UTC")
        }
    
        def "final release is added to list"() {
            def snapshot = snapshot('4.3')
            def rc = releasedVersion('4.3-rc-1')
            def versions = releasedVersions(snapshot, rc, [])
            def version = new ReleasedVersion('4.2', '20170913122310+0000')
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:47:12 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  10. tests/benchmarks/test_general_performance.py

    
    @app.post("/sync/validated", response_model=ItemOut)
    def sync_validated(item: ItemIn, dep: Annotated[int, Depends(dep_b)]):
        return ItemOut(name=item.name, value=item.value, dep=dep)
    
    
    @app.get("/sync/dict-no-response-model")
    def sync_dict_no_response_model():
        return {"name": "foo", "value": 123}
    
    
    @app.get("/sync/dict-with-response-model", response_model=ItemOut)
    def sync_dict_with_response_model(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Dec 26 20:40:26 GMT 2025
    - 11.1K bytes
    - Click Count (0)
Back to Top