Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 112 for calculate (0.25 sec)

  1. internal/event/target/elasticsearch.go

    	defer cancel()
    
    	if target.args.Format == event.NamespaceFormat {
    		objectName, err := url.QueryUnescape(eventData.S3.Object.Key)
    		if err != nil {
    			return err
    		}
    
    		// Calculate a hash of the key for the id of the ES document.
    		// Id's are limited to 512 bytes in V7+, so we need to do this.
    		var keyHash string
    		{
    			key := eventData.S3.Bucket.Name + "/" + objectName
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 15K bytes
    - Viewed (0)
  2. cmd/s3-zip-handlers.go

    			return nil, ObjectInfo{}, err
    		}
    		b, err := io.ReadAll(gr)
    		gr.Close()
    		if err != nil {
    			return nil, ObjectInfo{}, err
    		}
    		if size > len(b) {
    			size = len(b)
    		}
    
    		// Calculate the object real size if encrypted
    		if _, ok := crypto.IsEncrypted(gr.ObjInfo.UserDefined); ok {
    			objSize, err = gr.ObjInfo.DecryptedSize()
    			if err != nil {
    				return nil, ObjectInfo{}, err
    			}
    		} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  3. internal/rest/client.go

    	// If not set the client will not keep track of health.
    	// Calling this returns true or false if the target
    	// is online or offline.
    	HealthCheckFn func() bool
    
    	// HealthCheckRetryUnit will be used to calculate the exponential
    	// backoff when trying to reconnect to an offline node
    	HealthCheckReconnectUnit time.Duration
    
    	// HealthCheckTimeout determines timeout for each call.
    	HealthCheckTimeout time.Duration
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  4. cmd/object-api-utils.go

    	// was requested, fetch content without decrypting.
    	if opts.Transition.RestoreRequest != nil || opts.NoDecryption {
    		isEncrypted = false
    		isCompressed = false
    	}
    
    	// Calculate range to read (different for encrypted/compressed objects)
    	switch {
    	case isCompressed:
    		var firstPart int
    		if opts.PartNumber > 0 {
    			// firstPart is an index to Parts slice,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  5. common-protos/k8s.io/api/autoscaling/v2beta2/generated.proto

      // It cannot be less that minReplicas.
      optional int32 maxReplicas = 3;
    
      // metrics contains the specifications for which to use to calculate the
      // desired replica count (the maximum replica count across all metrics will
      // be used).  The desired replica count is calculated multiplying the
      // ratio between the target value and the current value by the current
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/autoscaling/v2beta1/generated.proto

      // It cannot be less that minReplicas.
      optional int32 maxReplicas = 3;
    
      // metrics contains the specifications for which to use to calculate the
      // desired replica count (the maximum replica count across all metrics will
      // be used).  The desired replica count is calculated multiplying the
      // ratio between the target value and the current value by the current
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/autoscaling/v2/generated.proto

      // It cannot be less that minReplicas.
      optional int32 maxReplicas = 3;
    
      // metrics contains the specifications for which to use to calculate the
      // desired replica count (the maximum replica count across all metrics will
      // be used).  The desired replica count is calculated multiplying the
      // ratio between the target value and the current value by the current
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Preconditions.java

     *     throw new IllegalArgumentException("input is negative: " + value);
     *   }
     *   // calculate square root
     * }
     * }</pre>
     *
     * <p>to be replaced with the more compact
     *
     * <pre>{@code
     * public static double sqrt(double value) {
     *   checkArgument(value >= 0, "input is negative: %s", value);
     *   // calculate square root
     * }
     * }</pre>
     *
     * <p>so that a hypothetical bad caller of this method, such as:
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  9. .teamcity/performance-test-durations.json

        "testProject" : "santaTrackerAndroidBuild",
        "linux" : 451,
        "windows" : 698,
        "macOs" : 454
      } ]
    }, {
      "scenario" : "org.gradle.performance.regression.android.RealLifeAndroidBuildPerformanceTest.calculate task graph with test finalizer",
      "durations" : [ {
        "testProject" : "largeAndroidBuild",
        "linux" : 489
      } ]
    }, {
    Json
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Feb 19 11:22:56 GMT 2024
    - 26.3K bytes
    - Viewed (1)
  10. cmd/admin-heal-ops.go

    		return nil, ErrHealInvalidClientToken
    	}
    
    	// Take lock to access and update the heal-sequence
    	h.mutex.Lock()
    	defer h.mutex.Unlock()
    
    	numItems := len(h.currentStatus.Items)
    
    	// calculate index of most recently available heal result
    	// record.
    	lastResultIndex := h.lastSentResultIndex
    	if numItems > 0 {
    		lastResultIndex = h.currentStatus.Items[numItems-1].ResultIndex
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
Back to top