Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Integer (0.21 sec)

  1. internal/disk/stat_windows.go

    	lpTotalNumberOfFreeBytes := int64(0)
    
    	// Extract values safely
    	// BOOL WINAPI GetDiskFreeSpaceEx(
    	// _In_opt_  LPCTSTR         lpDirectoryName,
    	// _Out_opt_ PULARGE_INTEGER lpFreeBytesAvailable,
    	// _Out_opt_ PULARGE_INTEGER lpTotalNumberOfBytes,
    	// _Out_opt_ PULARGE_INTEGER lpTotalNumberOfFreeBytes
    	// );
    	_, _, _ = GetDiskFreeSpaceEx.Call(uintptr(unsafe.Pointer(syscall.StringToUTF16Ptr(path))),
    		uintptr(unsafe.Pointer(&lpFreeBytesAvailable)),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. docs/sts/custom-token-identity.md

    | RoleArn         | String  | Yes      | Must match the Role ARN generated for the identity plugin            |
    | DurationSeconds | Integer | No       | Duration of validity of generated credentials. Must be at least 900. |
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 3K bytes
    - Viewed (0)
  3. internal/config/heal/heal.go

    		w, err := strconv.Atoi(ws)
    		if err != nil {
    			return cfg, fmt.Errorf("'heal:drive_workers' value invalid: %w", err)
    		}
    		if w < 1 {
    			return cfg, fmt.Errorf("'heal:drive_workers' value invalid: zero or negative integer unsupported")
    		}
    		cfg.DriveWorkers = w
    	} else {
    		cfg.DriveWorkers = -1
    	}
    
    	return cfg, nil
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  4. cmd/object-api-datatypes.go

    	// List of prefixes for this request.
    	Prefixes []string
    }
    
    // PartInfo - represents individual part metadata.
    type PartInfo struct {
    	// Part number that identifies the part. This is a positive integer between
    	// 1 and 10,000.
    	PartNumber int
    
    	// Date and time at which the part was uploaded.
    	LastModified time.Time
    
    	// Entity tag returned when the part was initially uploaded.
    	ETag string
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  5. cmd/erasure-metadata-utils.go

    	for _, disk := range disks {
    		if disk == nil {
    			continue
    		}
    		diskCount++
    	}
    	return diskCount
    }
    
    // hashOrder - hashes input key to return consistent
    // hashed integer slice. Returned integer order is salted
    // with an input key. This results in consistent order.
    // NOTE: collisions are fine, we are not looking for uniqueness
    // in the slices returned.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  6. internal/config/storageclass/storage-class.go

    	if s[0] != schemePrefix {
    		return StorageClass{}, config.ErrStorageClassValue(nil).Msg("Unsupported scheme " + s[0] + ". Supported scheme is EC")
    	}
    
    	// Number of parity drives should be integer
    	parityDrives, err := strconv.Atoi(s[1])
    	if err != nil {
    		return StorageClass{}, config.ErrStorageClassValue(err)
    	}
    	if parityDrives < 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  7. internal/s3select/sql/funceval.go

    }
    
    func errCastFailure(msg string) error {
    	return fmt.Errorf("Error casting: %s", msg)
    }
    
    // Allowed cast types
    const (
    	castBool      = "BOOL"
    	castInt       = "INT"
    	castInteger   = "INTEGER"
    	castString    = "STRING"
    	castFloat     = "FLOAT"
    	castDecimal   = "DECIMAL"
    	castNumeric   = "NUMERIC"
    	castTimestamp = "TIMESTAMP"
    )
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/expiration.go

    	"time"
    )
    
    var (
    	errLifecycleInvalidDate         = Errorf("Date must be provided in ISO 8601 format")
    	errLifecycleInvalidDays         = Errorf("Days must be positive integer when used with Expiration")
    	errLifecycleInvalidExpiration   = Errorf("Exactly one of Days (positive integer) or Date (positive ISO 8601 format) should be present inside Expiration.")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 6.6K bytes
    - Viewed (1)
  9. docs/sts/client-grants.md

    | Params        | Value                                              |
    | :--           | :--                                                |
    | *Type*        | *Integer*                                          |
    | *Valid Range* | *Minimum value of 900. Maximum value of 31536000.* |
    | *Required*    | *No*                                               |
    
    ### Policy
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 7.2K bytes
    - Viewed (1)
  10. internal/bucket/object/lock/lock.go

    			return fmt.Errorf("Default retention period must be a positive integer value for 'Days'")
    		}
    		if *retention.Days > maximumRetentionDays {
    			return fmt.Errorf("Default retention period too large for 'Days' %d", *retention.Days)
    		}
    	} else if *retention.Years == 0 {
    		return fmt.Errorf("Default retention period must be a positive integer value for 'Years'")
    	} else if *retention.Years > maximumRetentionYears {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
Back to top