- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,095 for fmtF (0.1 sec)
-
src/strconv/ftoa.go
mant |= uint64(1) << flt.mantbits } exp += flt.bias // Pick off easy binary, hex formats. if fmt == 'b' { return fmtB(dst, neg, mant, exp, flt) } if fmt == 'x' || fmt == 'X' { return fmtX(dst, prec, fmt, neg, mant, exp, flt) } if !optimize { return bigFtoa(dst, prec, fmt, neg, mant, exp, flt) } var digs decimalSlice ok := false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:28 UTC 2024 - 13.9K bytes - Viewed (0) -
src/fmt/format.go
} } return b } // fmtS formats a string. func (f *fmt) fmtS(s string) { s = f.truncateString(s) f.padString(s) } // fmtBs formats the byte slice b as if it was formatted as string with fmtS. func (f *fmt) fmtBs(b []byte) { b = f.truncate(b) f.pad(b) } // fmtSbx formats a string or byte slice as a hexadecimal encoding of its bytes. func (f *fmt) fmtSbx(s string, b []byte, digits string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:31:55 UTC 2024 - 13.8K bytes - Viewed (0) -
src/fmt/print.go
case 'v': if p.fmt.sharpV { p.fmt.fmtQ(v) } else { p.fmt.fmtS(v) } case 's': p.fmt.fmtS(v) case 'x': p.fmt.fmtSx(v, ldigits) case 'X': p.fmt.fmtSx(v, udigits) case 'q': p.fmt.fmtQ(v) default: p.badVerb(verb) } } func (p *pp) fmtBytes(v []byte, verb rune, typeString string) { switch verb { case 'v', 'd': if p.fmt.sharpV {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:22:43 UTC 2024 - 31.8K bytes - Viewed (0) -
src/time/example_test.go
// The package also accepts the incorrect but common prefix u for micro. micro2, _ := time.ParseDuration("1us") fmt.Println(hours) fmt.Println(complex) fmt.Printf("There are %.0f seconds in %v.\n", complex.Seconds(), complex) fmt.Printf("There are %d nanoseconds in %v.\n", micro.Nanoseconds(), micro) fmt.Printf("There are %6.2e seconds in %v.\n", micro2.Seconds(), micro2) // Output: // 10h0m0s // 1h10m10s
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 13 01:05:00 UTC 2024 - 22.4K bytes - Viewed (0) -
pkg/kubelet/apis/config/validation/validation.go
allErrors = append(allErrors, fmt.Errorf("invalid configuration: systemCgroups (--system-cgroups) was specified and cgroupRoot (--cgroup-root) was not specified")) } if kc.EventBurst < 0 { allErrors = append(allErrors, fmt.Errorf("invalid configuration: eventBurst (--event-burst) %v must not be a negative number", kc.EventBurst)) } if kc.EventRecordQPS < 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 10 17:13:59 UTC 2024 - 18.2K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
fmt.Println("Remapped", partName, "to", fn) } delete(partDataToVerID, partName) err := os.WriteFile(fn, data, os.ModePerm) if err != nil { fmt.Println("WriteFile:", err) } } } if len(partDataToVerID) > 0 { fmt.Println("MISSING PART FILES:") for k := range partDataToVerID { fmt.Println(k) } fmt.Println("END MISSING PART FILES") } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 31 14:49:23 UTC 2024 - 38.5K bytes - Viewed (0) -
pkg/config/validation/agent/extensionprovider.go
if config == nil { return fmt.Errorf("nil TracingLightStepProvider") } if err := validateExtensionProviderService(config.Service); err != nil { errs = AppendErrors(errs, err) } if err := ValidatePort(int(config.Port)); err != nil { errs = AppendErrors(errs, fmt.Errorf("invalid service port: %v", err)) } if config.AccessToken == "" { errs = AppendErrors(errs, fmt.Errorf("access token is required")) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 11K bytes - Viewed (0) -
src/cmd/internal/obj/util.go
fmt.Fprintf(w, "$%d", a.Offset) } else { fmt.Fprintf(w, "$%d-%d", a.Offset, a.Val.(int32)) } case TYPE_FCONST: str := fmt.Sprintf("%.17g", a.Val.(float64)) // Make sure 1 prints as 1.0 if !strings.ContainsAny(str, ".e") { str += ".0" } fmt.Fprintf(w, "$(%s)", str) case TYPE_SCONST: fmt.Fprintf(w, "$%q", a.Val.(string)) case TYPE_ADDR: io.WriteString(w, "$")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 17.5K bytes - Viewed (0) -
src/go/build/deps_test.go
arena, strconv, unicode < reflect; os, reflect < internal/fmtsort < fmt; OS, fmt < FMT; log !< FMT; # Misc packages needing only FMT. FMT < html, internal/dag, internal/goroot, internal/types/errors, mime/quotedprintable, net/internal/socktest, net/url, runtime/trace, text/scanner, text/tabwriter;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 19.2K bytes - Viewed (0) -
pkg/api/pod/warnings.go
warnings = append(warnings, fmt.Sprintf("%s: deprecated in v1.11, non-functional in v1.16+", fieldPath.Child("spec", "volumes").Index(i).Child("photonPersistentDisk"))) } if v.GitRepo != nil { warnings = append(warnings, fmt.Sprintf("%s: deprecated in v1.11", fieldPath.Child("spec", "volumes").Index(i).Child("gitRepo"))) } if v.ScaleIO != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 17:51:48 UTC 2024 - 16.6K bytes - Viewed (0)