- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 66 for mime (0.17 sec)
-
src/bytes/bytes_test.go
var commas = "1,2,3,4" var dots = "1....2....3....4" type BinOpTest struct { a string b string i int } func TestEqual(t *testing.T) { // Run the tests and check for allocation at the same time. allocs := testing.AllocsPerRun(10, func() { for _, tt := range compareTests { eql := Equal(tt.a, tt.b) if eql != (tt.i == 0) { t.Errorf(`Equal(%q, %q) = %v`, tt.a, tt.b, eql) } } })
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jan 24 16:07:25 GMT 2024 - 56.2K bytes - Viewed (0) -
lib/time/README
The zoneinfo.zip archive contains time zone files compiled using the code and data maintained as part of the IANA Time Zone Database. The IANA asserts that the database is in the public domain. For more information, see https://www.iana.org/time-zones ftp://ftp.iana.org/tz/code/tz-link.html https://datatracker.ietf.org/doc/html/rfc6557
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Sun Aug 15 02:18:46 GMT 2021 - 390 bytes - Viewed (0) -
src/archive/tar/writer.go
// does not always result in the PAX format being chosen, which // causes a 1KiB increase to every header. if tw.hdr.Format == FormatUnknown { tw.hdr.ModTime = tw.hdr.ModTime.Round(time.Second) tw.hdr.AccessTime = time.Time{} tw.hdr.ChangeTime = time.Time{} } allowedFormats, paxHdrs, err := tw.hdr.allowedFormats() switch { case allowedFormats.has(FormatUSTAR): tw.err = tw.writeUSTARHeader(&tw.hdr) return tw.err
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 19.6K bytes - Viewed (0) -
src/archive/zip/zip_test.go
want := fmt.Sprintf("%d.dat", i) if zr.File[i].Name != want { t.Fatalf("File(%d) = %q, want %q", i, zr.File[i].Name, want) } } } func TestModTime(t *testing.T) { var testTime = time.Date(2009, time.November, 10, 23, 45, 58, 0, time.UTC) fh := new(FileHeader) fh.SetModTime(testTime) outTime := fh.ModTime() if !outTime.Equal(testTime) { t.Errorf("times don't match: got %s, want %s", outTime, testTime) } }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 19.5K bytes - Viewed (0) -
doc/go_spec.html
assigning to or evaluating <code>x.f</code> causes a <a href="#Run_time_panics">run-time panic</a>. </li> <li> If <code>x</code> is of interface type and has the value <code>nil</code>, <a href="#Calls">calling</a> or <a href="#Method_values">evaluating</a> the method <code>x.f</code> causes a <a href="#Run_time_panics">run-time panic</a>. </li> </ol> <p> For example, given the declarations:
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu May 02 22:43:51 GMT 2024 - 279.6K bytes - Viewed (0) -
src/builtin/builtin.go
// built-in function recover. // // Starting in Go 1.21, calling panic with a nil interface value or an // untyped nil causes a run-time error (a different panic). // The GODEBUG setting panicnil=1 disables the run-time error. func panic(v any) // The recover built-in function allows a program to manage behavior of a // panicking goroutine. Executing a call to recover inside a deferred
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 12.7K bytes - Viewed (0) -
api/go1.1.txt
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 pkg time, const January = 1 pkg time, const July = 7 pkg time, const June = 6 pkg time, const Kitchen = "3:04PM" pkg time, const March = 3
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Mar 31 20:37:15 GMT 2022 - 2.6M bytes - Viewed (0) -
src/archive/zip/testdata/time-win7.zip
Joe Tsai <******@****.***> 1503947278 -0700
ZIP Archive - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Nov 06 19:50:28 GMT 2017 - 114 bytes - Viewed (0) -
src/archive/zip/testdata/time-winrar.zip
Joe Tsai <******@****.***> 1503947278 -0700
ZIP Archive - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Nov 06 19:50:28 GMT 2017 - 150 bytes - Viewed (0) -
src/archive/tar/writer_test.go
PAXRecords: map[string]string{"path": ""}, // Should delete "path", but keep "mtime" }, nil}, testHeader{Header{ Typeflag: TypeReg, Name: "file3", }, nil}, testHeader{Header{ Typeflag: TypeReg, Name: "file4", ModTime: time.Unix(1400000000, 0), PAXRecords: map[string]string{"mtime": "1400000000"}, }, nil}, testClose{nil}, }, }, {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Feb 27 16:39:23 GMT 2024 - 38.7K bytes - Viewed (0)