- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for Unix (0.13 sec)
-
src/archive/tar/stat_unix.go
case "linux": // Copied from golang.org/x/sys/unix/dev_linux.go. major := uint32((dev & 0x00000000000fff00) >> 8) major |= uint32((dev & 0xfffff00000000000) >> 32) minor := uint32((dev & 0x00000000000000ff) >> 0) minor |= uint32((dev & 0x00000ffffff00000) >> 12) h.Devmajor, h.Devminor = int64(major), int64(minor) case "darwin", "ios": // Copied from golang.org/x/sys/unix/dev_darwin.go. major := uint32((dev >> 24) & 0xff)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 3.2K bytes - Viewed (0) -
src/cmd/cgo/internal/test/cgo_unix_test.go
Austin Clements <******@****.***> 1683224724 -0400
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 391 bytes - Viewed (0) -
src/archive/tar/format.go
// license that can be found in the LICENSE file. package tar import "strings" // Format represents the tar archive format. // // The original tar format was introduced in Unix V7. // Since then, there have been multiple competing formats attempting to // standardize or extend the V7 format to overcome its limitations. // The most common formats are the USTAR, PAX, and GNU formats,
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 11.3K bytes - Viewed (0) -
src/archive/zip/reader.go
epoch := time.Date(1601, time.January, 1, 0, 0, 0, 0, time.UTC) modified = time.Unix(epoch.Unix()+secs, nsecs) } case unixExtraID, infoZipUnixExtraID: if len(fieldBuf) < 8 { continue parseExtras } fieldBuf.uint32() // AcTime (ignored) ts := int64(fieldBuf.uint32()) // ModTime since Unix epoch modified = time.Unix(ts, 0) case extTimeExtraID: if len(fieldBuf) < 5 || fieldBuf.uint8()&1 == 0 {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 27.7K bytes - Viewed (0) -
src/archive/zip/struct.go
zip64ExtraID = 0x0001 // Zip64 extended information ntfsExtraID = 0x000a // NTFS unixExtraID = 0x000d // UNIX extTimeExtraID = 0x5455 // Extended timestamp infoZipUnixExtraID = 0x5855 // Info-ZIP Unix extension ) // FileHeader describes a file within a ZIP file. // See the [ZIP specification] for details. //
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 12.1K bytes - Viewed (0) -
src/archive/tar/strconv_test.go
{"-1", time.Unix(-1, -0e0+0e0), true}, {"-1.999000", time.Unix(-1, -1e9+1e6), true}, {"-1.999999", time.Unix(-1, -1e9+1e3), true}, {"-1.999999999", time.Unix(-1, -1e9+1e0), true}, {"0.000000001", time.Unix(0, 1e0+0e0), true}, {"0.000001", time.Unix(0, 1e3+0e0), true}, {"0.001000", time.Unix(0, 1e6+0e0), true}, {"0", time.Unix(0, 0e0), true}, {"0.999000", time.Unix(0, 1e9-1e6), true},
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Feb 09 05:28:50 GMT 2021 - 14K bytes - Viewed (0) -
src/archive/tar/reader_test.go
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Nov 21 21:14:38 GMT 2022 - 47.1K bytes - Viewed (0) -
src/archive/tar/stat_actime1.go
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Oct 28 18:17:57 GMT 2021 - 431 bytes - Viewed (0) -
src/archive/tar/writer.go
var spb []byte blk := tw.templateV7Plus(hdr, f.formatString, f.formatNumeric) if !hdr.AccessTime.IsZero() { f.formatNumeric(blk.toGNU().accessTime(), hdr.AccessTime.Unix()) } if !hdr.ChangeTime.IsZero() { f.formatNumeric(blk.toGNU().changeTime(), hdr.ChangeTime.Unix()) } // TODO(dsnet): Re-enable this when adding sparse support. // See https://golang.org/issue/22735 /* if hdr.Typeflag == TypeGNUSparse {
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/tar/stat_actime2.go
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Oct 28 18:17:57 GMT 2021 - 421 bytes - Viewed (0)