Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for smaf (0.04 sec)

  1. cmd/bucket-replication-metrics.go

    }
    
    // SMA struct for calculating simple moving average
    type SMA struct {
    	buf       []float64
    	window    int     // len of buf
    	idx       int     // current index in buf
    	CAvg      float64 // cumulative average
    	prevSMA   float64
    	filledBuf bool
    }
    
    func newSMA(ln int) *SMA {
    	if ln <= 0 {
    		ln = defaultWindowSize
    	}
    	return &SMA{
    		buf:    make([]float64, ln),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. cmd/bucket-replication-metrics_gen_test.go

    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgSMA(b *testing.B) {
    	v := SMA{}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgSMA(b *testing.B) {
    	v := SMA{}
    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    	b.ReportAllocs()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. cmd/bucket-replication-metrics_gen.go

    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z SMA) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 1
    	// string "CAvg"
    	o = append(o, 0x81, 0xa4, 0x43, 0x41, 0x76, 0x67)
    	o = msgp.AppendFloat64(o, z.CAvg)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *SMA) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  4. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    sko.gov.pl skoczow.pl skodje.no skole.museum sky skydiving.aero skygearapp.com skype skánit.no skånland.no sl slask.pl slattum.no sld.do sld.pa slg.br sling slupsk.pl slz.br sm sm.ua small-web.org smart smartlabeling.scw.cloud smile smola.no smushcdn.com smøla.no sn sn.cn snaase.no snasa.no sncf snillfjord.no snoasa.no snowflake.app snåase.no snåsa.no so so.gov.pl so.it sobetsu.hokkaido.jp soc.dz soc.lk soc.srcf.net soccer sochi.su social society.museum sodegaura.chiba.jp soeda.fukuoka.jp softbank software...
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 40.4K bytes
    - Viewed (0)
Back to top