- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 189 for Inits (0.17 sec)
-
src/go/types/api_test.go
// number of initializers must match if len(info.InitOrder) != len(test.inits) { t.Errorf("package %s: got %d initializers; want %d", name, len(info.InitOrder), len(test.inits)) continue } // initializers must match for i, want := range test.inits { got := info.InitOrder[i].String() if got != want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0) -
src/cmd/compile/internal/ir/fmt.go
// block starting with the init statements. // if we can just say "for" n->ninit; ... then do so simpleinit := len(n.Init()) == 1 && len(n.Init()[0].Init()) == 0 && StmtWithInit(n.Op()) // otherwise, print the inits as separate statements complexinit := len(n.Init()) != 0 && !simpleinit && exportFormat // but if it was for if/for/switch, put in an extra surrounding block to limit the scope
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 15:20:28 UTC 2023 - 26K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Units.java
} return -1; } public void add(ScaledUnits<Q> units) { this.units.add(units); Collections.sort(this.units); } } private static class ScaledUnits<Q> extends Units<Q> { private final BaseUnits<Q> baseUnits;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.3K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Amount.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.2K bytes - Viewed (0) -
testing/internal-performance-testing/src/test/groovy/org/gradle/performance/measure/AmountTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9.4K bytes - Viewed (0) -
platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/OperationProgressDetails.java
*/ public class OperationProgressDetails { private final long progress; private final long total; private final String units; public OperationProgressDetails(long progress, long total, String units) { this.progress = progress; this.total = total; this.units = units; } public long getProgress() { return progress; } public long getTotal() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 14:19:43 UTC 2023 - 1.3K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/DataAmount.java
import java.math.BigDecimal; public class DataAmount { public static final Units<DataAmount> BYTES = Units.base(DataAmount.class, "B"); public static final Units<DataAmount> KILO_BYTES = BYTES.times(1024, "kB"); public static final Units<DataAmount> MEGA_BYTES = KILO_BYTES.times(1024, "MB"); public static final Units<DataAmount> GIGA_BYTES = MEGA_BYTES.times(1024, "GB");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.5K bytes - Viewed (0) -
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) -
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) -
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)