Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 181 for readSize (0.08 sec)

  1. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * granted only 100ms ago, then we wait for another 100ms. At this rate, serving 15 fresh permits
       * (i.e. for an acquire(15) request) naturally takes 3 seconds.
       *
       * It is important to realize that such a RateLimiter has a very superficial memory of the past:
       * it only remembers the last request. What if the RateLimiter was unused for a long period of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  2. cmd/batch-expire_gen.go

    					return
    				}
    				z.CreatedBefore = nil
    			} else {
    				if z.CreatedBefore == nil {
    					z.CreatedBefore = new(time.Time)
    				}
    				*z.CreatedBefore, err = dc.ReadTime()
    				if err != nil {
    					err = msgp.WrapError(err, "CreatedBefore")
    					return
    				}
    			}
    		case "Tags":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/response-model.md

    ```Python hl_lines="3  5-6"
    {
        "name": "Baz",
        "description": None,
        "price": 50.2,
        "tax": 10.5,
        "tags": []
    }
    ```
    
    FastAPI is smart enough (actually, Pydantic is smart enough) to realize that, even though `description`, `tax`, and `tags` have the same values as the defaults, they were set explicitly (instead of taken from the defaults).
    
    So, they will be included in the JSON response.
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/exec/Crawler.java

                            try {
                                while (!reader.ready()) {
                                    ThreadUtil.sleep(1000L);
                                }
                                command = reader.readLine().trim();
                                if (logger.isDebugEnabled()) {
                                    logger.debug("Process command: {}", command);
                                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
  5. cmd/xl-storage-disk-id-check.go

    		return nil, err
    	}
    	defer done(0, &err)
    
    	return p.storage.ListDir(ctx, origvolume, volume, dirPath, count)
    }
    
    // Legacy API - does not have any deadlines
    func (p *xlStorageDiskIDCheck) ReadFile(ctx context.Context, volume string, path string, offset int64, buf []byte, verifier *BitrotVerifier) (n int64, err error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricReadFile, volume, path)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/dependencies/index.md

    /// check | "Checando"
    
    Perceba que você não precisa criar uma classe especial e enviar a dependência para algum outro lugar em que o **FastAPI** a "registre" ou realize qualquer operação similar.
    
    Você apenas envia para `Depends` e o **FastAPI** sabe como fazer o resto.
    
    ///
    
    ## Compartilhando dependências `Annotated`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. src/archive/zip/reader_test.go

    			path = tf
    		}
    		var rc *ReadCloser
    		rc, err = OpenReader(path)
    		if err == nil {
    			defer rc.Close()
    			z = &rc.Reader
    		}
    		var err2 error
    		raw, err2 = os.ReadFile(path)
    		if err2 != nil {
    			t.Errorf("ReadFile(%s) error=%v", path, err2)
    			return
    		}
    	}
    	if err != zt.Error {
    		t.Errorf("error=%v, want %v", err, zt.Error)
    		return
    	}
    
    	// bail if file is not zip
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            dst[++dstIndex] = (byte)(val >>= 8);
            dst[++dstIndex] = (byte)(val >>= 8);
            dst[++dstIndex] = (byte)(val >>= 8);
            dst[++dstIndex] = (byte)(val >> 8);
        }
        static long readTime( byte[] src, int srcIndex ) {
            int low = readInt4( src, srcIndex );
            int hi = readInt4( src, srcIndex + 4 );
            long t = ((long)hi << 32L ) | (low & 0xFFFFFFFFL);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/FilesTest.java

        assertThrows(NullPointerException.class, () -> Files.newReader(null, UTF_8));
    
        BufferedReader r = Files.newReader(asciiFile, US_ASCII);
        try {
          assertEquals(ASCII, r.readLine());
        } finally {
          r.close();
        }
      }
    
      public void testNewWriter() throws IOException {
        File temp = createTempFile();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                                    }
                                    String line;
                                    while ((line = br.readLine()) != null) {
                                        writer.write(line);
                                    }
                                } catch (final Exception e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25K bytes
    - Viewed (0)
Back to top