- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for SetOptimize (0.26 sec)
-
src/strconv/ftoa_test.go
shortFast := FormatFloat(x, 'g', -1, 64) SetOptimize(false) shortSlow := FormatFloat(x, 'g', -1, 64) SetOptimize(true) if shortSlow != shortFast { t.Errorf("%b printed as %s, want %s", x, shortFast, shortSlow) } prec := rand.Intn(12) + 5 shortFast = FormatFloat(x, 'e', prec, 64) SetOptimize(false) shortSlow = FormatFloat(x, 'e', prec, 64) SetOptimize(true) if shortSlow != shortFast {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 24 23:50:20 UTC 2022 - 9.3K bytes - Viewed (0) -
src/strconv/atof_test.go
for _, tt := range roundTripCases { old := SetOptimize(false) s := FormatFloat(tt.f, 'g', -1, 64) if s != tt.s { t.Errorf("no-opt FormatFloat(%b) = %s, want %s", tt.f, s, tt.s) } f, err := ParseFloat(tt.s, 64) if f != tt.f || err != nil { t.Errorf("no-opt ParseFloat(%s) = %b, %v want %b, nil", tt.s, f, err, tt.f) } SetOptimize(true) s = FormatFloat(tt.f, 'g', -1, 64) if s != tt.s {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 16:24:57 UTC 2022 - 23.6K bytes - Viewed (0) -
platforms/jvm/scala/src/main/java/org/gradle/api/internal/tasks/scala/MinimalScalaCompileOptions.java
} public void setDebugLevel(@Nullable String debugLevel) { this.debugLevel = debugLevel; } public boolean isOptimize() { return optimize; } public void setOptimize(boolean optimize) { this.optimize = optimize; } @Nullable public String getEncoding() { return encoding; } public void setEncoding(@Nullable String encoding) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 15:43:33 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/jvm/scala/src/main/java/org/gradle/language/scala/tasks/BaseScalaCompileOptions.java
this.debugLevel = debugLevel; } /** * Run optimizations. */ @Input public boolean isOptimize() { return optimize; } public void setOptimize(boolean optimize) { this.optimize = optimize; } /** * Encoding of source files. */ @Nullable @Optional @Input public String getEncoding() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 15:43:33 UTC 2023 - 6.4K bytes - Viewed (0)