Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1181 - 1190 of 3,796 for GET (0.07 sec)

  1. tests/test_tutorial/test_configure_swagger_ui/test_tutorial002.py

    from fastapi.testclient import TestClient
    
    from docs_src.configure_swagger_ui.tutorial002 import app
    
    client = TestClient(app)
    
    
    def test_swagger_ui():
        response = client.get("/docs")
        assert response.status_code == 200, response.text
        assert (
            '"syntaxHighlight": false' not in response.text
        ), "not used parameters should not be included"
        assert (
            '"syntaxHighlight.theme": "obsidian"' in response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

            assertEquals("aaa", ((String[]) resultMap.get("foo"))[0]);
            assertEquals("bbb", ((String[]) resultMap.get("foo"))[1]);
            assertEquals("ddd", resultMap.get("bar"));
            assertEquals("fff", resultMap.get("baz"));
        }
    
        private FessFileTransformer createInstance() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

                  ImmutableList.copyOf(asMap.entrySet()).reverse(),
                  ImmutableList.copyOf(descendingMap.entrySet()));
    
              for (Range<Integer> query : RANGES) {
                assertEquals(expectedAsMap.get(query), asMap.get(query));
              }
            }
          }
        }
      }
    
    
      public void testSubRangeMap() {
        for (Range<Integer> range1 : RANGES) {
          for (Range<Integer> range2 : RANGES) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. cmd/admin-handlers-users.go

    		return
    	}
    
    	writeSuccessResponseJSON(w, econfigData)
    }
    
    // GetUserInfo - GET /minio/admin/v3/user-info
    func (a adminAPIHandlers) GetUserInfo(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	vars := mux.Vars(r)
    	name := vars["accessKey"]
    
    	// Get current object layer instance.
    	objectAPI := newObjectLayerFn()
    	if objectAPI == nil || globalNotificationSys == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/suggest/ApiAdminSuggestAction.java

    import jakarta.annotation.Resource;
    
    public class ApiAdminSuggestAction extends FessApiAdminAction {
    
        @Resource
        protected SuggestHelper suggestHelper;
    
        // GET /api/admin/suggest
        @Execute
        public JsonResponse<ApiResult> get$index() {
            final SuggestBody body = new SuggestBody();
            body.totalWordsNum = suggestHelper.getAllWordsNum();
            body.documentWordsNum = suggestHelper.getDocumentWordsNum();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. cmd/bucket-versioning-handler.go

    			Description:    "Cluster replication is enabled on this site, versioning cannot be suspended on bucket.",
    			HTTPStatusCode: http.StatusBadRequest,
    		}, r.URL)
    		return
    	}
    
    	if rcfg, _ := globalBucketObjectLockSys.Get(bucket); rcfg.LockEnabled && (v.Suspended() || v.PrefixesExcluded()) {
    		writeErrorResponse(ctx, w, APIError{
    			Code:           "InvalidBucketState",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/exentity/WebAuthentication.java

            if (Constants.NTLM.equals(getProtocolScheme())) {
                final Map<String, String> parameterMap = ParameterUtil.parse(getParameters());
                final String workstation = parameterMap.get("workstation");
                final String domain = parameterMap.get("domain");
                return new NTCredentials(getUsername(), getPassword(), workstation == null ? StringUtil.EMPTY : workstation,
                        domain == null ? StringUtil.EMPTY : domain);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/boostdoc/ApiAdminBoostdocAction.java

                    .total(pager.getAllRecordCount()).status(Status.OK).result());
        }
    
        // GET /api/admin/boostdoc/setting/{id}
        @Execute
        public JsonResponse<ApiResult> get$setting(final String id) {
            return asJson(new ApiConfigResponse()
                    .setting(boostDocumentRuleService.getBoostDocumentRule(id).map(this::createEditBody).orElseGet(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/group/ApiAdminGroupAction.java

                            .total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result());
        }
    
        // GET /api/admin/group/setting/{id}
        @Execute
        public JsonResponse<ApiResult> get$setting(final String id) {
            return asJson(new ApiResult.ApiConfigResponse().setting(groupService.getGroup(id).map(this::createEditBody).orElseGet(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java

          countReload.incrementAndGet();
          return immediateFuture(oldValue + 1);
        }
    
        public int getLoadCount() {
          return countLoad.get();
        }
    
        public int getReloadCount() {
          return countReload.get();
        }
      }
    
      static final class IdentityLoader<T> extends CacheLoader<T, T> {
        @Override
        public T load(T key) {
          return key;
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top