- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for ANSIC (0.08 sec)
-
src/time/format_test.go
// Amount of white space should not matter. {"ANSIC", ANSIC, "Thu Feb 4 21:00:57 2010", false, true, 1, 0}, {"ANSIC", ANSIC, "Thu Feb 4 21:00:57 2010", false, true, 1, 0}, // Case should not matter {"ANSIC", ANSIC, "THU FEB 4 21:00:57 2010", false, true, 1, 0}, {"ANSIC", ANSIC, "thu feb 4 21:00:57 2010", false, true, 1, 0}, // Fractional seconds.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:58:29 UTC 2024 - 36.4K bytes - Viewed (0) -
src/net/http/header.go
sv = sv[n:] } return h2 } var timeFormats = []string{ TimeFormat, time.RFC850, time.ANSIC, } // ParseTime parses a time header (such as the Date: header), // trying each of the three formats allowed by HTTP/1.1: // [TimeFormat], [time.RFC850], and [time.ANSIC]. func ParseTime(text string) (t time.Time, err error) { for _, layout := range timeFormats { t, err = time.Parse(layout, text)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 22:14:00 UTC 2024 - 7.6K bytes - Viewed (0) -
src/go/internal/gccgoimporter/testdata/time.gox
pkgpath time; import errors errors "errors"; import sync sync "sync"; import syscall syscall "syscall"; init time time..import runtime runtime..import sync sync..import syscall syscall..import; init_graph 0 1 0 2 0 3 2 1 3 1 3 2; const ANSIC = "Mon Jan _2 15:04:05 2006"; func After (d <type 1 "Duration" <type -4> func (d <type 1>) String () <type -16>; func (d <type 1>) Nanoseconds () <type -4>; func (d <type 1>) Seconds () <type -10>;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 30 21:33:51 UTC 2021 - 7.3K bytes - Viewed (0) -
src/time/format.go
// creating a custom layout string. // // To define your own format, write down what the reference time would look like // formatted your way; see the values of constants like [ANSIC], [StampMicro] or // [Kitchen] for examples. The model is to demonstrate what the reference time // looks like so that the Format and Parse methods can apply the same // transformation to a general time value. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:28 UTC 2024 - 49.3K bytes - Viewed (0) -
src/time/time_test.go
} func BenchmarkMarshalText(b *testing.B) { t := Now() for i := 0; i < b.N; i++ { t.MarshalText() } } func BenchmarkParse(b *testing.B) { for i := 0; i < b.N; i++ { Parse(ANSIC, "Mon Jan 2 15:04:05 2006") } } const testdataRFC3339UTC = "2020-08-22T11:27:43.123456789Z" func BenchmarkParseRFC3339UTC(b *testing.B) { for i := 0; i < b.N; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"(Time).Weekday", Method, 0}, {"(Time).Year", Method, 0}, {"(Time).YearDay", Method, 1}, {"(Time).Zone", Method, 0}, {"(Time).ZoneBounds", Method, 19}, {"(Weekday).String", Method, 0}, {"ANSIC", Const, 0}, {"After", Func, 0}, {"AfterFunc", Func, 0}, {"April", Const, 0}, {"August", Const, 0}, {"Date", Func, 0}, {"DateOnly", Const, 20}, {"DateTime", Const, 20},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.txt
pkg text/template/parse, type VariableNode struct, embedded NodeType pkg text/template/parse, type WithNode struct pkg text/template/parse, type WithNode struct, embedded BranchNode pkg time, const ANSIC ideal-string pkg time, const April Month pkg time, const August Month pkg time, const December Month pkg time, const February Month pkg time, const Friday Weekday pkg time, const Hour Duration
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0) -
api/go1.1.txt
pkg text/template/parse, type TextNode struct, embedded Pos pkg text/template/parse, type Tree struct, ParseName string pkg text/template/parse, type VariableNode struct, embedded Pos pkg time, const ANSIC = "Mon Jan _2 15:04:05 2006" pkg time, const April = 4 pkg time, const August = 8 pkg time, const December = 12 pkg time, const February = 2 pkg time, const Friday = 5 pkg time, const Hour = 3600000000000
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 2.6M bytes - Viewed (0)