Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 447 for uint32 (0.11 sec)

  1. cmd/test-utils_test.go

    // chance the file doesn't exist yet.
    var (
    	randN  uint32
    	randmu sync.Mutex
    )
    
    // Temp files created in default Tmp dir
    var globalTestTmpDir = os.TempDir()
    
    // reseed - returns a new seed every time the function is called.
    func reseed() uint32 {
    	return uint32(time.Now().UnixNano() + int64(os.Getpid()))
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  2. internal/config/notify/parse.go

    			QueueDir:           env.Get(queueDirEnv, kv.Get(target.KafkaQueueDir)),
    			QueueLimit:         queueLimit,
    			Version:            env.Get(versionEnv, kv.Get(target.KafkaVersion)),
    			BatchSize:          uint32(batchSize),
    			BatchCommitTimeout: batchCommitTimeout,
    		}
    
    		tlsEnableEnv := target.EnvKafkaTLS
    		if k != config.Default {
    			tlsEnableEnv = tlsEnableEnv + config.Default + k
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
  3. cmd/erasure-sets.go

    	k0, k1 := binary.LittleEndian.Uint64(id[0:8]), binary.LittleEndian.Uint64(id[8:16])
    	sum64 := siphash.Hash(k0, k1, []byte(key))
    	return int(sum64 % uint64(cardinality))
    }
    
    func crcHashMod(key string, cardinality int) int {
    	if cardinality <= 0 {
    		return -1
    	}
    	keyCrc := crc32.Checksum([]byte(key), crc32.IEEETable)
    	return int(keyCrc % uint32(cardinality))
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  4. doc/go1.17_spec.html

    <a href="#Blocks">universe block</a>:
    </p>
    <pre class="grammar">
    Types:
    	bool byte complex64 complex128 error float32 float64
    	int int8 int16 int32 int64 rune string
    	uint uint8 uint16 uint32 uint64 uintptr
    
    Constants:
    	true false iota
    
    Zero value:
    	nil
    
    Functions:
    	append cap close complex copy delete imag len
    	make new panic print println real recover
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    	return dataUsageInfo, nil
    }
    
    func (s *xlStorage) getDeleteAttribute() uint64 {
    	attr := "user.total_deletes"
    	buf, err := xattr.LGet(s.formatFile, attr)
    	if err != nil {
    		// We start off with '0' if we can read the attributes
    		return 0
    	}
    	return binary.LittleEndian.Uint64(buf[:8])
    }
    
    func (s *xlStorage) getWriteAttribute() uint64 {
    	attr := "user.total_writes"
    	buf, err := xattr.LGet(s.formatFile, attr)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  6. src/bytes/bytes.go

    	// we should panic if the repeat will generate an overflow.
    	// See golang.org/issue/16237.
    	if count < 0 {
    		panic("bytes: negative Repeat count")
    	}
    	hi, lo := bits.Mul(uint(len(b)), uint(count))
    	if hi > 0 || lo > uint(maxInt) {
    		panic("bytes: Repeat output length overflow")
    	}
    	n := int(lo) // lo = len(b) * count
    
    	if len(b) == 0 {
    		return []byte{}
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  7. cmd/bucket-replication.go

    	// Read resync meta header
    	switch binary.LittleEndian.Uint16(data[0:2]) {
    	case resyncMetaFormat:
    	default:
    		return brs, fmt.Errorf("resyncMeta: unknown format: %d", binary.LittleEndian.Uint16(data[0:2]))
    	}
    	switch binary.LittleEndian.Uint16(data[2:4]) {
    	case resyncMetaVersion:
    	default:
    		return brs, fmt.Errorf("resyncMeta: unknown version: %d", binary.LittleEndian.Uint16(data[2:4]))
    	}
    	// OK, parse data.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  8. src/cmd/api/testdata/src/pkg/p1/golden.txt

    pkg p1, type Time struct
    pkg p1, type URL struct
    pkg p1, type URL //deprecated
    pkg p1, var Byte uint8
    pkg p1, var ByteConv []uint8
    pkg p1, var ByteFunc func(uint8) int32
    pkg p1, var ChecksumError error
    pkg p1, var SIPtr *SI
    pkg p1, var SIPtr2 *SI
    pkg p1, var SIVal SI
    pkg p1, var StrConv string
    pkg p1, var V string
    pkg p1, var V1 uint64
    pkg p1, var V2 p2.Twoer
    pkg p1, var VError Error
    pkg p1, var VError //deprecated
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  9. src/archive/tar/format.go

    //	Linkname          |   100B | unlimited | unlimited
    //	Size              | uint33 | unlimited |    uint89
    //	Mode              | uint21 |    uint21 |    uint57
    //	Uid/Gid           | uint21 | unlimited |    uint57
    //	Uname/Gname       |    32B | unlimited |       32B
    //	ModTime           | uint33 | unlimited |     int89
    //	AccessTime        |    n/a | unlimited |     int89
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  10. doc/go_spec.html

    [<a href="#Go_1.21">Go 1.21</a>]:
    </p>
    <pre class="grammar">
    Types:
    	any bool byte comparable
    	complex64 complex128 error float32 float64
    	int int8 int16 int32 int64 rune string
    	uint uint8 uint16 uint32 uint64 uintptr
    
    Constants:
    	true false iota
    
    Zero value:
    	nil
    
    Functions:
    	append cap clear close complex copy delete imag len
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
Back to top