Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 267 for Inits (1.05 sec)

  1. src/debug/dwarf/unit.go

    		if len > 0 {
    			nunit++
    		}
    	}
    	if b.err != nil {
    		return nil, b.err
    	}
    
    	// Again, this time writing them down.
    	b = makeBuf(d, unknownFormat{}, "info", 0, d.info)
    	units := make([]unit, nunit)
    	for i := range units {
    		u := &units[i]
    		u.base = b.off
    		var n Offset
    		if b.err != nil {
    			return nil, b.err
    		}
    		for n == 0 {
    			n, u.is64 = b.unitLength()
    		}
    		dataOff := b.off
    		vers := b.uint16()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 21 17:14:08 UTC 2022
    - 2.7K 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. 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)
  4. pkg/kubelet/stats/helper_test.go

    	spec := []cadvisorapiv1.MetricSpec{
    		{
    			Name:   "qos",
    			Type:   cadvisorapiv1.MetricGauge,
    			Format: cadvisorapiv1.IntType,
    			Units:  "per second",
    		},
    		{
    			Name:   "cpuLoad",
    			Type:   cadvisorapiv1.MetricCumulative,
    			Format: cadvisorapiv1.FloatType,
    			Units:  "count",
    		},
    	}
    	timestamp1 := time.Now()
    	timestamp2 := time.Now().Add(time.Minute)
    	metrics := map[string][]cadvisorapiv1.MetricVal{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 22 16:23:28 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultCachePolicy.java

                }
            });
        }
    
        public void cacheChangingModulesFor(final int value, final TimeUnit units) {
            keepChangingModulesFor = units.toMillis(value);
            eachModule(moduleResolutionControl -> {
                if (moduleResolutionControl.isChanging()) {
                    moduleResolutionControl.cacheFor(value, units);
                }
            });
            eachArtifact(artifactResolutionControl -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 22:04:14 UTC 2023
    - 14.9K 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. src/go/internal/gccgoimporter/testdata/conversions.go

    package conversions
    
    type Units string
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 23:43:02 UTC 2016
    - 67 bytes
    - Viewed (0)
  10. test/fixedbugs/issue17918.go

    package dead
    
    import (
    	"fmt"
    	"time"
    )
    
    var (
    	units = []struct {
    		divisor time.Duration
    		unit    rune
    	}{
    		{1000000, 's'},
    		{60, 'm'},
    		{60, 'h'},
    		{24, 'd'},
    		{7, 'w'},
    	}
    )
    
    func foobar(d time.Duration) string {
    	d /= time.Microsecond
    	unit := 'u'
    
    	for _, f := range units {
    		if d%f.divisor != 0 {
    			break
    		}
    		d /= f.divisor
    		unit = f.unit
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 16:31:27 UTC 2016
    - 619 bytes
    - Viewed (0)
Back to top