- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 114 for format (0.41 sec)
-
src/archive/tar/format.go
FormatGNU // Schily's tar format, which is incompatible with USTAR. // This does not cover STAR extensions to the PAX format; these fall under // the PAX format. formatSTAR formatMax ) func (f Format) has(f2 Format) bool { return f&f2 != 0 } func (f *Format) mayBe(f2 Format) { *f |= f2 } func (f *Format) mayOnlyBe(f2 Format) { *f &= f2 } func (f *Format) mustNotBe(f2 Format) { *f &^= f2 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 11.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/format.go
arg = buf.String() } args[i] = arg } return fmt.Sprintf(format, args...) } // check may be nil. func (check *Checker) sprintf(format string, args ...any) string { var qf Qualifier if check != nil { qf = check.qualifier } return sprintf(qf, false, format, args...) } func (check *Checker) trace(pos syntax.Pos, format string, args ...any) { fmt.Printf("%s:\t%s%s\n", pos,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 3.5K bytes - Viewed (0) -
utils/tests/utils.go
isEqual := func() { if curTime, ok := got.(time.Time); ok { format := "2006-01-02T15:04:05Z07:00" if curTime.Round(time.Second).UTC().Format(format) != expect.(time.Time).Round(time.Second).UTC().Format(format) && curTime.Truncate(time.Second).UTC().Format(format) != expect.(time.Time).Truncate(time.Second).UTC().Format(format) {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Fri Mar 10 09:21:56 UTC 2023 - 3.9K bytes - Viewed (0) -
logger/sql_test.go
}, {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 8.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/errorcalls_test.go
// check.errorf calls should have at least errorfMinArgCount arguments: // position, code, format string, and arguments to format if n := len(call.ArgList); n < errorfMinArgCount { t.Errorf("%s: got %d arguments, want at least %d", call.Pos(), n, errorfMinArgCount) return false } format := call.ArgList[errorfFormatIndex] syntax.Inspect(format, func(n syntax.Node) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 15 21:57:36 UTC 2023 - 2.2K bytes - Viewed (0) -
src/cmd/compile/internal/types/fmt.go
fmtDebug fmtTypeID fmtTypeIDName ) // Sym // Format implements formatting for a Sym. // The valid formats are: // // %v Go syntax: Name for symbols in the local package, PkgName.Name for imported symbols. // %+v Debug syntax: always include PkgName. prefix even for local names. // %S Short syntax: Name only, no matter what. func (s *Sym) Format(f fmt.State, verb rune) { mode := fmtGo switch verb { case 'v', 'S':
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 15:41:17 UTC 2023 - 15.7K bytes - Viewed (0) -
src/cmd/dist/build.go
xprintf(format, "GOFLAGS", "") xprintf(format, "GOHOSTARCH", gohostarch) xprintf(format, "GOHOSTOS", gohostos) xprintf(format, "GOOS", goos) xprintf(format, "GOPROXY", os.Getenv("GOPROXY")) xprintf(format, "GOROOT", goroot) xprintf(format, "GOTMPDIR", os.Getenv("GOTMPDIR")) xprintf(format, "GOTOOLDIR", tooldir) if goarch == "arm" { xprintf(format, "GOARM", goarm) } if goarch == "arm64" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0) -
src/cmd/compile/internal/types2/errors.go
err.report() } func (check *Checker) errorf(at poser, code Code, format string, args ...any) { err := check.newError(code) err.addf(at, format, args...) err.report() } func (check *Checker) softErrorf(at poser, code Code, format string, args ...any) { err := check.newError(code) err.addf(at, format, args...) err.soft = true err.report() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 6.6K bytes - Viewed (0) -
src/cmd/go/help_test.go
cmd.Stderr = new(strings.Builder) out, err := cmd.Output() if err != nil { t.Fatalf("%v: %v\n%s", cmd, err, cmd.Stderr) } alldocs, err := format.Source(out) if err != nil { t.Fatalf("format.Source($(%v)): %v", cmd, err) } const srcPath = `alldocs.go` old, err := os.ReadFile(srcPath) if err != nil { t.Fatalf("error reading %s: %v", srcPath, err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 28 15:45:49 UTC 2023 - 1.6K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/iexport.go
// // The indexed export data format is an evolution of the previous // binary export data format. Its chief contribution is introducing an // index table, which allows efficient random access of individual // declarations and inline function bodies. In turn, this allows // avoiding unnecessary work for compilation units that import large // packages. // // // The top-level data format is structured as: // // Header struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 21 02:40:02 UTC 2023 - 6.8K bytes - Viewed (0)