Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,416 for units (0.06 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/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go

    // sniffUnit simpifies the input alias and returns the unit associated with the
    // specified alias. It returns nil if the unit with such alias is not found.
    func (ut UnitType) sniffUnit(unit string) *Unit {
    	unit = strings.ToLower(unit)
    	if len(unit) > 2 {
    		unit = strings.TrimSuffix(unit, "s")
    	}
    	return ut.findByAlias(unit)
    }
    
    // autoScale takes in the value with units of the base unit and 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)
  3. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    				if unit == "" {
    					continue
    				}
    				if wantUnit, ok := numLabelUnits[k]; !ok {
    					numLabelUnits[k] = unit
    				} else if wantUnit != unit {
    					if v, ok := ignoredUnits[k]; ok {
    						v[unit] = true
    					} else {
    						ignoredUnits[k] = map[string]bool{unit: true}
    					}
    				}
    			}
    		}
    	}
    	// Infer units for keys without any units associated with
    	// numeric tag values.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ResolutionStrategy.java

         * Units are resolved by calling the {@code valueOf(String)} method of {@link java.util.concurrent.TimeUnit} with the upper-cased string value.</p>
         *
         * @param value The number of time units
         * @param units The units
         * @since 1.0-milestone-6
         */
        void cacheChangingModulesFor(int value, String units);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 17 13:05:50 UTC 2022
    - 16K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultCachePolicy.java

            keepChangingModulesFor = units.toMillis(value);
            eachModule(moduleResolutionControl -> {
                if (moduleResolutionControl.isChanging()) {
                    moduleResolutionControl.cacheFor(value, units);
                }
            });
            eachArtifact(artifactResolutionControl -> {
                if (artifactResolutionControl.belongsToChangingModule()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 22:04:14 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  6. src/internal/coverage/decodemeta/decode.go

    		return err
    	}
    
    	// Preamble containing number of units, file, and function.
    	numUnits := uint32(d.r.ReadULEB128())
    	fnameidx := uint32(d.r.ReadULEB128())
    	fileidx := uint32(d.r.ReadULEB128())
    
    	f.Srcfile = d.strtab.Get(fileidx)
    	f.Funcname = d.strtab.Get(fnameidx)
    
    	// Now the units
    	f.Units = f.Units[:0]
    	if cap(f.Units) < int(numUnits) {
    		f.Units = make([]coverage.CoverableUnit, 0, numUnits)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:28 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. src/internal/coverage/test/roundtrip_test.go

    		}
    	}
    }
    
    func createFuncs(i int) []coverage.FuncDesc {
    	res := []coverage.FuncDesc{}
    	lc := uint32(1)
    	for fi := 0; fi < i+1; fi++ {
    		units := []coverage.CoverableUnit{}
    		for ui := 0; ui < (fi+1)*(i+1); ui++ {
    			units = append(units,
    				coverage.CoverableUnit{StLine: lc, StCol: lc + 1,
    					EnLine: lc + 2, EnCol: lc + 3, NxStmts: lc + 4,
    				})
    			lc += 5
    		}
    		f := coverage.FuncDesc{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 21:42:05 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/cache/ResolutionControl.java

        B getCachedResult();
    
        /**
         * States that the cached value should be used if it is no older than the specified duration.
         * @param value The number of units
         * @param units The time units
         */
        void cacheFor(int value, TimeUnit units);
    
        /**
         * States that the cached value should be used regardless of age.
         * If not cachedResult is available, resolution should fail.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/vendor/github.com/google/pprof/profile/encode.go

    					labels[key] = append(labels[key], value)
    				} else if l.numX != 0 || l.unitX != 0 {
    					numValues := numLabels[key]
    					units := numUnits[key]
    					if l.unitX != 0 {
    						var unit string
    						unit, err = getString(p.stringTable, &l.unitX, err)
    						units = padStringArray(units, len(numValues))
    						numUnits[key] = append(units, unit)
    					}
    					numLabels[key] = append(numLabels[key], l.numX)
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top