Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 249 for metadata_ (0.06 sec)

  1. cmd/erasure-object_test.go

    	// Object for test case 2 - No StorageClass defined, MetaData in PutObject requesting RRS Class
    	object2 := "object2"
    	metadata2 := make(map[string]string)
    	metadata2["x-amz-storage-class"] = storageclass.RRS
    	_, err = obj.PutObject(ctx, bucket, object2, mustGetPutObjReader(t, bytes.NewReader(data), int64(len(data)), "", ""), ObjectOptions{UserDefined: metadata2})
    	if err != nil {
    		t.Fatalf("Failed to putObject %v", err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  2. api/maven-api-metadata/src/main/mdo/metadata.mdo

      xml.namespace="http://maven.apache.org/METADATA/${version}"
      xml.schemaLocation="https://maven.apache.org/xsd/repository-metadata-${version}.xsd">
      <id>repository-metadata</id>
      <name>Metadata</name>
      <description><![CDATA[
        <p>Per-directory repository metadata <code>repository-metadata.xml</code>.</p>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. cmd/erasure-metadata.go

    		return false
    	}
    	return true
    }
    
    // MetadataEquals returns true if FileInfos Metadata maps are equal, false otherwise.
    func (fi FileInfo) MetadataEquals(ofi FileInfo) bool {
    	if len(fi.Metadata) != len(ofi.Metadata) {
    		return false
    	}
    	for k, v := range fi.Metadata {
    		if ov, ok := ofi.Metadata[k]; !ok || ov != v {
    			return false
    		}
    	}
    	return true
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  4. cmd/bucket-metadata.go

    	if b.Created.IsZero() {
    		b.Created = UTCNow()
    	}
    	if !createdAt.IsZero() {
    		b.Created = createdAt.UTC()
    	}
    }
    
    // Load - loads the metadata of bucket by name from ObjectLayer api.
    // If an error is returned the returned metadata will be default initialized.
    func readBucketMetadata(ctx context.Context, api ObjectLayer, name string) (BucketMetadata, error) {
    	if name == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. cmd/bucket-metadata-sys.go

    	}
    
    	return loadBucketMetadata(ctx, objAPI, bucket)
    }
    
    var errBucketMetadataNotInitialized = errors.New("bucket metadata not initialized yet")
    
    // GetConfig returns a specific configuration from the bucket metadata.
    // The returned object may not be modified.
    // reloaded will be true if metadata refreshed from disk
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. cmd/erasure-metadata-utils.go

    	start := int(keyCrc % uint32(cardinality))
    	for i := 1; i <= cardinality; i++ {
    		nums[i-1] = 1 + ((start + i) % cardinality)
    	}
    	return nums
    }
    
    // Reads all `xl.meta` metadata as a FileInfo slice.
    // Returns error slice indicating the failed metadata reads.
    func readAllFileInfo(ctx context.Context, disks []StorageAPI, origbucket string, bucket, object, versionID string, readData, healing bool) ([]FileInfo, []error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. cmd/bucket-targets.go

    func parseBucketTargetConfig(bucket string, cdata, cmetadata []byte) (*madmin.BucketTargets, error) {
    	var (
    		data []byte
    		err  error
    		t    madmin.BucketTargets
    		meta map[string]string
    	)
    	if len(cdata) == 0 {
    		return nil, nil
    	}
    	data = cdata
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if len(cmetadata) != 0 {
    		if err := json.Unmarshal(cmetadata, &meta); err != nil {
    			return nil, err
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

            // snapshot timestamp, or some other timestamp later encoded into the metadata.
            // TODO this needs to be repeated here so the merging doesn't interfere with the written metadata
            //  - we'd be much better having a pristine input, and an ongoing metadata for merging instead
    
            Map<ArtifactRepository, Metadata> previousMetadata = new HashMap<>();
            ArtifactRepository selected = null;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  9. internal/crypto/metadata_test.go

    )
    
    var isMultipartTests = []struct {
    	Metadata  map[string]string
    	Multipart bool
    }{
    	{Multipart: true, Metadata: map[string]string{MetaMultipart: ""}},                          // 0
    	{Multipart: true, Metadata: map[string]string{"X-Minio-Internal-Encrypted-Multipart": ""}}, // 1
    	{Multipart: true, Metadata: map[string]string{MetaMultipart: "some-value"}},                // 2
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            private final Metadata metadata;
    
            ArtifactMetadataAdapter(Metadata metadata) {
                this.metadata = metadata;
            }
    
            public boolean storedInArtifactVersionDirectory() {
                return !metadata.getVersion().isEmpty();
            }
    
            public boolean storedInGroupDirectory() {
                return metadata.getArtifactId().isEmpty();
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top