Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 75 for minimatch (0.14 sec)

  1. tensorflow/c/eager/c_api_cluster_test.cc

      memcpy(actual_values.get(), TF_TensorData(t), TF_TensorByteSize(t));
      TF_DeleteTensor(t);
    
      for (int i = 0; i < expected_values.size(); i++) {
        EXPECT_EQ(expected_values[i], actual_values[i])
            << "Mismatch in expected values at (zero-based) index " << i;
      }
    }
    
    void CheckRemoteMatMulExecutesOK(TFE_Context* ctx,
                                     const char* remote_device_name,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. cmd/background-newdisks-heal-ops.go

    		return nil, err
    	}
    	var h healingTracker
    	_, err = h.UnmarshalMsg(b)
    	if err != nil {
    		return nil, err
    	}
    	if h.ID != diskID && h.ID != "" {
    		return nil, fmt.Errorf("loadHealingTracker: drive id mismatch expected %s, got %s", h.ID, diskID)
    	}
    	h.disk = disk
    	h.ID = diskID
    	h.mu = &sync.RWMutex{}
    	return &h, nil
    }
    
    // newHealingTracker will create a new healing tracker for the disk.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2.go

    	// Prefer lower types
    	if x.Type != o.Type {
    		return x.Type < o.Type
    	}
    	// Consistent sort on signature
    	if v := bytes.Compare(x.Signature[:], o.Signature[:]); v != 0 {
    		return v > 0
    	}
    	// On ID mismatch
    	if v := bytes.Compare(x.VersionID[:], o.VersionID[:]); v != 0 {
    		return v > 0
    	}
    	// Flags
    	if x.Flags != o.Flags {
    		return x.Flags > o.Flags
    	}
    	return false
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  4. cmd/object-api-multipart_test.go

    		{bucketName: bucket, objName: "none-object", uploadID: uploadID, PartID: 1, expectedError: fmt.Errorf("%s", "Invalid upload id "+uploadID)},
    		// Test case - 12.
    		// Input to replicate Md5 mismatch.
    		{
    			bucketName: bucket, objName: object, uploadID: uploadID, PartID: 1, inputMd5: "d41d8cd98f00b204e9800998ecf8427f",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  5. cmd/object-multipart-handlers.go

    			return true
    		}
    		if checkCopyObjectPartPreconditions(ctx, w, r, o) {
    			return true
    		}
    		if parseRangeErr != nil {
    			writeCopyPartErr(ctx, w, parseRangeErr, r.URL)
    			// Range header mismatch is pre-condition like failure
    			// so return true to indicate Range precondition failed.
    			return true
    		}
    		return false
    	}
    	getOpts.CheckPrecondFn = checkCopyPartPrecondFn
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  6. cmd/erasure-healing-common_test.go

    			t.Errorf("Drive erroneously filtered, driveIndex: %d", diskIndex)
    		}
    	}
    	partsMetadata[1] = partsMetadataBackup // Revert before going to the next test
    
    	// Test 4: key = disk index, value = part name with hash mismatch
    	diskFailures := make(map[int]string)
    	diskFailures[0] = "part.1"
    	diskFailures[3] = "part.1"
    	diskFailures[15] = "part.1"
    
    	for diskIndex, partName := range diskFailures {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 15:19:10 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. cmd/object-api-putobject_test.go

    		// Valid object and bucket names but non-existent bucket.
    		5: {bucketName: "abc", objName: "def", inputData: []byte(""), expectedError: BucketNotFound{Bucket: "abc"}},
    
    		// Input to replicate Md5 mismatch.
    		6: {
    			bucketName: bucket, objName: object, inputData: []byte(""),
    			inputMeta:     map[string]string{"etag": "d41d8cd98f00b204e9800998ecf8427f"},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. cmd/metacache-entries.go

    func (e metaCacheEntry) hasPrefix(s string) bool {
    	return strings.HasPrefix(e.name, s)
    }
    
    // matches returns if the entries have the same versions.
    // If strict is false we allow signatures to mismatch.
    func (e *metaCacheEntry) matches(other *metaCacheEntry, strict bool) (prefer *metaCacheEntry, matches bool) {
    	if e == nil && other == nil {
    		return nil, true
    	}
    	if e == nil {
    		return other, false
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    		Cause: err,
    		Code:  ErrSiteReplicationConfigMissing,
    	}
    }
    
    func errSRIAMConfigMismatch(peer1, peer2 string, s1, s2 madmin.IDPSettings) SRError {
    	return SRError{
    		Cause: fmt.Errorf("IAM/IDP settings mismatch between %s and %s: %#v vs %#v", peer1, peer2, s1, s2),
    		Code:  ErrSiteReplicationIAMConfigMismatch,
    	}
    }
    
    var errSRObjectLayerNotReady = SRError{
    	Cause: fmt.Errorf("object layer not ready"),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  10. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSiteReplicationIAMConfigMismatch: {
    		Code:           "XMinioSiteReplicationIAMConfigMismatch",
    		Description:    "IAM configuration mismatch between sites",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrAdminRebalanceAlreadyStarted: {
    		Code:           "XMinioAdminRebalanceAlreadyStarted",
    		Description:    "Pool rebalance is already started",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
Back to top