Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for surname (0.29 sec)

  1. src/archive/tar/writer_test.go

    	tr := NewReader(&buf)
    
    	entries, err := fsys.ReadDir(".")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	var curfname string
    	for _, entry := range entries {
    		curfname = entry.Name()
    		if entry.IsDir() {
    			curfname += "/"
    			continue
    		}
    		hdr, err := tr.Next()
    		if err == io.EOF {
    			break // End of archive
    		}
    		if err != nil {
    			t.Fatal(err)
    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)
  2. src/archive/tar/reader.go

    	hdr.Gid = int(p.parseNumeric(v7.gid()))
    	hdr.ModTime = time.Unix(p.parseNumeric(v7.modTime()), 0)
    
    	// Unpack format specific fields.
    	if format > formatV7 {
    		ustar := tr.blk.toUSTAR()
    		hdr.Uname = p.parseString(ustar.userName())
    		hdr.Gname = p.parseString(ustar.groupName())
    		hdr.Devmajor = p.parseNumeric(ustar.devMajor())
    		hdr.Devminor = p.parseNumeric(ustar.devMinor())
    
    		var prefix string
    		switch {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  3. src/cmd/api/main_test.go

    			//   extra care when printing them - ignore since it is not
    			//   going to change w/o a language change.
    			// - Internal and vendored packages do not contribute to our
    			//   API surface. (If we are running within the "std" module,
    			//   vendored dependencies appear as themselves instead of
    			//   their "vendor/" standard-library copies.)
    			// - 'go list std' does not include commands, which cannot be
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  4. src/archive/tar/stat_unix.go

    		// (not implemented on that platform, cgo not enabled, etc).
    		if u, ok := userMap.Load(h.Uid); ok {
    			h.Uname = u.(string)
    		} else if u, err := user.LookupId(strconv.Itoa(h.Uid)); err == nil {
    			h.Uname = u.Username
    			userMap.Store(h.Uid, h.Uname)
    		}
    		if g, ok := groupMap.Load(h.Gid); ok {
    			h.Gname = g.(string)
    		} else if g, err := user.LookupGroupId(strconv.Itoa(h.Gid)); err == nil {
    			h.Gname = g.Name
    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)
Back to top