Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1161 - 1170 of 2,800 for int3 (0.02 sec)

  1. docs_src/dependencies/tutorial003_an_py310.py

    app = FastAPI()
    
    
    fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}]
    
    
    class CommonQueryParams:
        def __init__(self, q: str | None = None, skip: int = 0, limit: int = 100):
            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[Any, Depends(CommonQueryParams)]):
        response = {}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 655 bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/SipHashFunction.java

        return false;
      }
    
      @Override
      public int hashCode() {
        return (int) (getClass().hashCode() ^ c ^ d ^ k0 ^ k1);
      }
    
      private static final class SipHasher extends AbstractStreamingHasher {
        private static final int CHUNK_SIZE = 8;
    
        // The number of compression rounds.
        private final int c;
        // The number of finalization rounds.
        private final int d;
    
        // Four 64-bit words of internal state.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComCreateDirectory.java

            command = SMB_COM_CREATE_DIRECTORY;
        }
    
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            dst[dstIndex++] = (byte)0x04;
            dstIndex += writeString( path, dst, dstIndex );
    
            return dstIndex - start;
        }
        int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java

          @Override
          List<StackTraceElement> getStackTrace(Throwable t) {
            return asList(t.getStackTrace());
          }
        };
    
        boolean timeIt(int reps, int breakAt) {
          boolean dummy = false;
          for (int i = 0; i < reps; i++) {
            int f = 0;
            Throwable t = new Throwable();
            for (StackTraceElement ste : getStackTrace(t)) {
              dummy |= ste == duh;
              if (f++ == breakAt) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java

          @Override
          List<StackTraceElement> getStackTrace(Throwable t) {
            return asList(t.getStackTrace());
          }
        };
    
        boolean timeIt(int reps, int breakAt) {
          boolean dummy = false;
          for (int i = 0; i < reps; i++) {
            int f = 0;
            Throwable t = new Throwable();
            for (StackTraceElement ste : getStackTrace(t)) {
              dummy |= ste == duh;
              if (f++ == breakAt) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComRename.java

        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            SMBUtil.writeInt2(this.searchAttributes, dst, dstIndex);
            return 2;
        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            dst[ dstIndex++ ] = (byte) 0x04;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  7. 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)
  8. docs_src/body_multiple_params/tutorial004.py

    
    class User(BaseModel):
        username: str
        full_name: Union[str, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item,
        user: User,
        importance: int = Body(gt=0),
        q: Union[str, None] = None,
    ):
        results = {"item_id": item_id, "item": item, "user": user, "importance": importance}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Mar 10 18:49:18 UTC 2023
    - 653 bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

        input = Strings.repeat(text, length);
      }
    
      @Benchmark
      int charSplitter(int reps) {
        int total = 0;
    
        for (int i = 0; i < reps; i++) {
          total += Iterables.size(CHAR_SPLITTER.split(input));
        }
    
        return total;
      }
    
      @Benchmark
      int stringSplitter(int reps) {
        int total = 0;
    
        for (int i = 0; i < reps; i++) {
          total += Iterables.size(STRING_SPLITTER.split(input));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/ntlmssp/av/AvPair.java

        /**
         * EOL type
         */
        public static final int MsvAvEOL = 0x0;
    
        /**
         * Flags type
         */
        public static final int MsvAvFlags = 0x6;
    
        /**
         * Timestamp type
         */
        public static final int MsvAvTimestamp = 0x7;
    
        /**
         * Single host type
         */
        public static final int MsvAvSingleHost = 0x08;
    
        /**
         * Target name type
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.8K bytes
    - Viewed (0)
Back to top