- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 70 for Xattrs (1.59 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/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) -
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) -
chainable_api.go
// db.Where(User{Name: "jinzhu"}).Attrs(User{Email: "******@****.***"}).FirstOrInit(&user) // // user -> User{Name: "jinzhu", Age: 20} // // [FirstOrCreate]: https://gorm.io/docs/advanced_query.html#FirstOrCreate // [FirstOrInit]: https://gorm.io/docs/advanced_query.html#FirstOrInit func (db *DB) Attrs(attrs ...interface{}) (tx *DB) { tx = db.getInstance() tx.Statement.attrs = attrs return }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 14.8K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
public FileInfo(String name, SmbFileAttributes attrs) { this.name = name; this.size = attrs.getSize(); this.lastModified = attrs.getLastWriteTime(); this.isDirectory = attrs.isDirectory(); this.attributes = attrs.getAttributes(); this.creationTime = attrs.getCreateTime(); this.lastAccessTime = attrs.getLastAccessTime(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSetInformation.java
* @param filename the name of the file to modify * @param attrs the file attributes to set * @param mtime the modification time to set in milliseconds since epoch */ public SmbComSetInformation(final Configuration config, final String filename, final int attrs, final long mtime) { super(config, SMB_COM_SET_INFORMATION, filename); this.fileAttributes = attrs; this.lastWriteTime = mtime; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0)