Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1051 - 1060 of 3,801 for getT (0.07 sec)

  1. guava/src/com/google/common/cache/ForwardingLoadingCache.java

      @Override
      protected abstract LoadingCache<K, V> delegate();
    
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this
      @Override
      public V get(K key) throws ExecutionException {
        return delegate().get(key);
      }
    
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this
      @Override
      public V getUnchecked(K key) {
        return delegate().getUnchecked(key);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/FieldUtil.java

         * @throws IllegalAccessRuntimeException
         *             基本となるフィールドにアクセスできない場合
         * @see Field#get(Object)
         */
        @SuppressWarnings("unchecked")
        public static <T> T get(final Field field) throws IllegalAccessRuntimeException {
            assertArgumentNotNull("field", field);
    
            return (T) get(field, null);
        }
    
        /**
         * 指定されたオブジェクトについて、{@link Field}によって表されるフィールドの値を返します。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. docs_src/sub_applications/tutorial001.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/app")
    def read_main():
        return {"message": "Hello World from main app"}
    
    
    subapi = FastAPI()
    
    
    @subapi.get("/sub")
    def read_sub():
        return {"message": "Hello World from sub API"}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jun 11 21:53:19 UTC 2020
    - 274 bytes
    - Viewed (0)
  4. tests/test_route_scope.py

    import pytest
    from fastapi import FastAPI, Request, WebSocket, WebSocketDisconnect
    from fastapi.routing import APIRoute, APIWebSocketRoute
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/users/{user_id}")
    async def get_user(user_id: str, request: Request):
        route: APIRoute = request.scope["route"]
        return {"user_id": user_id, "path": route.path}
    
    
    @app.websocket("/items/{item_id}")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Feb 08 10:23:07 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. docs_src/bigger_applications/app/routers/items.py

        responses={404: {"description": "Not found"}},
    )
    
    
    fake_items_db = {"plumbus": {"name": "Plumbus"}, "gun": {"name": "Portal Gun"}}
    
    
    @router.get("/")
    async def read_items():
        return fake_items_db
    
    
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        if item_id not in fake_items_db:
            raise HTTPException(status_code=404, detail="Item not found")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Nov 29 17:32:18 UTC 2020
    - 1011 bytes
    - Viewed (0)
  6. docs_src/app_testing/tutorial001.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_main():
        return {"msg": "Hello World"}
    
    
    client = TestClient(app)
    
    
    def test_read_main():
        response = client.get("/")
        assert response.status_code == 200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 334 bytes
    - Viewed (0)
  7. docs_src/path_params_numeric_validations/tutorial004.py

    from fastapi import FastAPI, Path
    
    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: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 280 bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

            if (logger.isDebugEnabled()) {
                logger.debug("[{}] thumbnail: {}", name, docMap.get(thumbnailFieldName));
            }
            if (!docMap.containsKey(thumbnailFieldName)) {
                return false;
            }
            for (final Map.Entry<String, String> entry : conditionMap.entrySet()) {
                if (docMap.get(entry.getKey()) instanceof final String value && value.matches(entry.getValue())) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/BigIntegerMath.java

        switch (end - start) {
          case 0:
            return BigInteger.ONE;
          case 1:
            return nums.get(start);
          case 2:
            return nums.get(start).multiply(nums.get(start + 1));
          case 3:
            return nums.get(start).multiply(nums.get(start + 1)).multiply(nums.get(start + 2));
          default:
            // Otherwise, split the list in half and recursively do this.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

        assertEqualIgnoringOrder(values, multimap().get(key));
    
        if (!values.isEmpty()) {
          assertEqualIgnoringOrder(values, multimap().asMap().get(key));
          assertFalse(multimap().isEmpty());
        } else {
          assertNull(multimap().asMap().get(key));
        }
    
        assertEquals(values.size(), multimap().get(key).size());
    
        assertEquals(values.size() > 0, multimap().containsKey(key));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top