Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 320 for empty (0.12 sec)

  1. Makefile

    	@GORACE=history_size=7 CGO_ENABLED=1 go build -race -tags kqueue -trimpath --ldflags "$(LDFLAGS)" -o $(PWD)/minio 1>/dev/null
    	@(env bash $(PWD)/buildscripts/verify-healing.sh)
    	@(env bash $(PWD)/buildscripts/verify-healing-empty-erasure-set.sh)
    	@(env bash $(PWD)/buildscripts/heal-inconsistent-versions.sh)
    
    verify-healing-with-root-disks: ## verify healing root disks
    	@echo "Verify healing with root drives"
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 10.3K bytes
    - Viewed (1)
  2. cmd/object-api-listobjects_test.go

    		// Test listing an empty directory in recursive mode (62)
    		{"test-bucket-empty-dir", "", "", "", 10, resultCases[31], nil, true},
    		// Test listing an empty directory in a non recursive mode (63)
    		{"test-bucket-empty-dir", "", "", SlashSeparator, 10, resultCases[32], nil, true},
    		// Test listing a directory which contains an empty directory (64)
    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)
  3. cmd/auth-handler.go

    		return token
    	}
    	return r.Form.Get(xhttp.AmzSecurityToken)
    }
    
    // Fetch claims in the security token returned by the client, doesn't return
    // errors - upon errors the returned claims map will be empty.
    func mustGetClaimsFromToken(r *http.Request) map[string]interface{} {
    	claims, _ := getClaimsFromToken(getSessionToken(r))
    	return claims
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  4. internal/s3select/sql/value.go

    	case "t", "true", "1":
    		val = true
    	case "f", "false", "0":
    		val = false
    	default:
    		ok = false
    	}
    	return val, ok
    }
    
    // bytesToString - never fails, but returns empty string if value is not bytes.
    func (v Value) bytesToString() string {
    	bytes, _ := v.ToBytes()
    	return string(bytes)
    }
    
    // Calculates minimum or maximum of v and a and assigns the result to
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/delmarker-expiration.go

    type DelMarkerExpiration struct {
    	XMLName xml.Name `xml:"DelMarkerExpiration"`
    	Days    int      `xml:"Days,omitempty"`
    }
    
    // Empty returns if a DelMarkerExpiration XML element is empty.
    // Used to detect if lifecycle.Rule contained a DelMarkerExpiration element.
    func (de DelMarkerExpiration) Empty() bool {
    	return de.Days == 0
    }
    
    // UnmarshalXML decodes a single XML element into a DelMarkerExpiration value
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  6. cmd/net.go

    		return false, err
    	}
    
    	var addr1Local, addr2Local bool
    
    	if host1 == "" {
    		// If empty host means it is localhost
    		addr1Local = true
    	} else if addr1Local, err = isLocalHost(host1, port1, port1); err != nil {
    		// Host not empty, check if it is local
    		return false, err
    	}
    
    	if host2 == "" {
    		// If empty host means it is localhost
    		addr2Local = true
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  7. internal/crypto/sse-kms.go

    	}
    
    	// There are two possibilities:
    	// - We use a KMS -> There must be non-empty key ID and a KMS data key.
    	// - We use a K/V -> There must be no key ID and no KMS data key.
    	// Otherwise, the caller has passed an invalid argument combination.
    	if keyID == "" && len(kmsKey) != 0 {
    		logger.CriticalIf(context.Background(), errors.New("The key ID must not be empty if a KMS data key is present"))
    	}
    	if keyID != "" && len(kmsKey) == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  8. cmd/iam.go

    		return updatedAt, err
    	}
    
    	sys.notifyForGroup(ctx, group)
    	return updatedAt, nil
    }
    
    // RemoveUsersFromGroup - remove users from group. If no users are
    // given, and the group is empty, deletes the group as well.
    func (sys *IAMSys) RemoveUsersFromGroup(ctx context.Context, group string, members []string) (updatedAt time.Time, err error) {
    	if !sys.Initialized() {
    		return updatedAt, errServerNotInitialized
    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)
  9. cmd/xl-storage-errors.go

    func isSysErrTooManySymlinks(err error) bool {
    	return errors.Is(err, syscall.ELOOP)
    }
    
    // Check if the given error corresponds to ENOTEMPTY for unix,
    // EEXIST for solaris variants,
    // and ERROR_DIR_NOT_EMPTY for windows (directory not empty).
    func isSysErrNotEmpty(err error) bool {
    	if errors.Is(err, syscall.ENOTEMPTY) {
    		return true
    	}
    	if errors.Is(err, syscall.EEXIST) && runtime.GOOS == "solaris" {
    		return true
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:29 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  10. cmd/tier.go

    	d, err := config.getDriver(ctx, tier)
    	if err != nil {
    		return err
    	}
    	return checkWarmBackend(ctx, d)
    }
    
    // Empty returns if tier targets are empty
    func (config *TierConfigMgr) Empty() bool {
    	if config == nil {
    		return true
    	}
    	return len(config.ListTiers()) == 0
    }
    
    // TierType returns the type of tier
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
Back to top