Search Options

Results per page
Sort
Preferred Languages
Advance

Results 931 - 940 of 1,542 for ifndef (0.11 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ListIndexOfTester.java

        E[] array = createSamplesArray();
        array[getNumElements() / 2] = e0();
        collection = getSubjectGenerator().create(array);
        assertEquals(
            "indexOf(duplicate) should return index of first occurrence", 0, getList().indexOf(e0()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. cmd/rebalstatus_string.go

    // Code generated by "stringer -type=rebalStatus -trimprefix=rebal erasure-server-pool-rebalance.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[rebalNone-0]
    	_ = x[rebalStarted-1]
    	_ = x[rebalCompleted-2]
    	_ = x[rebalStopped-3]
    	_ = x[rebalFailed-4]
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 19:36:57 UTC 2022
    - 795 bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/query-params-str-validations.md

    ... denn es wird nicht klar, ob der Defaultwert `"rick"` oder `"morty"` sein soll.
    
    Sie würden also (bevorzugt) schreiben:
    
    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    In älterem Code werden Sie auch finden:
    
    ```Python
    q: str = Query(default="rick")
    ```
    
    ### Vorzüge von `Annotated`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-rebalance.go

    	}
    	if ok {
    		return z.rebalMeta.save(ctx, z.serverPools[0])
    	}
    
    	return nil
    }
    
    func (z *erasureServerPools) findIndex(index int) int {
    	if z.rebalMeta == nil {
    		return 0
    	}
    	for i := 0; i < len(z.rebalMeta.PoolStats); i++ {
    		if i == index {
    			return index
    		}
    	}
    	return -1
    }
    
    // initRebalanceMeta initializes rebalance metadata for a new rebalance
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/static-files.md

    You can read more about this in the [Advanced User Guide](../advanced/index.md){.internal-link target=_blank}.
    
    ## Details
    
    The first `"/static"` refers to the sub-path this "sub-application" will be "mounted" on. So, any path that starts with `"/static"` will be handled by it.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:45:40 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. docs/de/docs/how-to/conditional-openapi.md

    Und dann verwenden wir das beim Erstellen der `FastAPI`-App.
    
    Dann könnten Sie OpenAPI (einschließlich der Dokumentationsoberflächen) deaktivieren, indem Sie die Umgebungsvariable `OPENAPI_URL` auf einen leeren String setzen, wie zum Beispiel:
    
    <div class="termy">
    
    ```console
    $ OPENAPI_URL= uvicorn main:app
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/logout/LogoutAction.java

        //                                                                      Search Execute
        //                                                                      ==============
    
        @Execute
        public HtmlResponse index() {
            final OptionalThing<FessUserBean> userBean = getUserBean();
            activityHelper.logout(userBean);
            final String redirectUrl = userBean.map(user -> ComponentUtil.getSsoManager().logout(user)).orElse(null);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListGetTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListGetTester<E> extends AbstractListTester<E> {
      public void testGet_valid() {
        // This calls get() on each index and checks the result:
        expectContents(createOrderedArray());
      }
    
      public void testGet_negative() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().get(-1));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. docs/ko/docs/features.md

    ![Swagger UI interaction](https://fastapi.tiangolo.com/img/index/index-03-swagger-02.png)
    
    * <a href="https://github.com/Rebilly/ReDoc" class="external-link" target="_blank"><strong>ReDoc</strong></a>을 이용해 API 문서화를 대체할 수 있습니다.
    
    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-06-redoc-02.png)
    
    ### 그저 현대 파이썬
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/suggest/ApiAdminSuggestAction.java

    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)
Back to top