Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Difference (0.19 sec)

  1. docs/bucket/replication/setup_3site_replication.sh

    ./mc cp --enc-s3 "sitea/" --quiet /etc/hosts sitea/bucket
    sleep 1
    
    echo "Copying data to source sitea/olockbucket"
    ./mc cp --quiet /etc/hosts sitea/olockbucket
    sleep 1
    
    echo "Verifying the metadata difference between source and target"
    if diff -pruN <(./mc stat --json sitea/bucket/hosts | jq .) <(./mc stat --json siteb/bucket/hosts | jq .) | grep -q 'COMPLETED\|REPLICA'; then
    	echo "verified sitea-> COMPLETED, siteb-> REPLICA"
    fi
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Maps.java

          SortedMap<K, ? extends V> sortedLeft = (SortedMap<K, ? extends V>) left;
          return difference(sortedLeft, right);
        }
        return difference(left, right, Equivalence.equals());
      }
    
      /**
       * Computes the difference between two maps. This difference is an immutable snapshot of the state
       * of the maps at the time this method is called. It will never change, even if the maps change at
       * a later time.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 159.3K bytes
    - Viewed (0)
  3. cmd/metrics-resource.go

    	metric.Avg = metric.Sum / float64(metric.Count)
    	subsysMetrics[key] = metric
    
    	resourceMetricsMap[subSys] = subsysMetrics
    }
    
    // updateDriveIOStats - Updates the drive IO stats by calculating the difference between the current and latest updated values.
    func updateDriveIOStats(currentStats madmin.DiskIOStats, latestStats madmin.DiskIOStats, labels map[string]string) {
    	sectorSize := uint64(512)
    	kib := float64(1 << 10)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    	policiesToUpdate := set.CreateStringSet(policies...)
    	var newPolicySet set.StringSet
    	newPolicyMapping := mp
    	if isAttach {
    		// new policies to attach => inputPolicies - existing (set difference)
    		policiesToUpdate = policiesToUpdate.Difference(existingPolicySet)
    		// validate that new policies to add are defined.
    		for _, p := range policiesToUpdate.ToSlice() {
    			if _, found := cache.iamPolicyDocsMap[p]; !found {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  5. cmd/bucket-handlers.go

    				bucketsToBeUpdated.Add(bucket.Name)
    				continue
    			}
    			if !globalDomainIPs.Intersection(set.CreateStringSet(getHostsSlice(r)...)).IsEmpty() {
    				if globalDomainIPs.Difference(set.CreateStringSet(getHostsSlice(r)...)).IsEmpty() && !domainMissing {
    					// 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
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  6. cmd/globals.go

    const (
    	// Limit fields size (except file) to 1Mib since Policy document
    	// can reach that size according to https://aws.amazon.com/articles/1434
    	maxFormFieldSize = int64(1 * humanize.MiByte)
    
    	// The maximum allowed time difference between the incoming request
    	// date and server date during signature verification.
    	globalMaxSkewTime = 15 * time.Minute // 15 minutes skew allowed.
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  7. cmd/storage-rest-server.go

    	if delta < 0 {
    		delta *= -1
    	}
    	if delta > DefaultSkewTime {
    		return errSkewedAuthTime
    	}
    
    	return nil
    }
    
    // IsAuthValid - To authenticate and verify the time difference.
    func (s *storageRESTServer) IsAuthValid(w http.ResponseWriter, r *http.Request) bool {
    	if s.getStorage() == nil {
    		s.writeErrorResponse(w, errDiskNotFound)
    		return false
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  8. cmd/api-errors.go

    		HTTPStatusCode: http.StatusPreconditionFailed,
    	},
    	ErrRequestTimeTooSkewed: {
    		Code:           "RequestTimeTooSkewed",
    		Description:    "The difference between the request time and the server's time is too large.",
    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrSignatureDoesNotMatch: {
    		Code:           "SignatureDoesNotMatch",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 90.6K bytes
    - Viewed (6)
  9. cmd/iam.go

    		validPolicies, _ := sys.store.FilterPolicies(rolePolicies, "")
    		knownPoliciesSet := newMappedPolicy(validPolicies).policySet()
    		unknownPoliciesSet := specifiedPoliciesSet.Difference(knownPoliciesSet)
    		if len(unknownPoliciesSet) > 0 {
    			authz := newGlobalAuthZPluginFn()
    			if authz == nil {
    				// Print a warning that some policies mapped to a role are not defined.
    				errMsg := fmt.Errorf(
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  10. cmd/site-replication.go

    // returns a slice with site names participating in site replciation but unspecified while adding
    // a new site.
    func getMissingSiteNames(oldDeps, newDeps set.StringSet, currSites []madmin.PeerInfo) []string {
    	diff := oldDeps.Difference(newDeps)
    	var diffSlc []string
    	for _, v := range currSites {
    		if diff.Contains(v.DeploymentID) {
    			diffSlc = append(diffSlc, v.Name)
    		}
    	}
    	return diffSlc
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
Back to top