Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for Difference (1.94 sec)

  1. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  2. src/bytes/compare_test.go

    			}
    			b[k] = a[k]
    		}
    	}
    }
    
    func TestEndianBaseCompare(t *testing.T) {
    	// This test compares byte slices that are almost identical, except one
    	// difference that for some j, a[j]>b[j] and a[j+1]<b[j+1]. If the implementation
    	// compares large chunks with wrong endianness, it gets wrong result.
    	// no vector register is larger than 512 bytes for now
    	const maxLength = 512
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 13 23:11:42 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  3. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  4. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  5. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  6. operator/cmd/mesh/manifest-diff.go

    	diff, err := compare.ManifestDiffWithRenameSelectIgnore(string(a), string(b), renameResources, selectResources,
    		ignoreResources, verbose)
    	if err != nil {
    		return false, err
    	}
    	if diff != "" {
    		fmt.Printf("Differences in manifests are:\n%s\n", diff)
    		return false, nil
    	}
    
    	fmt.Println("Manifests are identical")
    	return true, nil
    }
    
    func yamlFileFilter(path string) bool {
    	return filepath.Ext(path) == YAMLSuffix
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. operator/cmd/mesh/profile-diff_test.go

    	cases := []profileDiffTestcase{
    		{
    			// We won't be parsing with Cobra, but this is the command equivalent
    			args: "profile diff default openshift",
    			// This is just one of the many differences
    			expectedString: "+    profile: openshift",
    			// The profile doesn't change istiocoredns, so we shouldn't see this in the diff
    			notExpected: "-    istiocoredns:",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  8. cmd/xl-storage-format_test.go

    	for i := 0; i < totalParts; i++ {
    		// hard coding hash and algo value for the checksum, Since we are benchmarking the parsing of xl.meta the magnitude doesn't affect the test,
    		// The magnitude doesn't make a difference, only the size does.
    		xlMeta.AddTestObjectCheckSum(i+1, BLAKE2b512, "a23f5eff248c4372badd9f3b2455a285cd4ca86c3d9a570b091d3fc5cd7ca6d9484bbea3f8c5d8d4f84daae96874419eda578fd736455334afbac2c924b3915a")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  9. tests/sql_builder_test.go

    	// By default DB.DryRun should false
    	if DB.DryRun {
    		t.Fatal("Failed expect DB.DryRun to be false")
    	}
    
    	if DB.Dialector.Name() == "sqlserver" {
    		t.Skip("Skip SQL Server for this test, because it too difference with other dialects.")
    	}
    
    	date, _ := time.ParseInLocation("2006-01-02", "2021-10-18", time.Local)
    
    	// find
    	sql := DB.ToSQL(func(tx *gorm.DB) *gorm.DB {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  10. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top