Search Options

Results per page
Sort
Preferred Languages
Advance

Results 831 - 840 of 3,801 for getK (0.02 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

            }
    
            throwValidationErrorApi(messages -> messages.addErrorsInvalidQueryUnknown(GLOBAL));
            return null; // ignore
        }
    
        // GET /api/admin/searchlist/doc/{doc_id}
        @Execute
        public JsonResponse<ApiResult> get$doc(final String id) {
            return asJson(new ApiDocResponse().doc(searchEngineClient.getDocument(fessConfig.getIndexDocumentUpdateIndex(), builder -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java

          for (V value : sampleValues()) {
            resetContainer();
    
            List<V> values = multimap().get(key);
            List<V> expectedValues = copyToList(values);
    
            assertTrue(multimap().put(key, value));
            expectedValues.add(value);
    
            assertGet(key, expectedValues);
            assertEquals(value, values.get(values.size() - 1));
          }
        }
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. tests/test_custom_schema_fields.py

            }
        },
    }
    
    
    def test_custom_response_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json()["components"]["schemas"]["Item"] == item_schema
    
    
    def test_response():
        # For coverage
        response = client.get("/foo")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. docs_src/path_params_numeric_validations/tutorial001_py310.py

    from fastapi import FastAPI, Path, Query
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        item_id: int = Path(title="The ID of the item to get"),
        q: str | None = Query(default=None, alias="item-query"),
    ):
        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
    - 332 bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/FluentFuture.java

       * that {@link #get} calls exactly the implementation of {@link AbstractFuture#get}.
       */
      abstract static class TrustedFuture<V extends @Nullable Object> extends FluentFuture<V>
          implements AbstractFuture.Trusted<V> {
        @CanIgnoreReturnValue
        @Override
        @ParametricNullness
        public final V get() throws InterruptedException, ExecutionException {
          return super.get();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java

        private static final Logger logger = LogManager.getLogger(ApiAdminDictKuromojiAction.class);
    
        @Resource
        private KuromojiService kuromojiService;
    
        // GET /api/admin/dict/kuromoji/settings/{dictId}
        @Execute
        public JsonResponse<ApiResult> get$settings(final String dictId, final SearchBody body) {
            body.dictId = dictId;
            validateApi(body, messages -> {});
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractMultimap.java

        Collection<V> collection = asMap().get(key);
        return collection != null && collection.contains(value);
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean remove(@CheckForNull Object key, @CheckForNull Object value) {
        Collection<V> collection = asMap().get(key);
        return collection != null && collection.remove(value);
      }
    
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  8. tests/test_router_events.py

        app = FastAPI(lifespan=lifespan)
    
        @app.get("/")
        def main() -> Dict[str, str]:
            return {"message": "Hello World"}
    
        assert state.app_startup is False
        assert state.app_shutdown is False
        with TestClient(app) as client:
            assert state.app_startup is True
            assert state.app_shutdown is False
            response = client.get("/")
            assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 24 19:09:52 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                    final Map<String, Object> doc = docList.get(j);
                    if (doc.get(idField) instanceof final String id) {
                        final float score = 1.0f / (rankConstant + j);
                        if (scoreDocMap.containsKey(id)) {
                            final Map<String, Object> baseDoc = scoreDocMap.get(id);
                            final float oldScore = toFloat(baseDoc.get(scoreField));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractMultimap.java

        Collection<V> collection = asMap().get(key);
        return collection != null && collection.contains(value);
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean remove(@CheckForNull Object key, @CheckForNull Object value) {
        Collection<V> collection = asMap().get(key);
        return collection != null && collection.remove(value);
      }
    
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 7.1K bytes
    - Viewed (0)
Back to top