Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 206 for SUM (0.05 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. api/go1.12.txt

    pkg runtime/debug, type Module struct
    pkg runtime/debug, type Module struct, Path string
    pkg runtime/debug, type Module struct, Replace *Module
    pkg runtime/debug, type Module struct, Sum string
    pkg runtime/debug, type Module struct, Version string
    pkg strings, func ReplaceAll(string, string, string) string
    pkg strings, method (*Builder) Cap() int
    pkg syscall (freebsd-386), const S_IRWXG = 56
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 02 21:21:53 UTC 2019
    - 13.5K bytes
    - Viewed (0)
  4. 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
    }
    
    // mergeDisksLayoutFromArgs supports with and without ellipses transparently.
    func mergeDisksLayoutFromArgs(args []string, ctxt *serverCtxt) (err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  7. tensorflow/c/eager/parallel_device/parallel_device.cc

            // copies/broadcasts. Other implicit copies may be supported eventually,
            // but need special handling for gradients (gradient of copy-on is not
            // just copy-off but includes a sum) and consideration of performance.
            //
            // TODO(allenl): There may be smarter ways to do this copy in some
            // cases, i.e. with a collective broadcast. We'll need to be careful
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    		return int64(n), err
    	}
    
    	if _, err = h.Write(buffer); err != nil {
    		return 0, err
    	}
    
    	if _, err = io.Copy(h, file); err != nil {
    		return 0, err
    	}
    
    	if !bytes.Equal(h.Sum(nil), verifier.sum) {
    		return 0, errFileCorrupt
    	}
    
    	return int64(len(buffer)), nil
    }
    
    func (s *xlStorage) openFileDirect(path string, mode int) (f *os.File, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  9. cmd/storage-rest-client.go

    	values.Set(storageRESTLength, strconv.Itoa(len(buf)))
    	if verifier != nil {
    		values.Set(storageRESTBitrotAlgo, verifier.algorithm.String())
    		values.Set(storageRESTBitrotHash, hex.EncodeToString(verifier.sum))
    	} else {
    		values.Set(storageRESTBitrotAlgo, "")
    		values.Set(storageRESTBitrotHash, "")
    	}
    	respBody, err := client.callGet(ctx, storageRESTMethodReadFile, values, nil, -1)
    	if err != nil {
    		return 0, err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/LongMath.java

          b += minDeltaOrZero; // sets b to min(old a, b)
          a >>= Long.numberOfTrailingZeros(a); // divide out all 2s, since 2 doesn't divide b
        }
        return a << min(aTwos, bTwos);
      }
    
      /**
       * Returns the sum of {@code a} and {@code b}, provided it does not overflow.
       *
       * @throws ArithmeticException if {@code a + b} overflows in signed {@code long} arithmetic
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
Back to top