Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 139 for units (0.04 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/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)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions.cc

    inline void TrimTrailingWhitespaces(std::string& str) {
      while (!str.empty() && str.back() == ' ') {
        str.pop_back();
      }
    }
    
    // Lifts quantizable units as separate functions, thereby identifying the
    // boundaries of quantizable subgraphs. `QuantizationSpecs` influences how
    // quantizable units are lifted.
    //
    // FileCheck test cases using various `QuantizationSpecs` can be seen at
    // `TestLiftQuantizableSpotsAsFunctionsWithQuantizationSpecsPass`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. src/internal/coverage/cfile/testsupport.go

    				return fmt.Errorf("reading meta-data file %s: %v",
    					p.MetaFile, err)
    			}
    			key := pkfunc{pk: pkIdx, fcn: fnIdx}
    			counters, haveCounters := pmm[key]
    			for i := 0; i < len(fd.Units); i++ {
    				u := fd.Units[i]
    				// Skip units with non-zero parent (no way to represent
    				// these in the existing format).
    				if u.Parent != 0 {
    					continue
    				}
    				count := uint32(0)
    				if haveCounters {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_container_windows.go

    		//   Option a: Set HostConfig.CpuPercent. The units are whole percent of the total CPU capacity of the system, meaning the resolution
    		//      is different based on the number of cores.
    		//   Option b: Set HostConfig.NanoCpus integer <int64> - CPU quota in units of 10e-9 CPUs. Moby scales this to the Windows job object
    		//      resolution of 1-10000, so it's higher resolution than option a.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go

    	// Parse should call usage and return nil.
    	Parse(usage func()) []string
    }
    
    // A Fetcher reads and returns the profile named by src. src can be a
    // local file path or a URL. duration and timeout are units specified
    // by the end user, or 0 by default. duration refers to the length of
    // the profile collection, if applicable, and timeout is the amount of
    // time to wait for a profile before returning an error. Returns the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/contracts/descriptorContractUtils.kt

        accept(ContractDescriptionElementToAnalysisApi(analysisContext), Unit) as KaContractEffectDeclaration
    
    private class ContractDescriptionElementToAnalysisApi(val analysisContext: Fe10AnalysisContext) :
        ContractDescriptionVisitor<Any, Unit> {
    
        override fun visitConditionalEffectDeclaration(
            conditionalEffect: ConditionalEffectDeclaration,
            data: Unit
        ): Any = KaContractConditionalContractEffectDeclaration(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/contracts/firContractUtils.kt

    ): KaContractEffectDeclaration =
        accept(ConeContractDescriptionElementToAnalysisApi(builder, firFunctionSymbol), Unit) as KaContractEffectDeclaration
    
    private class ConeContractDescriptionElementToAnalysisApi(
        private val builder: KaSymbolByFirBuilder,
        private val firFunctionSymbol: KaFirFunctionSymbol
    ) : KtContractDescriptionVisitor<Any, Unit, ConeKotlinType, ConeDiagnostic>() {
    
        override fun visitConditionalEffectDeclaration(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/contracts/description/KtContractDescriptionElementRenderer.kt

                        is KaContractReturnsSpecificValueEffectDeclaration ->
                            appendProperty(value::value, ::renderKaContractConstantValue, endWithNewLine)
                    }
                }
            }
        }
    
    private fun Context.renderKaContractConstantValue(value: KaContractConstantValue, endWithNewLine: Boolean = true): Unit =
        printer.appendHeader(value::class) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top