Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 165 for SUM (0.01 sec)

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

            max(0, saturatedSubtract(totalLoadTime, other.totalLoadTime)),
            max(0, saturatedSubtract(evictionCount, other.evictionCount)));
      }
    
      /**
       * Returns a new {@code CacheStats} representing the sum of this {@code CacheStats} and {@code
       * other}.
       *
       * <p><b>Note:</b> the values of the metrics are undefined in case of overflow (though it is
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheStats.java

            max(0, saturatedSubtract(totalLoadTime, other.totalLoadTime)),
            max(0, saturatedSubtract(evictionCount, other.evictionCount)));
      }
    
      /**
       * Returns a new {@code CacheStats} representing the sum of this {@code CacheStats} and {@code
       * other}.
       *
       * <p><b>Note:</b> the values of the metrics are undefined in case of overflow (though it is
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * acquire(1); acquire(1); acquire(1); }, or { acquire(2); acquire(1); }, etc, since the integral
       * of the function in [7.0, 10.0] is equivalent to the sum of the integrals of [7.0, 8.0], [8.0,
       * 9.0], [9.0, 10.0] (and so on), no matter what the function is. This guarantees that we handle
       * correctly requests of varying weight (permits), /no matter/ what the actual function is - so we
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. internal/event/target/elasticsearch.go

    			if target.client.isAtleastV7() {
    				hh, _ := highwayhash.New(magicHighwayHash256Key) // New will never return error since key is 256 bit
    				hh.Write([]byte(key))
    				hashBytes := hh.Sum(nil)
    				keyHash = base64.URLEncoding.EncodeToString(hashBytes)
    			} else {
    				keyHash = key
    			}
    		}
    
    		if eventData.EventName == event.ObjectRemovedDelete {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 15K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/MultiChannelManager.java

         */
        public ChannelStatistics getStatistics() {
            return new ChannelStatistics(sessionChannels.size(),
                    sessionChannels.values().stream().mapToInt(ChannelGroup::getChannelCount).sum(), totalRequests.get(),
                    totalChannelsCreated.get());
        }
    
        /**
         * Channel statistics.
         */
        public static class ChannelStatistics {
            private final int activeSessions;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. internal/config/identity/plugin/config.go

    	if roleID == "" {
    		// We use a hash of the plugin URL so that the ARN remains
    		// constant across restarts.
    		h := sha1.New()
    		h.Write([]byte(pluginURL))
    		bs := h.Sum(nil)
    		resourceID += base64.RawURLEncoding.EncodeToString(bs)
    	} else {
    		// Check that the roleID is restricted to URL safe characters
    		// (base64 URL encoding chars).
    		if !validRoleIDRegex.MatchString(roleID) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  7. cmd/endpoint-ellipses.go

    		h := xxhash.New()
    		for _, s := range setArgs {
    			for _, d := range s {
    				h.WriteString(d)
    			}
    		}
    
    		layout.pools = append(layout.pools, poolDisksLayout{
    			cmdline: fmt.Sprintf("hash:%x", h.Sum(nil)),
    			layout:  setArgs,
    		})
    	}
    	return layout, err
    }
    
    // mergeDisksLayoutFromArgs supports with and without ellipses transparently.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

     * <Long>}:
     *
     * <ul>
     *   <li>Improved memory compactness and locality.
     *   <li>Can be queried without allocating garbage.
     *   <li>Access to {@code LongStream} features (like {@link LongStream#sum}) using {@code stream()}
     *       instead of the awkward {@code stream().mapToLong(v -> v)}.
     * </ul>
     *
     * <p>Disadvantages compared to {@code ImmutableList<Long>}:
     *
     * <ul>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 14:49:24 UTC 2025
    - 22K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/ImmutableIntArray.java

     * <Integer>}:
     *
     * <ul>
     *   <li>Improved memory compactness and locality.
     *   <li>Can be queried without allocating garbage.
     *   <li>Access to {@code IntStream} features (like {@link IntStream#sum}) using {@code stream()}
     *       instead of the awkward {@code stream().mapToInt(v -> v)}.
     * </ul>
     *
     * <p>Disadvantages compared to {@code ImmutableList<Integer>}:
     *
     * <ul>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 14:49:24 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  10. cmd/erasure-healing_test.go

    			if err != nil {
    				t.Fatal(err)
    			}
    
    			actualH := sha256.New()
    			_, err = io.Copy(actualH, bytes.NewReader(data))
    			if err != nil {
    				return
    			}
    			actualSha256 := actualH.Sum(nil)
    
    			z := obj.(*erasureServerPools)
    			er := z.serverPools[0].getHashedSet(object)
    
    			disks := er.getDisks()
    			distribution := hashOrder(pathJoin(bucket, object), nDisks)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 48.5K bytes
    - Viewed (0)
Back to top