Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 54 for name (0.13 sec)

  1. src/archive/tar/stat_unix.go

    		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
    			groupMap.Store(h.Gid, h.Gname)
    		}
    	}
    	h.AccessTime = statAtime(sys)
    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)
  2. src/cmd/asm/internal/asm/endtoend_test.go

    		"avx512enc/avx512_bitalg",
    		"avx512enc/avx512_ifma",
    		"avx512enc/avx512_vbmi",
    		"avx512enc/avx512_vbmi2",
    		"avx512enc/avx512_vnni",
    		"avx512enc/avx512_vpopcntdq",
    	}
    	for _, name := range filenames {
    		testEndToEnd(t, "amd64", name)
    	}
    }
    
    func TestAMD64Errors(t *testing.T) {
    	testErrors(t, "amd64", "amd64error")
    }
    
    func TestAMD64DynLinkErrors(t *testing.T) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue1435.go

    	if err != nil {
    		return fmt.Errorf("unable to find %d tasks: %v", pid, err)
    	}
    	expectedProc := fmt.Sprintf("Pid:\t%d", pid)
    	foundAThread := false
    	for _, f := range fs {
    		tf := fmt.Sprintf("/proc/%s/status", f.Name())
    		d, err := os.ReadFile(tf)
    		if err != nil {
    			// There are a surprising number of ways this
    			// can error out on linux.  We've seen all of
    			// the following, so treat any error here as
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  4. src/cmd/api/main_test.go

    		w.emitf("type %s = %s", name, w.typeString(typ))
    		return
    	}
    	if tparams := obj.Type().(*types.Named).TypeParams(); tparams != nil {
    		var buf bytes.Buffer
    		buf.WriteString(name)
    		w.writeTypeParams(&buf, tparams, true)
    		name = buf.String()
    	}
    	switch typ := typ.Underlying().(type) {
    	case *types.Struct:
    		w.emitStructType(name, typ)
    	case *types.Interface:
    		w.emitIfaceType(name, typ)
    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)
  5. src/archive/tar/writer_test.go

    	for _, test := range []struct {
    		name string
    		h    *Header
    	}{{
    		name: "name too long",
    		h:    &Header{Name: strings.Repeat("a", maxSpecialFileSize)},
    	}, {
    		name: "linkname too long",
    		h:    &Header{Linkname: strings.Repeat("a", maxSpecialFileSize)},
    	}, {
    		name: "uname too long",
    		h:    &Header{Uname: strings.Repeat("a", maxSpecialFileSize)},
    	}, {
    		name: "gname too long",
    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)
  6. src/archive/tar/tar_test.go

    		if err != nil {
    			t.Error(err)
    			continue
    		}
    		if strings.Contains(fi.Name(), "/") {
    			t.Errorf("FileInfo of %q contains slash: %q", v.h.Name, fi.Name())
    		}
    		name := path.Base(v.h.Name)
    		if fi.IsDir() {
    			name += "/"
    		}
    		if got, want := h2.Name, name; got != want {
    			t.Errorf("i=%d: Name: got %v, want %v", i, got, want)
    		}
    		if got, want := h2.Size, v.h.Size; got != want {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  7. src/archive/zip/writer.go

    // It returns a [Writer] to which the file contents should be written.
    // The file contents will be compressed using the [Deflate] method.
    // The name must be a relative path: it must not start with a drive
    // letter (e.g. C:) or leading slash, and only forward slashes are
    // allowed. To create a directory instead of a file, add a trailing
    // slash to the name.
    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)
  8. src/cmd/addr2line/main.go

    			continue
    		}
    		pc, _ := strconv.ParseUint(strings.TrimPrefix(p, "0x"), 16, 64)
    		file, line, fn := tab.PCToLine(pc)
    		name := "?"
    		if fn != nil {
    			name = fn.Name
    		} else {
    			file = "?"
    			line = 0
    		}
    		fmt.Fprintf(stdout, "%s\n%s:%d\n", name, file, line)
    	}
    	stdout.Flush()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  9. src/archive/tar/reader.go

    	default:
    		return nil, nil // Not a PAX format GNU sparse file.
    	}
    	hdr.Format.mayOnlyBe(FormatPAX)
    
    	// Update hdr from GNU sparse PAX headers.
    	if name := hdr.PAXRecords[paxGNUSparseName]; name != "" {
    		hdr.Name = name
    	}
    	size := hdr.PAXRecords[paxGNUSparseSize]
    	if size == "" {
    		size = hdr.PAXRecords[paxGNUSparseRealSize]
    	}
    	if size != "" {
    		n, err := strconv.ParseInt(size, 10, 64)
    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)
  10. src/cmd/asm/internal/arch/arm64.go

    // ARM64RegisterArrangement constructs an ARM64 vector register arrangement.
    func ARM64RegisterArrangement(reg int16, name, arng string) (int64, error) {
    	var curQ, curSize uint16
    	if name[0] != 'V' {
    		return 0, errors.New("expect V0 through V31; found: " + name)
    	}
    	if reg < 0 {
    		return 0, errors.New("invalid register number: " + name)
    	}
    	switch arng {
    	case "B8":
    		curSize = 0
    		curQ = 0
    	case "B16":
    		curSize = 0
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 29 09:04:58 GMT 2022
    - 10.4K bytes
    - Viewed (0)
Back to top