- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 90 for Xattrs (0.04 sec)
-
src/archive/tar/writer_test.go
if err := writer.Close(); err != nil { t.Fatal(err) } // Test that we can get the xattrs back out of the archive. reader := NewReader(&buf) hdr, err = reader.Next() if err != nil { t.Fatal(err) } if !maps.Equal(hdr.Xattrs, xattrs) { t.Fatalf("xattrs did not survive round trip: got %+v, want %+v", hdr.Xattrs, xattrs) } } func TestPaxHeadersSorted(t *testing.T) {
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/common.go
Devminor int64 // Minor device number (valid for TypeChar or TypeBlock) // Xattrs stores extended attributes as PAX records under the // "SCHILY.xattr." namespace. // // The following are semantically equivalent: // h.Xattrs[key] = value // h.PAXRecords["SCHILY.xattr."+key] = value // // When Writer.WriteHeader is called, the contents of Xattrs will take // precedence over those in PAXRecords. //
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/tar_test.go
formats: FormatPAX | FormatGNU, }, { header: &Header{Xattrs: nil}, formats: FormatUSTAR | FormatPAX | FormatGNU, }, { header: &Header{Xattrs: map[string]string{"foo": "bar"}}, paxHdrs: map[string]string{paxSchilyXattr + "foo": "bar"}, formats: FormatPAX, }, { header: &Header{Xattrs: map[string]string{"foo": "bar"}, Format: FormatGNU},
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 23.9K bytes - Viewed (0) -
src/archive/tar/reader.go
hdr.ChangeTime, err = parsePAXTime(v) case paxSize: hdr.Size, err = strconv.ParseInt(v, 10, 64) default: if strings.HasPrefix(k, paxSchilyXattr) { if hdr.Xattrs == nil { hdr.Xattrs = make(map[string]string) } hdr.Xattrs[k[len(paxSchilyXattr):]] = v } } if err != nil { return ErrHeader } } hdr.PAXRecords = paxHdrs return nil }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0) -
src/archive/tar/reader_test.go
}, ok: false, }, { in: map[string]string{ "missing": "missing", "SCHILY.xattr.key": "value", }, want: &Header{ Xattrs: map[string]string{"key": "value"}, PAXRecords: map[string]string{ "missing": "missing", "SCHILY.xattr.key": "value", }, }, ok: true, }} for i, v := range vectors { got := new(Header)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0) -
docs/debugging/xattr/main.go
} var names []string if name == "." { attrs, err := listxattr(path) if err != nil { log.Fatalln(fmt.Errorf("listing attributes failed with: %v", err)) } names = append(names, attrs...) } else { names = append(names, name) } var data [][]string for _, attr := range names { value, err := getxattr(path, attr) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Dec 29 23:52:41 UTC 2023 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
final int dattrs = dest.getAttributes(); if ((dattrs & SmbConstants.ATTR_READONLY) != 0) { /* * Remove READONLY and try again */ dest.setPathInformation(dattrs & ~SmbConstants.ATTR_READONLY, 0L, 0L, 0L); return dest.openUnshared(SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/DomUtil.java
for (int i = 0; i < length; ++i) { final Attr attr = (Attr) attrs.item(i); buf.append(' '); appendAttr(attr, buf); } } /** * Appends the string representation of an {@link Attr}. * * @param attr * The attribute. Must not be {@literal null}. * @param buf
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 10.1K bytes - Viewed (0) -
tensorflow/c/c_api.cc
for (it = attrs.begin(); it != attrs.end(); it++) { if (count == i) { return it->first.length(); } count++; } return -1; } void TF_OperationGetAttrName(TF_Operation* oper, int i, char* output, TF_Status* status) { auto attrs = oper->node.attrs(); int count = 0; AttrValueMap::const_iterator it; for (it = attrs.begin(); it != attrs.end(); it++) {
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Tue May 13 06:30:43 UTC 2025 - 102.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
final Attributes attrs = srcrslt.getAttributes(); //get group attr final Attribute attr = attrs.get(fessConfig.getLdapMemberofAttribute()); if (attr == null) { continue; } for (int i = 0; i < attr.size(); i++) { final Object attrValue = attr.get(i); if (attrValue != null) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 82K bytes - Viewed (0)