Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 6,449 for _return (0.1 sec)

  1. guava/src/com/google/common/cache/CacheStats.java

       * implementing your own stats collector.
       */
      public long requestCount() {
        return saturatedAdd(hitCount, missCount);
      }
    
      /** Returns the number of times {@link Cache} lookup methods have returned a cached value. */
      public long hitCount() {
        return hitCount;
      }
    
      /**
       * Returns the ratio of cache requests which were hits. This is defined as {@code hitCount /
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Authenticator.kt

     *   while ((response = response.priorResponse()) != null) {
     *     result++;
     *   }
     *   return result;
     * }
     * ```
     *
     * [1]: https://tools.ietf.org/html/rfc2817
     */
    fun interface Authenticator {
      /**
       * Returns a request that includes a credential to satisfy an authentication challenge in
       * [response]. Returns null if the challenge cannot be satisfied.
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. cmd/handler-utils.go

    		}
    		bucket := strings.TrimSuffix(xhost.Name, "."+domain)
    		return SlashSeparator + pathJoin(bucket, path), nil
    	}
    	return path, nil
    }
    
    var regexVersion = regexp.MustCompile(`^/minio.*/(v\d+)/.*`)
    
    func extractAPIVersion(r *http.Request) string {
    	if matches := regexVersion.FindStringSubmatch(r.URL.Path); len(matches) > 1 {
    		return matches[1]
    	}
    	return "unknown"
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Utf8.java

          if (bytes[i] < 0) {
            return isWellFormedSlowPath(bytes, i, end);
          }
        }
        return true;
      }
    
      private static boolean isWellFormedSlowPath(byte[] bytes, int off, int end) {
        int index = off;
        while (true) {
          int byte1;
    
          // Optimize for interior runs of ASCII bytes.
          do {
            if (index >= end) {
              return true;
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v1_gen.go

    	if err != nil {
    		return
    	}
    	if zb0001Len == 0 {
    		return
    	}
    	// write "e"
    	err = en.Append(0xa1, 0x65)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.ETag)
    	if err != nil {
    		err = msgp.WrapError(err, "ETag")
    		return
    	}
    	// write "n"
    	err = en.Append(0xa1, 0x6e)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.Number)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  6. cmd/data-scanner-metric.go

    	p.currentPaths.Range(func(k, v interface{}) bool {
    		i++
    		return true
    	})
    	return i
    }
    
    // lifetime returns the lifetime count of the specified metric.
    func (p *scannerMetrics) lifetime(m scannerMetric) uint64 {
    	if m >= scannerMetricLast {
    		return 0
    	}
    	val := atomic.LoadUint64(&p.operations[m])
    	return val
    }
    
    // lastMinute returns the last minute statistics of a metric.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 25 05:15:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

              return openJSSE
            }
          }
    
          // An Oracle JDK 9 like OpenJDK, or JDK 8 251+.
          val jdk9 = Jdk9Platform.buildIfSupported()
    
          if (jdk9 != null) {
            return jdk9
          }
    
          // An Oracle JDK 8 like OpenJDK, pre 251.
          val jdkWithJettyBoot = Jdk8WithJettyBootPlatform.buildIfSupported()
    
          if (jdkWithJettyBoot != null) {
            return jdkWithJettyBoot
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

     */
    
        public int getContentLength() {
            try {
                return (int)(length() & 0xFFFFFFFFL);
            } catch( SmbException se ) {
            }
            return 0;
        }
    
    /**
     * This URLConnection method just returns the result of <tt>lastModified</tt>.
     *
     * @return the last modified data as milliseconds since Jan 1, 1970
     */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/LongAdder.java

        return sum();
      }
    
      /** Returns the {@link #sum} as an {@code int} after a narrowing primitive conversion. */
      @Override
      public int intValue() {
        return (int) sum();
      }
    
      /** Returns the {@link #sum} as a {@code float} after a widening primitive conversion. */
      @Override
      public float floatValue() {
        return (float) sum();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/LongAdder.java

        return sum();
      }
    
      /** Returns the {@link #sum} as an {@code int} after a narrowing primitive conversion. */
      @Override
      public int intValue() {
        return (int) sum();
      }
    
      /** Returns the {@link #sum} as a {@code float} after a widening primitive conversion. */
      @Override
      public float floatValue() {
        return (float) sum();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.4K bytes
    - Viewed (0)
Back to top