Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 250 for perf (0.15 sec)

  1. internal/disk/directio_unix.go

    // ODirectPlatform indicates if the platform supports O_DIRECT
    const ODirectPlatform = true
    
    // OpenFileDirectIO - bypass kernel cache.
    func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) {
    	return directio.OpenFile(filePath, flag, perm)
    }
    
    // DisableDirectIO - disables directio mode.
    func DisableDirectIO(f *os.File) error {
    	fd := f.Fd()
    	flag, err := unix.FcntlInt(fd, unix.F_GETFL, 0)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jun 17 14:31:36 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        List<Integer> expected = createOrderedList(size);
        for (Collection<Integer> perm : Collections2.permutations(expected)) {
          for (int i = 0; i < perm.size(); i++) {
            MinMaxPriorityQueue<Integer> q = MinMaxPriorityQueue.create(perm);
            q.removeAt(i);
            assertIntactUsingStartedWith(perm, q);
          }
        }
      }
    
      /** Regression test for bug found. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

            HTTP_OK,
            HTTP_NOT_AUTHORITATIVE,
            HTTP_NO_CONTENT,
            HTTP_MULT_CHOICE,
            HTTP_MOVED_PERM,
            HTTP_NOT_FOUND,
            HTTP_BAD_METHOD,
            HTTP_GONE,
            HTTP_REQ_TOO_LONG,
            HTTP_NOT_IMPLEMENTED,
            HTTP_PERM_REDIRECT,
            -> {
              // These codes can be cached unless headers forbid it.
            }
    
            HTTP_MOVED_TEMP,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  4. internal/disk/directio_unsupported.go

    // https://github.com/openzfs/zfs/commit/a584ef26053065f486d46a7335bea222cb03eeea
    
    // OpenFileDirectIO wrapper around os.OpenFile nothing special
    func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) {
    	return os.OpenFile(filePath, flag, perm)
    }
    
    // DisableDirectIO is a no-op
    func DisableDirectIO(f *os.File) error {
    	return nil
    }
    
    // AlignedBlock simply returns an unaligned buffer
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/index.md

    # Tutorial - Guía de Usuario
    
    Este tutorial te muestra cómo usar **FastAPI** con la mayoría de sus características paso a paso.
    
    Cada sección se basa gradualmente en las anteriores, pero está estructurada en temas separados, así puedes ir directamente a cualquier tema en concreto para resolver tus necesidades específicas sobre la API.
    
    Funciona también como una referencia futura, para que puedas volver y ver exactamente lo que necesitas.
    
    ## Ejecuta el código
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  6. cmd/metrics-v3-system-drive.go

    	driveCount        = "count"
    
    	// iostat related
    	driveReadsPerSec    = "reads_per_sec"
    	driveReadsKBPerSec  = "reads_kb_per_sec"
    	driveReadsAwait     = "reads_await"
    	driveWritesPerSec   = "writes_per_sec"
    	driveWritesKBPerSec = "writes_kb_per_sec"
    	driveWritesAwait    = "writes_await"
    	drivePercUtil       = "perc_util"
    )
    
    var (
    	driveUsedBytesMD = NewGaugeMD(driveUsedBytes,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  7. cmd/endpoint-ellipses.go

    	argPatterns := make([]ellipses.ArgPattern, len(args))
    	for i, arg := range args {
    		patterns, perr := ellipses.FindEllipsesPatterns(arg)
    		if perr != nil {
    			return endpointSet{}, config.ErrInvalidErasureEndpoints(nil).Msg(perr.Error())
    		}
    		argPatterns[i] = patterns
    	}
    
    	ep.setIndexes, err = getSetIndexes(args, getTotalSizes(argPatterns), setDriveCount, argPatterns)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  8. src/archive/tar/strconv.go

    	// spaces or NULs.
    	// So we remove leading and trailing NULs and spaces to
    	// be sure.
    	b = bytes.Trim(b, " \x00")
    
    	if len(b) == 0 {
    		return 0
    	}
    	x, perr := strconv.ParseUint(p.parseString(b), 8, 64)
    	if perr != nil {
    		p.err = ErrHeader
    	}
    	return int64(x)
    }
    
    func (f *formatter) formatOctal(b []byte, x int64) {
    	if !fitsInOctal(len(b), x) {
    		x = 0 // Last resort, just write zero
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        List<Integer> expected = createOrderedList(size);
        for (Collection<Integer> perm : Collections2.permutations(expected)) {
          for (int i = 0; i < perm.size(); i++) {
            MinMaxPriorityQueue<Integer> q = MinMaxPriorityQueue.create(perm);
            q.removeAt(i);
            assertIntactUsingStartedWith(perm, q);
          }
        }
      }
    
      /** Regression test for bug found. */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/PatternCompiler.java

          allowedOnPath = ".*/com/google/common/base/.*")
      CommonPattern compile(String pattern);
    
      /**
       * Returns {@code true} if the regex implementation behaves like Perl -- notably, by supporting
       * possessive quantifiers but also being susceptible to catastrophic backtracking.
       */
      @RestrictedApi(
          explanation = "PatternCompiler is an implementation detail of com.google.common.base",
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 1.7K bytes
    - Viewed (0)
Back to top