Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 671 - 680 of 910 for Must (0.03 seconds)

  1. cmd/erasure-sets.go

    		disks := make([]StorageAPI, s.setDriveCount)
    		copy(disks, s.erasureDisks[setIndex])
    		return disks
    	}
    }
    
    // defaultMonitorConnectEndpointInterval is the interval to monitor endpoint connections.
    // Must be bigger than defaultMonitorNewDiskInterval.
    const defaultMonitorConnectEndpointInterval = defaultMonitorNewDiskInterval + time.Second*5
    
    // Initialize new set of erasure coded sets.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37K bytes
    - Click Count (1)
  2. cmd/xl-storage-format-v2_test.go

    	var xl xlMetaV2
    	err := xl.Load(data)
    	if err != nil {
    		t.Fatal(err)
    	}
    	v0 := xl.versions[0]
    
    	// Saved with signature 0xfe, 0x54, 0xbc, 0x2f
    	// Signature must be converted after load.
    	wantSig := [4]byte{0x1e, 0x5f, 0xba, 0x4a}
    	if v0.header.Signature != wantSig {
    		t.Errorf("Wrong signature, want %#v, got %#v", wantSig, v0.header.Signature)
    	}
    	v, err := xl.getIdx(0)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37.8K bytes
    - Click Count (0)
  3. cmd/iam.go

    		hasSessionPolicy = false
    		return hasSessionPolicy, isAllowed
    	}
    
    	// As the session policy exists, even if the parent is the root account, it
    	// must be restricted by it. So, we set `.IsOwner` to false here
    	// unconditionally.
    	//
    	// We also set `DenyOnly` arg to false here - this is an IMPORTANT corner
    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)
  4. cmd/object_api_suite_test.go

    	if err != nil {
    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    
    	var opts ObjectOptions
    	uploadContent := "The list of parts was not in ascending order. The parts list must be specified in order by part number."
    	length := int64(len(uploadContent))
    	_, err = obj.PutObject(context.Background(), "bucket", "object", mustGetPutObjReader(t, bytes.NewBufferString(uploadContent), length, "", ""), opts)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  5. cmd/erasure-multipart.go

    				offlineDrives++
    				continue
    			}
    		}
    
    		if offlineDrives >= (len(onlineDisks)+1)/2 {
    			// if offline drives are more than 50% of the drives
    			// we have no quorum, we shouldn't proceed just
    			// fail at that point.
    			return nil, toObjectErr(errErasureWriteQuorum, bucket, object)
    		}
    
    		if parityDrives >= len(onlineDisks)/2 {
    			parityDrives = len(onlineDisks) / 2
    		}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 47.1K bytes
    - Click Count (0)
  6. cmd/sts-handlers_test.go

    	if !gotBuckets.Equals(shouldHaveBuckets) {
    		c.Fatalf("root user should have access to all buckets")
    	}
    
    	// This must fail.
    	if err := userAdmClient.AddUser(ctx, globalActiveCred.AccessKey, globalActiveCred.SecretKey); err == nil {
    		c.Fatal("AddUser() for root credential must fail via root STS creds")
    	}
    }
    
    // TestSTSTokenRevoke - tests the token revoke API
    func (s *TestSuiteIAM) TestSTSTokenRevoke(c *check) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 103.4K bytes
    - Click Count (1)
  7. configure.py

        if var_content in true_strings:
          var = True
        elif var_content in false_strings:
          var = False
        else:
          raise UserInputError(
              'Environment variable %s must be set as a boolean indicator.\n'
              'The following are accepted as TRUE : %s.\n'
              'The following are accepted as FALSE: %s.\n'
              'Current value is %s.' %
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Apr 30 15:18:54 GMT 2025
    - 48.3K bytes
    - Click Count (0)
  8. RELEASE.md

        the final state instead of the list of all states.
    *   `tf.scatter_update` now no longer guarantees that lexicographically largest
        index be used for update when duplicate entries exist.
    *   `tf.image.random_crop(image, [height, width])` is now `tf.random_crop(image,
        [height, width, depth])`, and `tf.random_crop` works for any rank (not just
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Tue Oct 28 22:27:41 GMT 2025
    - 740.4K bytes
    - Click Count (3)
  9. tests/migrate_test.go

    	if err != nil {
    		t.Errorf("AutoMigrate err:%v", err)
    	}
    
    	err = db.Table("objects").AutoMigrate(&Object3{})
    	if err != nil {
    		t.Errorf("AutoMigrate err:%v", err)
    	}
    }
    
    // TODO: ERROR: must have at least one column (SQLSTATE 0A000)
    func TestInvalidCachedPlanSimpleProtocolGaussDB(t *testing.T) {
    	t.Skipf("This test case skipped, because of gaussdb not support creaing empty table(SQLSTATE 0A000)")
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Aug 20 04:51:17 GMT 2025
    - 65.2K bytes
    - Click Count (0)
  10. compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java

    public class ModelMerger {
    
        /**
         * Merges the specified source object into the given target object.
         *
         * @param target The target object whose existing contents should be merged with the source, must not be
         *            <code>null</code>.
         * @param source The (read-only) source object that should be merged into the target object, may be
         *            <code>null</code>.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 11:21:39 GMT 2025
    - 99.2K bytes
    - Click Count (0)
Back to Top