Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for Sum (0.13 sec)

  1. cmd/object-api-listobjects_test.go

    		{testBuckets[0], "unique/folder/1.txt", "content", nil, false},
    		{testBuckets[1], "unique/folder/1.txt", "content", nil, true},
    	}
    	for _, object := range testObjects {
    		md5Bytes := md5.Sum([]byte(object.content))
    		_, err = obj.PutObject(context.Background(), object.parentBucket, object.name, mustGetPutObjReader(t, bytes.NewBufferString(object.content),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  2. 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) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  3. 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.call(ctx, storageRESTMethodReadFile, values, nil, -1)
    	if err != nil {
    		return 0, err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  4. Makefile.core.mk

    # Base version of Istio image to use
    BASE_VERSION ?= master-2024-05-08T18-51-53
    ISTIO_BASE_REGISTRY ?= gcr.io/istio-release
    
    export GO111MODULE ?= on
    export GOPROXY ?= https://proxy.golang.org
    export GOSUMDB ?= sum.golang.org
    
    # If GOPATH is not set by the env, set it to a sane value
    GOPATH ?= $(shell cd ${ISTIO_GO}/../../..; pwd)
    export GOPATH
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 20:25:15 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  5. RELEASE.md

            Keras training loops like `fit`/`evaluate`, the unreduced vector loss is
            passed to the optimizer but the reported loss will be a scalar value.
        *   `SUM`: Scalar sum of weighted losses. 4. `SUM_OVER_BATCH_SIZE`: Scalar
            `SUM` divided by number of elements in losses. This reduction type is
            not supported when used with `tf.distribute.Strategy` outside of
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  6. cmd/sts-handlers.go

    	// filename characters and needs to have bounded length.
    	{
    		h := sha256.New()
    		h.Write([]byte("openid:" + subFromToken + ":" + issFromToken))
    		bs := h.Sum(nil)
    		cred.ParentUser = base64.RawURLEncoding.EncodeToString(bs)
    	}
    
    	// Deny this assume role request if the policy that the user intends to bind
    	// has a sts:DurationSeconds condition, which is not satisfied as well
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       *
       * <p>If the mapped elements contain duplicates (according to {@code comparator}), the first
       * occurrence in encounter order appears in the resulting multiset, with count equal to the sum of
       * the outputs of {@code countFunction.applyAsInt(t)} for each {@code t} mapped to that element.
       *
       * @since 33.2.0 (available since 22.0 in guava-jre)
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMultiset.java

       *
       * <p>If the mapped elements contain duplicates (according to {@link Object#equals}), the first
       * occurrence in encounter order appears in the resulting multiset, with count equal to the sum of
       * the outputs of {@code countFunction.applyAsInt(t)} for each {@code t} mapped to that element.
       *
       * @since 33.2.0 (available since 22.0 in guava-jre)
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Sets.java

          }
          return super.equals(obj);
        }
    
        @Override
        public int hashCode() {
          /*
           * The sum of the sums of the hash codes in each subset is just the sum of
           * each input element's hash code times the number of sets that element
           * appears in. Each element appears in exactly half of the 2^n sets, so:
           */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  10. doc/go_spec.html

    </p>
    
    <pre>
    // sum returns the sum (concatenation, for strings) of its arguments.
    func sum[T ~int | ~float64 | ~string](x... T) T { … }
    
    x := sum                       // illegal: the type of x is unknown
    intSum := sum[int]             // intSum has type func(x... int) int
    a := intSum(2, 3)              // a has value 5 of type int
    b := sum[float64](2.0, 3)      // b has value 5.0 of type float64
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top