Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for calculate (0.18 sec)

  1. .teamcity/performance-tests-ci.json

          "coverage" : {
            "per_commit" : [ "linux", "windows", "macOs" ]
          }
        } ]
      }, {
        "testId" : "org.gradle.performance.regression.android.RealLifeAndroidBuildPerformanceTest.calculate task graph with test finalizer",
        "groups" : [ {
          "testProject" : "largeAndroidBuild",
          "coverage" : {
            "per_commit" : [ "linux" ]
          }
        } ]
      }, {
    Json
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon May 06 09:01:23 GMT 2024
    - 35.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. cmd/object-handlers.go

    			// we are creating a new object at this point, even
    			// if source and destination are same objects.
    			if !srcInfo.keyRotation {
    				srcInfo.metadataOnly = false
    			}
    		}
    
    		// Calculate the size of the target object
    		var targetSize int64
    
    		switch {
    		case isDstCompressed:
    			targetSize = -1
    		case !isSourceEncrypted && !isTargetEncrypted:
    			targetSize, _ = srcInfo.GetActualSize()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  6. cmd/handler-api.go

    	var apiRequestsMaxPerNode int
    	if cfg.RequestsMax <= 0 {
    		maxSetDrives := slices.Max(setDriveCounts)
    
    		// Returns 75% of max memory allowed
    		maxMem := availableMemory()
    
    		// max requests per node is calculated as
    		// total_ram / ram_per_request
    		blockSize := xioutil.LargeBlock + xioutil.SmallBlock
    		if legacy {
    			// ram_per_request is (1MiB+32KiB) * driveCount \
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 10K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle.go

    			if a.Due.Before(b.Due) {
    				return -1
    			}
    			return 1
    		})
    		return events[0]
    	}
    
    	return Event{
    		Action: NoneAction,
    	}
    }
    
    // ExpectedExpiryTime calculates the expiry, transition or restore date/time based on a object modtime.
    // The expected transition or restore time is always a midnight time following the object
    // modification time plus the number of transition/restore days.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  8. cmd/api-errors.go

    		Description:    "Requests specifying Server Side Encryption with Customer provided keys must provide the client calculated MD5 of the secret key.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSSECustomerKeyMD5Mismatch: {
    		Code:           "InvalidArgument",
    		Description:    "The calculated MD5 hash of the key did not match the hash that was provided.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  9. cmd/object-api-errors.go

    }
    
    // SignatureDoesNotMatch - when content md5 does not match with what was sent from client.
    type SignatureDoesNotMatch struct{}
    
    func (e SignatureDoesNotMatch) Error() string {
    	return "The request signature we calculated does not match the signature you provided. Check your key and signing method."
    }
    
    // StorageFull storage ran out of space.
    type StorageFull struct{}
    
    func (e StorageFull) Error() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

          // https://github.com/openjdk/jdk/commit/3e393047e12147a81e2899784b943923fc34da8e, a bug
          // meant that sometimes a too-large threshold is calculated. However, this new threshold is
          // independent of the initial capacity, except that it won't be lower than the threshold
          // computed from that capacity. Because the internal table is only allocated on the first
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top