- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,043 for gname (0.03 sec)
-
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",
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Feb 03 16:38:43 UTC 2025 - 39.8K bytes - Viewed (0) -
src/archive/tar/reader_test.go
tw := NewWriter(&buf) const name = "/foo" tw.WriteHeader(&Header{ Name: name, }) tw.Close() tr := NewReader(&buf) h, err := tr.Next() if err != nil { t.Fatalf("tr.Next with tarinsecurepath=1: got err %v, want nil", err) } if h.Name != name { t.Fatalf("tr.Next with tarinsecurepath=1: got name %q, want %q", h.Name, name) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0) -
src/archive/tar/common.go
// Passing an instance of this to [FileInfoHeader] permits the caller // to avoid a system-dependent name lookup by specifying the Uname and Gname directly. type FileInfoNames interface { fs.FileInfo // Uname should give a user name. Uname() (string, error) // Gname should give a group name. Gname() (string, error) } // isHeaderOnlyType checks if the given type flag is of the type that has no
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Sep 13 21:03:27 UTC 2024 - 24.5K bytes - Viewed (0) -
src/archive/tar/writer.go
func splitUSTARPath(name string) (prefix, suffix string, ok bool) { length := len(name) if length <= nameSize || !isASCII(name) { return "", "", false } else if length > prefixSize+1 { length = prefixSize + 1 } else if name[length-1] == '/' { length-- } i := strings.LastIndex(name[:length], "/") nlen := len(name) - i - 1 // nlen is length of suffix
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Feb 03 16:38:43 UTC 2025 - 19.7K bytes - Viewed (0) -
cmd/site-replication.go
} for pname := range allPolicies { if _, ok := policyStats[pname]; !ok { policyStats[pname] = make([]srPolicy, numSites) } // if pname is not present in the map, the zero value // will be returned. pi := sri.Policies[pname] policyStats[pname][i] = srPolicy{SRIAMPolicy: pi, DeploymentID: sri.DeploymentID} }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 184.7K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Name.java
* * @param cfg the configuration to use * @param name the NetbiosName to copy from */ public Name(final Configuration cfg, final NetbiosName name) { this.config = cfg; this.name = name.getName(); this.hexCode = name.getNameType(); this.scope = name.getScope(); if (name instanceof Name) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/Name.java
Name() { } /** * Creates a NetBIOS name with the specified attributes. * * @param name the NetBIOS name (will be truncated to 15 characters if longer) * @param hexCode the NetBIOS name type/suffix * @param scope the NetBIOS scope identifier (uses default if null or empty) */ public Name(String name, final int hexCode, final String scope) { if (name.length() > 15) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.2K bytes - Viewed (0) -
buildscripts/checkdeps.sh
#!/usr/bin/env bash # _init() { shopt -s extglob ## Minimum required versions for build dependencies GIT_VERSION="1.0" GO_VERSION="1.16" OSX_VERSION="10.8" KNAME=$(uname -s) ARCH=$(uname -m) case "${KNAME}" in SunOS) ARCH=$(isainfo -k) ;; esac } ## FIXME: ## In OSX, 'readlink -f' option does not exist, hence ## we have our own readlink -f behavior here.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Jun 08 16:12:05 UTC 2025 - 3.4K bytes - Viewed (0) -
ci/official/wheel.sh
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Mar 03 17:29:53 UTC 2025 - 3.8K bytes - Viewed (0) -
src/archive/zip/reader.go
files := r.fileList i, _ := slices.BinarySearchFunc(files, dir, func(a fileListEntry, dir string) (ret int) { idir, ielem, _ := split(a.name) if dir != idir { return strings.Compare(idir, dir) } return strings.Compare(ielem, elem) }) if i < len(files) { fname := files[i].name if fname == name || len(fname) == len(name)+1 && fname[len(name)] == '/' && fname[:len(name)] == name {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 28.4K bytes - Viewed (0)