Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 178 for Xattrs (0.17 sec)

  1. src/archive/tar/testdata/xattrs.tar

    Russ Cox <******@****.***> 1410149331 -0400
    TAR Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Sep 08 04:08:51 GMT 2014
    - 5K bytes
    - Viewed (0)
  2. src/archive/tar/testdata/pax-nul-xattrs.tar

    Joe Tsai <******@****.***> 1442533177 -0700
    TAR Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Aug 11 03:12:47 GMT 2017
    - 2.5K bytes
    - Viewed (0)
  3. 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.
    	//
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  4. 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},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  5. 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 !reflect.DeepEqual(hdr.Xattrs, xattrs) {
    		t.Fatalf("xattrs did not survive round trip: got %+v, want %+v",
    			hdr.Xattrs, xattrs)
    	}
    }
    
    func TestPaxHeadersSorted(t *testing.T) {
    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/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
    }
    
    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)
  7. 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)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  8. tensorflow/c/eager/tfe_op_attrs_internal.h

    ==============================================================================*/
    #ifndef TENSORFLOW_C_EAGER_TFE_OP_ATTRS_INTERNAL_H_
    #define TENSORFLOW_C_EAGER_TFE_OP_ATTRS_INTERNAL_H_
    
    #include "tensorflow/c/conversion_macros.h"
    #include "tensorflow/c/eager/abstract_op_attrs.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/core/framework/attr_value.pb.h"
    
    // An equivalent of a tensorflow::NameAttrList protocol buffer, but used in ways
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 10 05:41:19 GMT 2021
    - 1.6K bytes
    - Viewed (0)
  9. tensorflow/c/eager/abstract_op_attrs.h

      virtual void GetNameAttrList(
          tensorflow::NameAttrList* name_and_attrs) const = 0;
    
      virtual bool GetInt(absl::string_view, int64_t* result) const = 0;
      virtual bool GetFloat(absl::string_view attr_name, float* result) const = 0;
      virtual bool GetBool(absl::string_view attr_name, bool* result) const = 0;
      virtual bool GetType(absl::string_view attr_name, DataType* result) const = 0;
      virtual Status GetTypeList(
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed May 26 22:20:27 GMT 2021
    - 2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbCopyUtil.java

                    SmbConstants.FILE_NO_SHARE,
                    attrs,
                    0);
            }
            catch ( SmbAuthException sae ) {
                log.trace("copyTo0", sae);
                int dattrs = dest.getAttributes();
                if ( ( dattrs & SmbConstants.ATTR_READONLY ) != 0 ) {
                    /*
                     * Remove READONLY and try again
                     */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 17.1K bytes
    - Viewed (0)
Back to top