Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 131 for Inits (0.04 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Duration.java

    import java.math.BigDecimal;
    
    public class Duration {
        public static final Units<Duration> MILLI_SECONDS = Units.base(Duration.class, "ms");
        public static final Units<Duration> SECONDS = MILLI_SECONDS.times(1000, "s");
        public static final Units<Duration> MINUTES = SECONDS.times(60, "m");
        public static final Units<Duration> HOURS = MINUTES.times(60, "h");
    
        public static Amount<Duration> millis(long millis) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/internal/coverage/cformat/format.go

    		pkgs = append(pkgs, importpath)
    	}
    	slices.Sort(pkgs)
    	for _, importpath := range pkgs {
    		p := fm.pm[importpath]
    		units := make([]extcu, 0, len(p.unitTable))
    		for u := range p.unitTable {
    			units = append(units, u)
    		}
    		p.sortUnits(units)
    		for _, u := range units {
    			count := p.unitTable[u]
    			file := p.funcs[u.fnfid].file
    			if _, err := fmt.Fprintf(w, "%s:%d.%d,%d.%d %d %d\n",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go

    type Unit struct {
    	CanonicalName string
    	aliases       []string
    	Factor        float64
    }
    
    // UnitType includes a list of units that are within the same category (i.e.
    // memory or time units) and a default unit to use for this type of unit.
    type UnitType struct {
    	DefaultUnit Unit
    	Units       []Unit
    }
    
    // findByAlias returns the unit associated with the specified alias. It returns
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    }
    
    // NumLabelUnits returns a map of numeric label keys to the units
    // associated with those keys and a map of those keys to any units
    // that were encountered but not used.
    // Unit for a given key is the first encountered unit for that key. If multiple
    // units are encountered for values paired with a particular key, then the first
    // unit encountered is used and all other units are returned in sorted order
    // in map of ignored units.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/DefaultBuildOperationRunner.java

                        }
    
                        @Override
                        public void progress(long progress, long total, String units, String status) {
                            assertNotFinished();
                            context.progress(progress, total, units, status);
                        }
    
                        private void finish() {
                            finished = true;
                            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:33:49 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultResolutionStrategy.java

        public void cacheDynamicVersionsFor(int value, String units) {
            NormalizedTimeUnit timeUnit = new TimeUnitsParser().parseNotation(units, value);
            cacheDynamicVersionsFor(timeUnit.getValue(), timeUnit.getTimeUnit());
        }
    
        @Override
        public void cacheDynamicVersionsFor(int value, TimeUnit units) {
            this.cachePolicy.cacheDynamicVersionsFor(value, units);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/measure/UnitsTest.groovy

     * limitations under the License.
     */
    package org.gradle.performance.measure
    
    import spock.lang.Specification
    
    class UnitsTest extends Specification {
        def "can compare units of same quantity"() {
            def base = Units.base(Void.class, "base")
            def units1 = base.times(12, "units1")
            def units2 = base.times(33, "units2")
    
            expect:
            base < units1
            base < units2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/quantization_config.proto

    // matched quantizable units.
    // Next ID: 3
    message QuantizationSpec {
      // Configures matchers for identifying quantizable units. Matched quantizable
      // units will be quantized according to `method`.
      MatcherSpec matcher = 1;
    
      // Specifies how to quantize the matched quantizable units.
      Method method = 2;
    }
    
    // Quantization specifications. A simple wrapper around a sequence of
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_quantization_unit_loc.cc

          StringRef name_loc_id = mlir::cast<NameLoc>(callee).getName().strref();
          set_node_and_func_name(new_unit, name_loc_id);
        }
        units.push_back(new_unit);
      } else {
        for (Location child_loc : locations) {
          FindQuantizationUnitsRecursively(child_loc, units);
        }
      }
    }
    
    // Finds the QuantizationUnit from location.
    std::optional<QuantizationUnit> FindQuantizationUnit(Operation* op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go

    }
    
    // identifyNumLabelUnits returns a map of numeric label keys to the units
    // associated with those keys.
    func identifyNumLabelUnits(p *profile.Profile, ui plugin.UI) map[string]string {
    	numLabelUnits, ignoredUnits := p.NumLabelUnits()
    
    	// Print errors for tags with multiple units associated with
    	// a single key.
    	for k, units := range ignoredUnits {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top