Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 20 for algo (0.02 seconds)

  1. cmd/xl-storage_test.go

    	if _, err := rand.Read(data); err != nil {
    		t.Fatal(err)
    	}
    	algo := HighwayHash256
    	h := algo.New()
    	h.Write(data)
    	hashBytes := h.Sum(nil)
    	if err := storage.WriteAll(t.Context(), volName, fileName, data); err != nil {
    		t.Fatal(err)
    	}
    	if err := storage.storage.bitrotVerify(t.Context(), pathJoin(path, volName, fileName), size, algo, hashBytes, 0); err != nil {
    		t.Fatal(err)
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 66K bytes
    - Click Count (0)
  2. cmd/xl-storage-format-v2.go

    // returns to the caller which dataDir to delete, also
    // indicates if this is the last version.
    func (x *xlMetaV2) DeleteVersion(fi FileInfo) (string, error) {
    	// This is a situation where versionId is explicitly
    	// specified as "null", as we do not save "null"
    	// string it is considered empty. But empty also
    	// means the version which matches will be purged.
    	if fi.VersionID == nullVersionID {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 65.6K bytes
    - Click Count (1)
  3. cmd/xl-storage.go

    	parentDir := pathutil.Dir(srcFilePath)
    	s.deleteFile(srcVolumeDir, parentDir, false, false)
    
    	return nil
    }
    
    func (s *xlStorage) bitrotVerify(ctx context.Context, partPath string, partSize int64, algo BitrotAlgorithm, sum []byte, shardSize int64) error {
    	// Open the file for reading.
    	file, err := OpenFile(partPath, readMode, 0o666)
    	if err != nil {
    		return osErrToFileErr(err)
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 91.7K bytes
    - Click Count (0)
  4. cmd/erasure-server-pool.go

    		}, index)
    	}
    
    	for _, err := range g.Wait() {
    		if err != nil {
    			storageLogIf(ctx, err)
    		}
    		// let's the rest shutdown
    	}
    	return nil
    }
    
    // Legacy returns 'true' if distribution algo is CRCMOD
    func (z *erasureServerPools) Legacy() (ok bool) {
    	ok = true
    	for _, set := range z.serverPools {
    		ok = ok && set.Legacy()
    	}
    	return ok
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 89.2K bytes
    - Click Count (0)
  5. internal/bucket/lifecycle/lifecycle_test.go

    			objectName:             "foodir/fooobject",
    			versionID:              uuid.NewString(),
    			objectModTime:          time.Now().UTC().Add(-10 * 24 * time.Hour), // Created 10 days ago
    			objectSuccessorModTime: time.Now().UTC().Add(-10 * 24 * time.Hour), // Created 10 days ago
    			isNoncurrent:           true,
    			expectedAction:         DeleteVersionAction,
    		},
    		{
    			inputConfig: `<LifecycleConfiguration>
                                 <Rule>
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 55.5K bytes
    - Click Count (0)
  6. tensorflow/BUILD

            "//third_party/py/tensorfn/...",
        ],
    )
    
    # Packages that use private types symbols, until they are exported.
    # TODO(b/154650521) Remove.
    # If this is modified, then copy.bara.sky must also be modified.
    package_group(name = "types_allowlist")
    
    # Packages that use StructuredTensors.
    # TODO(b/159007891) Remove this package once StructuredTensor is exported.
    # LINT.IfChange
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Nov 12 19:21:56 GMT 2025
    - 53.1K bytes
    - Click Count (0)
  7. .bazelrc

    # Prevent regressions on those two incompatible changes
    # TODO: remove those flags when they are flipped in the default Bazel version TF uses.
    common --incompatible_enforce_config_setting_visibility
    # TODO: also enable this flag after fixing the visibility violations
    # common --incompatible_config_setting_private_default_visibility
    
    # TODO: Enable Bzlmod
    common --noenable_bzlmod
    common --enable_workspace
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Dec 26 23:20:26 GMT 2025
    - 56.8K bytes
    - Click Count (0)
  8. docs/bucket/notifications/README.md

    e/minio-mc/mc-event-add.html). MinIO SDK's [`BucketNotification` APIs](https://docs.min.io/community/minio-object-store/developers/go/API.html#setbucketnotification-ctx-context-context-bucketname-string-config-notification-configuration-error) can also be used. The notification message MinIO sends to publish an event is a JSON message with the following [structure](https://docs.aws.amazon.com/AmazonS3/latest/dev/notification-content-structure.html).
    
    Bucket events can be published to the...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 84.2K bytes
    - Click Count (0)
  9. cmd/bucket-handlers.go

    					// No difference in terms of domainIPs and nothing
    					// has changed so we don't change anything on the etcd.
    					//
    					// Additionally also check if domain is updated/missing with more
    					// entries, if that is the case we should update the
    					// new domain entries as well.
    					continue
    				}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 63.9K bytes
    - Click Count (0)
  10. cmd/iam.go

    		Groups:   set.CreateStringSet(q.Groups...),
    		Policies: set.CreateStringSet(q.Policy...),
    	}
    
    	if ldap {
    		// Validate and normalize users, then fetch and normalize their groups
    		// Also include unvalidated users for backward compatibility.
    		for _, user := range q.Users {
    			lookupRes, actualGroups, _ := sys.LDAPConfig.GetValidatedDNWithGroups(user)
    			if lookupRes != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 76.5K bytes
    - Click Count (0)
Back to Top