Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 185 for scaleIO (0.15 sec)

  1. src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go

    		// if rate<1 treat as unknown and skip scaling.
    		return count, size
    	}
    
    	avgSize := float64(size) / float64(count)
    	scale := 1 / (1 - math.Exp(-avgSize/float64(rate)))
    
    	return int64(float64(count) * scale), int64(float64(size) * scale)
    }
    
    // parseContention parses a mutex or contention profile. There are 2 cases:
    // "--- contentionz " for legacy C++ profiles (and backwards compatibility)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/request/requestinfo_test.go

    		"more steps":        {"/api/version/resource/name/subresource", true},
    		"group list":        {"/apis/batch/v1/job", true},
    		"group get":         {"/apis/batch/v1/job/foo", true},
    		"group subresource": {"/apis/batch/v1/job/foo/scale", true},
    
    		"bad root":                     {"/not-api/version/resource", false},
    		"group without enough steps":   {"/apis/extensions/v1beta1", false},
    		"group without enough steps 2": {"/apis/extensions/v1beta1/", false},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 15 12:19:21 UTC 2018
    - 11.3K bytes
    - Viewed (0)
  3. src/image/jpeg/writer.go

    			quality = 100
    		}
    	}
    	// Convert from a quality rating to a scaling factor.
    	var scale int
    	if quality < 50 {
    		scale = 5000 / quality
    	} else {
    		scale = 200 - quality*2
    	}
    	// Initialize the quantization tables.
    	for i := range e.quant {
    		for j := range e.quant[i] {
    			x := int(unscaledQuant[i][j])
    			x = (x*scale + 50) / 100
    			if x < 1 {
    				x = 1
    			} else if x > 255 {
    				x = 255
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/driver/commands.go

    		"to facilitate comparison with original graph."),
    	"unit": helpText(
    		"Measurement units to display",
    		"Scale the sample values to this unit.",
    		"For time-based profiles, use seconds, milliseconds, nanoseconds, etc.",
    		"For memory profiles, use megabytes, kilobytes, bytes, etc.",
    		"Using auto will scale each value independently to the most natural unit."),
    	"compact_labels": "Show minimal headers",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/profile/merge.go

    	normScale := make([]float64, len(baseVals))
    	for i := range baseVals {
    		if srcVals[i] == 0 {
    			normScale[i] = 0.0
    		} else {
    			normScale[i] = float64(baseVals[i]) / float64(srcVals[i])
    		}
    	}
    	p.ScaleN(normScale)
    	return nil
    }
    
    func isZeroSample(s *Sample) bool {
    	for _, v := range s.Value {
    		if v != 0 {
    			return false
    		}
    	}
    	return true
    }
    
    type profileMerger struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

      int activation_number_of_bits_;
    };
    
    // Returns a function that returns the quantized type of a bias input.
    // The scale of bias is a multiplication of given scale and scales from the
    // quantization type of other operands.
    inline quant::AccumulatorScaleFunc GetUniformQuantizedTypeForBiasWithScale(
        double scale) {
      return [=](const std::vector<quant::QuantParams>& quant_params,
                 const int adjusted_quant_dim,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/parse.go

    				p.errorf("%s doesn't support scaled register format", p.arch.Name)
    			} else {
    				a.Scale = int16(scale)
    			}
    		}
    		p.get(')')
    	} else if scale != 0 {
    		if p.arch.Family == sys.ARM64 {
    			p.errorf("arm64 doesn't support scaled register format")
    		}
    		// First (R) was missing, all we have is (R*scale).
    		a.Reg = 0
    		a.Index = r1
    		a.Scale = int16(scale)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/GcFinalization.java

    public final class GcFinalization {
      private GcFinalization() {}
    
      /**
       * 10 seconds ought to be long enough for any object to be GC'ed and finalized. Unless we have a
       * gigantic heap, in which case we scale by heap size.
       */
      private static long timeoutSeconds() {
        // This class can make no hard guarantees.  The methods in this class are inherently flaky, but
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/quantization/quantization_context.cc

          else
            llvm::errs() << "_";
          llvm::errs() << ",";
        }
        llvm::errs() << ")\n";
      });
    }
    
    // A heuristic to get quantization parameters satisfies the same scale
    // constraints:
    // - If there are immutable states,
    //   - use the single input, or,
    //   - use the single output, or,
    //   - use the first one in the collection,
    // - use the single input if it is ready, or,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/autoscaling/v2beta1/types_swagger_doc_generated.go

    var map_ContainerResourceMetricSource = map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 23:13:24 UTC 2023
    - 20.4K bytes
    - Viewed (0)
Back to top