- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for modifier (0.15 sec)
-
src/archive/zip/reader_test.go
if f.Name != ft.Name { t.Errorf("name=%q, want %q", f.Name, ft.Name) } if !ft.Modified.IsZero() && !equalTimeAndZone(f.Modified, ft.Modified) { t.Errorf("%s: Modified=%s, want %s", f.Name, f.Modified, ft.Modified) } if !ft.ModTime.IsZero() && !equalTimeAndZone(f.ModTime(), ft.ModTime) { t.Errorf("%s: ModTime=%s, want %s", f.Name, f.ModTime(), ft.ModTime) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 55.3K bytes - Viewed (0) -
src/archive/zip/zip_test.go
Name: "foo.txt", UncompressedSize: 987654321, Modified: time.Now().Local(), ModifiedTime: 1234, ModifiedDate: 5678, } fi := fh.FileInfo() fh2, err := FileInfoHeader(fi) if err != nil { t.Fatal(err) } if got, want := fh2.Modified, fh.Modified.UTC(); got != want { t.Errorf("Modified: got %s, want %s\n", got, want) }
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
[<a href="#Go_1.20">Go 1.20</a>] </p> <p> The function <code>StringData</code> returns a pointer to the underlying bytes of the <code>str</code> argument. For an empty string the return value is unspecified, and may be <code>nil</code>. Since Go strings are immutable, the bytes returned by <code>StringData</code> must not be modified [<a href="#Go_1.20">Go 1.20</a>].
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/archive/zip/writer.go
fh.Flags |= 0x800 } fh.CreatorVersion = fh.CreatorVersion&0xff00 | zipVersion20 // preserve compatibility byte fh.ReaderVersion = zipVersion20 // If Modified is set, this takes precedence over MS-DOS timestamp fields. if !fh.Modified.IsZero() { // Contrary to the FileHeader.SetModTime method, we intentionally // do not convert to UTC, because we assume the user intends to encode
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 04 14:28:57 GMT 2024 - 19.3K bytes - Viewed (0)