Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for hits (0.17 sec)

  1. cmd/test-utils_test.go

    )
    
    const letterBytes = "abcdefghijklmnopqrstuvwxyz01234569"
    const (
    	letterIdxBits = 6                    // 6 bits to represent a letter index
    	letterIdxMask = 1<<letterIdxBits - 1 // All 1-bits, as many as letterIdxBits
    	letterIdxMax  = 63 / letterIdxBits   // # of letter indices fitting in 63 bits
    )
    
    // Random number state.
    // We generate random temporary file names so that there's a good
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    	} else {
    		err = Remove(deletePath)
    	}
    	if err != nil {
    		switch {
    		case isSysErrNotEmpty(err):
    			// if object is a directory, but if its not empty
    			// return FileNotFound to indicate its an empty prefix.
    			if HasSuffix(deletePath, SlashSeparator) {
    				return errFileNotFound
    			}
    			// if we have .DS_Store only on macOS
    			if runtime.GOOS == globalMacOSName {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  3. cmd/object-api-multipart_test.go

    		// Setting `prefix` to contain the object name as its prefix (Test number 23).
    		{bucketNames[0], "min", "", "", "", 2, listMultipartResults[10], nil, true},
    		// Setting `prefix` to contain the object name as its prefix (Test number 24).
    		{bucketNames[0], "min", "", "", "", 1, listMultipartResults[11], nil, true},
    		// Setting `prefix` to not to contain the object name as its prefix (Test number 25-26).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    			userType = svcUser
    		} else if cred.IsTemp() {
    			userType = stsUser
    		}
    
    		if usersToDelete.Contains(user) || usersToDelete.Contains(cred.ParentUser) {
    			// Delete this user account and its policy mapping
    			store.deleteMappedPolicy(ctx, user, userType, false)
    			cache.iamUserPolicyMap.Delete(user)
    
    			// we are only logging errors, not handling them.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  5. cmd/object-api-listobjects_test.go

    		0: "test-bucket-list-object",
    		// This bucket will be tested with empty directories
    		1: "test-bucket-empty-dir",
    		// Will not store any objects in this bucket,
    		// Its to test ListObjects on an empty bucket.
    		2: "empty-bucket",
    		// Listing the case where the marker > last object.
    		3: "test-bucket-single-object",
    		// Listing uncommon delimiter.
    		4: "test-bucket-delimiter",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2_gen.go

    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *xlMetaDataDirDecoder) EncodeMsg(en *msgp.Writer) (err error) {
    	// check for omitted fields
    	zb0001Len := uint32(1)
    	var zb0001Mask uint8 /* 1 bits */
    	_ = zb0001Mask
    	if z.ObjectV2 == nil {
    		zb0001Len--
    		zb0001Mask |= 0x1
    	}
    	// variable map header, size zb0001Len
    	err = en.Append(0x80 | uint8(zb0001Len))
    	if err != nil {
    		return
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    		return true
    	}
    	return false
    }
    
    // Comment from Darwin's CFInternal.h
    /*
    // Tagged pointer support
    // Low-bit set means tagged object, next 3 bits (currently)
    // define the tagged object class, next 4 bits are for type
    // information for the specific tagged object class.  Thus,
    // the low byte is for type info, and the rest of a pointer
    // (32 or 64-bit) is for payload, whatever the tagged class.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/lifecycle_test.go

    			objectModTime:   time.Now().UTC().Add(-11 * 24 * time.Hour), // Created 11 days ago
    			hasManyVersions: true,
    			expectedAction:  TransitionAction,
    		},
    		// Should not delete expired marker if its time has not come yet
    		{
    			inputConfig:    `<BucketLifecycleConfiguration><Rule><Filter></Filter><Status>Enabled</Status><Expiration><Days>1</Days></Expiration></Rule></BucketLifecycleConfiguration>`,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  9. istioctl/pkg/describe/describe.go

    	var opts clioptions.ControlPlaneOptions
    	cmd := &cobra.Command{
    		Use:     "pod <pod>",
    		Aliases: []string{"po"},
    		Short:   "Describe pods and their Istio configuration [kube-only]",
    		Long: `Analyzes pod, its Services, DestinationRules, and VirtualServices and reports
    the configuration objects that affect that pod.`,
    		Example: `  istioctl experimental describe pod productpage-v1-c7765c886-7zzd4`,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  10. cmd/batch-handlers.go

    		for obj := range objInfoCh {
    			oi := toObjectInfo(r.Source.Bucket, obj.Key, obj)
    			if !minioSrc {
    				// Check if metadata filter was requested and it is expected to have
    				// all user metadata or just storageClass. If its only storageClass
    				// List() already returns relevant information for filter to be applied.
    				if isMetadata && !isStorageClassOnly {
    					oi2, err := c.StatObject(ctx, r.Source.Bucket, obj.Key, miniogo.StatObjectOptions{})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
Back to top