Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 433 for units (0.23 sec)

  1. 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)
  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. 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)
  5. 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)
  6. 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)
  7. src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go

    // 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)
  8. guava-tests/test/com/google/common/collect/SetsTest.java

      public void testImmutableEnumSet() {
        Set<SomeEnum> units = Sets.immutableEnumSet(SomeEnum.D, SomeEnum.B);
    
        assertThat(units).containsExactly(SomeEnum.B, SomeEnum.D).inOrder();
        try {
          units.remove(SomeEnum.B);
          fail("ImmutableEnumSet should throw an exception on remove()");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          units.add(SomeEnum.C);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 49.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/SetsTest.java

      public void testImmutableEnumSet() {
        Set<SomeEnum> units = Sets.immutableEnumSet(SomeEnum.D, SomeEnum.B);
    
        assertThat(units).containsExactly(SomeEnum.B, SomeEnum.D).inOrder();
        try {
          units.remove(SomeEnum.B);
          fail("ImmutableEnumSet should throw an exception on remove()");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          units.add(SomeEnum.C);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 47.8K bytes
    - Viewed (0)
  10. src/runtime/tracetime.go

    }
    
    // traceClockUnitsPerSecond estimates the number of trace clock units per
    // second that elapse.
    func traceClockUnitsPerSecond() uint64 {
    	if osHasLowResClock {
    		// We're using cputicks as our clock, so we need a real estimate.
    		return uint64(ticksPerSecond() / traceTimeDiv)
    	}
    	// Our clock is nanotime, so it's just the constant time division.
    	// (trace clock units / nanoseconds) * (1e9 nanoseconds / 1 second)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top