Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 340 for _offsets (0.09 sec)

  1. docs_src/query_param_models/tutorial001_an.py

    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    from typing_extensions import Annotated, Literal
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: List[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: Annotated[FilterParams, Query()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 478 bytes
    - Viewed (0)
  2. docs_src/query_param_models/tutorial002_pv1_an_py39.py

    from typing_extensions import Annotated, Literal
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        class Config:
            extra = "forbid"
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: Annotated[FilterParams, Query()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 497 bytes
    - Viewed (0)
  3. docs_src/query_param_models/tutorial002_pv1_py39.py

    from typing_extensions import Literal
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        class Config:
            extra = "forbid"
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: FilterParams = Query()):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 476 bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableAsList.java

        return (UnmodifiableListIterator<E>) delegateList.listIterator(index);
      }
    
      @GwtIncompatible // not present in emulated superclass
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        return delegateList.copyIntoArray(dst, offset);
      }
    
      @Override
      @CheckForNull
      @Nullable
      Object[] internalArray() {
        return delegateList.internalArray();
      }
    
      @Override
      int internalArrayStart() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableList.java

        return new SubList(fromIndex, toIndex - fromIndex);
      }
    
      class SubList extends ImmutableList<E> {
        final transient int offset;
        final transient int length;
    
        SubList(int offset, int length) {
          this.offset = offset;
          this.length = length;
        }
    
        @Override
        public int size() {
          return length;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

            protected int pageRangeSize;
    
            public PagingList(final List<E> list, final int offset, final int size, final int allRecordCount) {
                parent = list;
                this.allRecordCount = allRecordCount;
                pageSize = size;
                currentPageNumber = offset / size + 1;
                allPageCount = (allRecordCount - 1) / size + 1;
            }
    
            @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. docs_src/query_param_models/tutorial002_pv1.py

    from typing_extensions import Literal
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        class Config:
            extra = "forbid"
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: List[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: FilterParams = Query()):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 501 bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableCollection.java

      /**
       * Copies the contents of this immutable collection into the specified array at the specified
       * offset. Returns {@code offset + size()}.
       */
      @CanIgnoreReturnValue
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        for (E e : this) {
          dst[offset++] = e;
        }
        return offset;
      }
    
      @J2ktIncompatible // serialization
      @GwtIncompatible // serialization
      Object writeReplace() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 16:59:15 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

                    buf = new StringBuilder();
                }
            }
    
            @Override
            public void characters(final char[] ch, final int offset, final int length) {
                if (buf != null) {
                    buf.append(new String(ch, offset, length));
                }
            }
    
            @Override
            public void endElement(final String uri, final String localName, final String qName) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

         *
         * @param value the content to append
         * @param offset the index of the first {@code char} to append
         * @param len the number of {@code char}s to append
         * @return the current builder
         */
        @Nonnull
        default MessageBuilder a(char[] value, int offset, int len) {
            return append(String.valueOf(value, offset, len));
        }
    
        /**
         * Append content to the message buffer.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Nov 02 09:29:52 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top