Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Integer (0.16 sec)

  1. src/builtin/builtin.go

    )
    
    // uint8 is the set of all unsigned 8-bit integers.
    // Range: 0 through 255.
    type uint8 uint8
    
    // uint16 is the set of all unsigned 16-bit integers.
    // Range: 0 through 65535.
    type uint16 uint16
    
    // uint32 is the set of all unsigned 32-bit integers.
    // Range: 0 through 4294967295.
    type uint32 uint32
    
    // uint64 is the set of all unsigned 64-bit integers.
    // Range: 0 through 18446744073709551615.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/asm.go

    	argSize := int64(abi.ArgsSizeUnknown)
    	if len(op) > 0 {
    		// There is an argument size. It must be a minus sign followed by a non-negative integer literal.
    		if len(op) != 2 || op[0].ScanToken != '-' || op[1].ScanToken != scanner.Int {
    			p.errorf("TEXT %s: argument size must be of form -integer", name)
    			return
    		}
    		argSize = p.positiveAtoi(op[1].String())
    	}
    	p.ctxt.InitTextSym(nameAddr.Sym, int(flag), p.pos())
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  3. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  4. src/archive/tar/format.go

    //	sparse files      |     no |       yes |       yes
    //
    // The table's upper portion shows the [Header] fields, where each format reports
    // the maximum number of bytes allowed for each string field and
    // the integer type used to store each numeric field
    // (where timestamps are stored as the number of seconds since the Unix epoch).
    //
    // The table's lower portion shows specialized features of each format,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  5. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  6. internal/rest/client.go

    func exponentialBackoffWait(r *rand.Rand, unit, cap time.Duration) func(uint) time.Duration {
    	if unit > time.Hour {
    		// Protect against integer overflow
    		panic("unit cannot exceed one hour")
    	}
    	return func(attempt uint) time.Duration {
    		if attempt > 16 {
    			// Protect against integer overflow
    			attempt = 16
    		}
    		// sleep = random_between(unit, min(cap, base * 2 ** attempt))
    		sleep := unit * time.Duration(1<<attempt)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/parse.go

    	var count int16
    	switch tok.ScanToken {
    	case scanner.Ident:
    		if p.arch.Family == sys.ARM64 {
    			p.errorf("rhs of shift must be integer: %s", str)
    		} else {
    			r2, ok := p.registerReference(str)
    			if !ok {
    				p.errorf("rhs of shift must be register or integer: %s", str)
    			}
    			count = (r2&15)<<8 | 1<<4
    		}
    	case scanner.Int, '(':
    		p.back()
    		x := int64(p.expr())
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  8. internal/s3select/sql/value.go

    // values do not have types (e.g. when reading from CSV), for
    // comparison operations, automatic type conversion happens by trying
    // to check if the value is a number (first an integer, then a float),
    // and falling back to string.
    func (v *Value) compareOp(op string, a *Value) (res bool, err error) {
    	if !isValidComparisonOperator(op) {
    		return false, errArithInvalidOperator
    	}
    	switch op {
    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)
  9. src/bytes/bytes.go

    // A nil argument is equivalent to an empty slice.
    func Equal(a, b []byte) bool {
    	// Neither cmd/compile nor gccgo allocates for these string conversions.
    	return string(a) == string(b)
    }
    
    // Compare returns an integer comparing two byte slices lexicographically.
    // The result will be 0 if a == b, -1 if a < b, and +1 if a > b.
    // A nil argument is equivalent to an empty slice.
    func Compare(a, b []byte) int {
    	return bytealg.Compare(a, b)
    }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  10. cmd/handler-api.go

    	}
    	limit, err = strconv.ParseUint(strings.TrimSpace(string(buf)), 10, 64)
    	if err != nil {
    		// The kernel can return valid but non integer values
    		// but still, no need to interpret more
    		return 0
    	}
    	if limit == cgroupMemNoLimit {
    		// No limit set, It's the highest positive signed 64-bit
    		// integer (2^63-1), rounded down to multiples of 4096 (2^12),
    		// the most common page size on x86 systems - for cgroup_limits.
    		return 0
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 10K bytes
    - Viewed (0)
Back to top