Search Options

Results per page
Sort
Preferred Languages
Advance

Results 881 - 890 of 3,597 for qint (0.03 sec)

  1. src/test/java/jcifs/tests/RandomAccessFileTest.java

    
        private static void verifyZero ( int cnt, InputStream is ) throws IOException {
            byte[] offBuf = new byte[cnt];
            int pos = 0;
            while ( pos < cnt ) {
                int r = is.read(offBuf, pos, offBuf.length - pos);
                if ( r < 0 ) {
                    fail("EOF while reading");
                }
                pos += r;
            }
    
            for ( int i = 0; i < offBuf.length; i++ ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java

    abstract class AbstractIndexedListIterator<E extends @Nullable Object>
        extends UnmodifiableListIterator<E> {
      private final int size;
      private int position;
    
      /** Returns the element with the specified index. This method is called by {@link #next()}. */
      @ParametricNullness
      protected abstract E get(int index);
    
      /**
       * Constructs an iterator across a sequence of the given size whose initial position is 0. That
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  3. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsParseException.java

    public class ToolchainsParseException extends IOException {
    
        /**
         * The one-based index of the line containing the error.
         */
        private final int lineNumber;
    
        /**
         * The one-based index of the column containing the error.
         */
        private final int columnNumber;
    
        /**
         * Creates a new parser exception with the specified details.
         *
         * @param message The error message, may be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

     *
     * @throws IOException if a network error occurs
     */
    
        public int read( byte[] b ) throws IOException {
            return read( b, 0, b.length );
        }
    
    /**
     * Reads up to len bytes of data from this input stream into an array of bytes.
     *
     * @throws IOException if a network error occurs
     */
    
        public int read( byte[] b, int off, int len ) throws IOException {
            return readDirect(b, off, len);
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.9K bytes
    - Viewed (0)
  5. docs_src/dependencies/tutorial001_02_an_py310.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    CommonsDep = Annotated[dict, Depends(common_parameters)]
    
    
    @app.get("/items/")
    async def read_items(commons: CommonsDep):
        return commons
    
    
    @app.get("/users/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 447 bytes
    - Viewed (0)
  6. docs_src/python_types/tutorial011_py39.py

    from datetime import datetime
    from typing import Union
    
    from pydantic import BaseModel
    
    
    class User(BaseModel):
        id: int
        name: str = "John Doe"
        signup_ts: Union[datetime, None] = None
        friends: list[int] = []
    
    
    external_data = {
        "id": "123",
        "signup_ts": "2017-06-01 12:22",
        "friends": [1, "2", b"3"],
    }
    user = User(**external_data)
    print(user)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Sep 02 15:56:35 UTC 2023
    - 492 bytes
    - Viewed (0)
  7. docs_src/query_param_models/tutorial001.py

    from typing import List
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    from typing_extensions import 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: FilterParams = Query()):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 457 bytes
    - Viewed (0)
  8. docs_src/query_param_models/tutorial002_pv1_an_py310.py

    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    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
    - 487 bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        checkInitialCapacity(4, 8, 2);
      }
    
      private static void checkInitialCapacity(
          int concurrencyLevel, int initialCapacity, int segmentSize) {
        MapMakerInternalMap<Object, Object, ?, ?> map =
            makeMap(
                createMapMaker().concurrencyLevel(concurrencyLevel).initialCapacity(initialCapacity));
        for (int i = 0; i < map.segments.length; i++) {
          assertEquals(segmentSize, map.segments[i].table.length());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        checkInitialCapacity(4, 8, 2);
      }
    
      private static void checkInitialCapacity(
          int concurrencyLevel, int initialCapacity, int segmentSize) {
        MapMakerInternalMap<Object, Object, ?, ?> map =
            makeMap(
                createMapMaker().concurrencyLevel(concurrencyLevel).initialCapacity(initialCapacity));
        for (int i = 0; i < map.segments.length; i++) {
          assertEquals(segmentSize, map.segments[i].table.length());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top