Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 112 for calculate (0.19 sec)

  1. cmd/encryption-v1.go

    	// because off is validated.
    
    	sseDAREEncPackageBlockSize := int64(SSEDAREPackageBlockSize + SSEDAREPackageMetaSize)
    	startPkgNum := (off - cumulativeSum) / SSEDAREPackageBlockSize
    
    	// Now we can calculate the number of bytes to skip
    	skipLen = (off - cumulativeSum) % SSEDAREPackageBlockSize
    
    	encOff = encCumulativeSum + startPkgNum*sseDAREEncPackageBlockSize
    	// Locate the part containing the end of the required range
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2.go

    			break
    		}
    
    		var latest xlMetaV2ShallowVersion
    		if consistent {
    			// All had the same signature, easy.
    			latest = tops[0]
    			merged = append(merged, latest)
    
    			// Calculate latest 'n' non-free versions.
    			if !latest.header.FreeVersion() {
    				nVersions++
    			}
    
    		} else {
    			// Find latest.
    			var latestCount int
    			for i, ver := range tops {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  3. cmd/utils.go

    func isMaxPartID(partID int) bool {
    	return partID > globalMaxPartID
    }
    
    // profilerWrapper is created because pkg/profiler doesn't
    // provide any API to calculate the profiler file path in the
    // disk since the name of this latter is randomly generated.
    type profilerWrapper struct {
    	// Profile recorded at start of benchmark.
    	records map[string][]byte
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  4. cmd/erasure-object_test.go

    		}
    
    		h := md5.New()
    		h.Write(testCase.content)
    		expectedHash := h.Sum(nil)
    
    		h.Reset()
    		_, err = io.Copy(h, gr)
    		if err != nil {
    			t.Fatalf("Test %d: Failed to calculate md5sum of the object: %v", i+1, err)
    		}
    		gr.Close()
    		foundHash := h.Sum(nil)
    
    		if !bytes.Equal(foundHash, expectedHash) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

           * requireNonNull is safe because we've initialized CAUSELESS_CANCELLED if
           * !GENERATE_CANCELLATION_CAUSES.
           */
          return requireNonNull(Cancellation.CAUSELESS_CANCELLED);
        }
        // Otherwise calculate the value by calling .get()
        try {
          Object v = getUninterruptibly(future);
          if (wasCancelled) {
            return new Cancellation(
                false,
                new IllegalArgumentException(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    	stringToSign := getStringToSignV2(req.Method, encodedResource, strings.Join(unescapedQueries, "&"), req.Header, expiresStr)
    	hm := hmac.New(sha1.New, []byte(secretAccessKey))
    	hm.Write([]byte(stringToSign))
    
    	// Calculate signature.
    	signature := base64.StdEncoding.EncodeToString(hm.Sum(nil))
    
    	query := req.URL.Query()
    	// Handle specially for Google Cloud Storage.
    	query.Set("AWSAccessKeyId", accessKeyID)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    	}
    
    	// Get start part index and offset.
    	partIndex, partOffset, err := fi.ObjectToPartOffset(ctx, startOffset)
    	if err != nil {
    		return InvalidRange{startOffset, length, fi.Size}
    	}
    
    	// Calculate endOffset according to length
    	endOffset := startOffset
    	if length > 0 {
    		endOffset += length - 1
    	}
    
    	// Get last part index to read given length.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  8. cmd/admin-handlers.go

    			deleteMarkers = madmin.DeleteMarkers{Error: err.Error()}
    			usage = madmin.Usage{Error: err.Error()}
    		}
    
    		// Fetching the backend information
    		backendInfo := objectAPI.BackendInfo()
    		// Calculate the number of online/offline disks of all nodes
    		var allDisks []madmin.Disk
    		for _, s := range servers {
    			allDisks = append(allDisks, s.Disks...)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  9. api/maven-api-model/src/main/mdo/maven.mdo

              <description>
                <![CDATA[
                The scope of the dependency - {@code compile}, {@code runtime},
                {@code test}, {@code system}, and {@code provided}. Used to
                calculate the various classpaths used for compilation, testing, and so on.
                It also assists in determining which artifacts to include in a distribution of
                this project. For more information, see
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.27.md

    - Kubelet: changed `MemoryThrottlingFactor` default value to `0.9` and formulas to calculate `memory.high` ([#115371](https://github.com/kubernetes/kubernetes/pull/115371), [@pacoxu](https://github.com/pacoxu))
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Tue Apr 16 15:20:21 GMT 2024
    - 434.3K bytes
    - Viewed (3)
Back to top