Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 567 for uint24 (0.12 sec)

  1. internal/dsync/dsync_test.go

    	// As a matter of fact, this benchmark still triggers some spinning in the mutex.
    	m := NewDRWMutex(ds, "")
    	var acc0, acc1 uint64
    	b.SetParallelism(4)
    	b.RunParallel(func(pb *testing.PB) {
    		c := make(chan bool)
    		var data [4 << 10]uint64
    		for i := 0; pb.Next(); i++ {
    			if i%4 == 0 {
    				m.Lock(id, source)
    				acc0 -= 100
    				acc1 += 100
    				m.Unlock(context.Background())
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:35:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. cmd/tier-last-day-stats_gen.go

    				return
    			}
    			switch msgp.UnsafeString(field) {
    			case "Bins":
    				var zb0006 uint32
    				zb0006, bts, err = msgp.ReadArrayHeaderBytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, zb0001, "Bins")
    					return
    				}
    				if zb0006 != uint32(24) {
    					err = msgp.ArrayError{Wanted: uint32(24), Got: zb0006}
    					return
    				}
    				for zb0003 := range zb0002.Bins {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. lib/time/mkzip.go

    		}
    		name := filepath.ToSlash(path)
    		w, err := zw.CreateRaw(&zip.FileHeader{
    			Name:               name,
    			Method:             zip.Store,
    			CompressedSize64:   uint64(len(data)),
    			UncompressedSize64: uint64(len(data)),
    			CRC32:              crc32.ChecksumIEEE(data),
    		})
    		if err != nil {
    			log.Fatal(err)
    		}
    		if _, err := w.Write(data); err != nil {
    			log.Fatal(err)
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 17:32:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. cmd/object-api-datatypes_gen.go

    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadMapHeaderBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, bts, err = msgp.ReadMapKeyZC(bts)
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Parts":
    			var zb0002 uint32
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  5. api/next/54670.txt

    pkg hash/maphash, func Comparable[$0 comparable](Seed, $0) uint64 #54670
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 15:54:11 UTC 2024
    - 145 bytes
    - Viewed (0)
  6. cmd/erasure.go

    				di.HealInfo = &hd
    			}
    			di.Metrics = &madmin.DiskMetrics{
    				LastMinute:              make(map[string]madmin.TimedAction, len(info.Metrics.LastMinute)),
    				APICalls:                make(map[string]uint64, len(info.Metrics.APICalls)),
    				TotalErrorsAvailability: info.Metrics.TotalErrorsAvailability,
    				TotalErrorsTimeout:      info.Metrics.TotalErrorsTimeout,
    				TotalWaiting:            info.Metrics.TotalWaiting,
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  7. cmd/streaming-signature-v4_test.go

    			t.Errorf("Test %d: Expected %s, got %s this", i+1, tt.expectedErr, err)
    		}
    	}
    }
    
    // Tests parsing hex number into its uint64 decimal equivalent.
    func TestParseHexUint(t *testing.T) {
    	type testCase struct {
    		in      string
    		want    uint64
    		wantErr string
    	}
    	tests := []testCase{
    		{"x", 0, "invalid byte in chunk length"},
    		{"0000000000000000", 0, ""},
    		{"0000000000000001", 1, ""},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  8. cmd/metrics-v3-cluster-iam.go

    	lastSyncTime := atomic.LoadUint64(&globalIAMSys.LastRefreshTimeUnixNano)
    	if lastSyncTime != 0 {
    		m.Set(sinceLastSyncMillis, float64((uint64(time.Now().UnixNano())-lastSyncTime)/uint64(time.Millisecond)))
    	}
    	m.Set(syncFailures, float64(atomic.LoadUint64(&globalIAMSys.TotalRefreshFailures)))
    	m.Set(syncSuccesses, float64(atomic.LoadUint64(&globalIAMSys.TotalRefreshSuccesses)))
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 02 08:20:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. cmd/tier_gen.go

    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Tiers":
    			var zb0002 uint32
    			zb0002, err = dc.ReadMapHeader()
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. internal/event/target/amqp.go

    	AutoDeleted       bool     `json:"autoDeleted"`
    	PublisherConfirms bool     `json:"publisherConfirms"`
    	QueueDir          string   `json:"queueDir"`
    	QueueLimit        uint64   `json:"queueLimit"`
    }
    
    //lint:file-ignore ST1003 We cannot change these exported names.
    
    // AMQP input constants.
    const (
    	AmqpQueueDir   = "queue_dir"
    	AmqpQueueLimit = "queue_limit"
    
    	AmqpURL               = "url"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top