Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 284 for Int64 (0.2 sec)

  1. cmd/erasure-heal_test.go

    	badDisks, badStaleDisks int
    
    	blocksize, size int64
    	algorithm       BitrotAlgorithm
    	shouldFail      bool
    }{
    	{dataBlocks: 2, disks: 4, offDisks: 1, badDisks: 0, badStaleDisks: 0, blocksize: int64(blockSizeV2), size: oneMiByte, algorithm: SHA256, shouldFail: false},                   // 0
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  2. src/archive/zip/zip_test.go

    type suffixSaver struct {
    	keep  int
    	buf   []byte
    	start int
    	size  int64
    }
    
    func (ss *suffixSaver) Size() int64 { return ss.size }
    
    var errDiscardedBytes = errors.New("ReadAt of discarded bytes")
    
    func (ss *suffixSaver) ReadAt(p []byte, off int64) (n int, err error) {
    	back := ss.size - off
    	if back > int64(ss.keep) {
    		return 0, errDiscardedBytes
    	}
    	suf := ss.Suffix()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  3. src/archive/tar/stat_unix.go

    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "linux":
    			// Copied from golang.org/x/sys/unix/dev_linux.go.
    			major := uint32((dev & 0x00000000000fff00) >> 8)
    			major |= uint32((dev & 0xfffff00000000000) >> 32)
    			minor := uint32((dev & 0x00000000000000ff) >> 0)
    			minor |= uint32((dev & 0x00000ffffff00000) >> 12)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "darwin", "ios":
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. cmd/data-usage-cache_gen_test.go

    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		bts, _ = v.MarshalMsg(bts[0:0])
    	}
    }
    
    func BenchmarkUnmarshalallTierStats(b *testing.B) {
    	v := allTierStats{}
    	bts, _ := v.MarshalMsg(nil)
    	b.ReportAllocs()
    	b.SetBytes(int64(len(bts)))
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jan 13 07:51:08 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  5. tensorflow/c/eager/tape.h

      // Map from tensor ID to how many references still exist for this tensor in
      // the tape.
      std::unordered_map<int64_t, int64_t> tensor_usage_counts;
    
      // Maps from op ID to how many output tensors of this op still need to have
      // their gradients computed.
      std::unordered_map<int64_t, int64_t> op_missing_tensor;
    };
    
    // If `persistent_tape` is true, op_tape is not changed and none of the
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  6. internal/event/targetlist.go

    type Stats struct {
    	TotalEvents        int64 // Deprecated
    	EventsSkipped      int64
    	CurrentQueuedCalls int64 // Deprecated
    	EventsErrorsTotal  int64 // Deprecated
    	CurrentSendCalls   int64 // Deprecated
    
    	TargetStats map[TargetID]TargetStat
    }
    
    // TargetStat is the stats of a single target.
    type TargetStat struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  7. cmd/erasure-decode_test.go

    	{dataBlocks: 6, onDisks: 12, offDisks: 0, blocksize: int64(blockSizeV2), data: int64(2 * blockSizeV2), offset: 512, length: int64(blockSizeV2) + 8*1024, algorithm: DefaultBitrotAlgorithm, shouldFail: false, shouldFailQuorum: false},           // 30
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  8. cmd/bitrot-whole.go

    	return &wholeBitrotWriter{disk, volume, filePath, shardSize, algo.New()}
    }
    
    // Implementation to verify bitrot for the whole file.
    type wholeBitrotReader struct {
    	disk       StorageAPI
    	volume     string
    	filePath   string
    	verifier   *BitrotVerifier // Holds the bit-rot info
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  9. internal/grid/benchmark_test.go

    				defer cancel()
    				b.ReportAllocs()
    				b.SetBytes(int64(len(payload) * 2))
    				b.ResetTimer()
    				t := time.Now()
    				var ops int64
    				var lat int64
    				b.SetParallelism(par)
    				b.RunParallel(func(pb *testing.PB) {
    					rng := rand.New(rand.NewSource(time.Now().UnixNano()))
    					n := 0
    					var latency int64
    					managers := grid.Managers
    					hosts := grid.Hosts
    					for pb.Next() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 12.2K bytes
    - Viewed (0)
  10. cmd/site-replication-metrics.go

    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7"
    )
    
    //go:generate msgp -file $GOFILE
    
    // RStat has replication error stats
    type RStat struct {
    	Count int64 `json:"count"`
    	Bytes int64 `json:"bytes"`
    }
    
    // RTimedMetrics has replication error stats for various time windows
    type RTimedMetrics struct {
    	LastHour    ReplicationLastHour `json:"lastHour"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 8.2K bytes
    - Viewed (0)
Back to top