- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ARMAG (0.04 sec)
-
src/go/internal/gccgoimporter/ar.go
func arExportData(archive io.ReadSeeker) (io.ReadSeeker, error) { if _, err := archive.Seek(0, io.SeekStart); err != nil { return nil, err } var buf [len(armag)]byte if _, err := archive.Read(buf[:]); err != nil { return nil, err } switch string(buf[:]) { case armag: return standardArExportData(archive) case armagt: return nil, errors.New("unsupported thin archive") case armagb: return aixBigArExportData(archive)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 30 14:14:36 UTC 2022 - 4.4K bytes - Viewed (0) -
src/cmd/link/internal/ld/ar.go
} return } Exitf("cannot open file %s: %v", name, err) } defer f.Close() var magbuf [len(ARMAG)]byte if _, err := io.ReadFull(f, magbuf[:]); err != nil { Exitf("file %s too short", name) } if string(magbuf[:]) != ARMAG { Exitf("%s is not an archive file", name) } var arhdr ArHdr l := nextar(f, f.Offset(), &arhdr) if l <= 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Nov 19 23:11:11 UTC 2022 - 7.2K bytes - Viewed (0)