Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for ffloat64 (0.33 sec)

  1. schema/field_test.go

    		{Name: "FLOAT32", DBName: "ffloat32", BindNames: []string{"FLOAT32"}, DataType: schema.Float, Creatable: true, Updatable: true, Readable: true, Size: 32, Tag: `gorm:"column:ffloat32"`},
    		{Name: "FLOAT64", DBName: "ffloat64", BindNames: []string{"FLOAT64"}, DataType: schema.Float, Creatable: true, Updatable: true, Readable: true, Size: 64, Tag: `gorm:"column:ffloat64"`},
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Feb 19 09:02:53 GMT 2022
    - 12.7K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    		if globalExpiryState != nil {
    			expPendingTasks.Value = float64(globalExpiryState.PendingTasks())
    			expMissedTasks.Value = float64(globalExpiryState.stats.MissedTasks())
    			expMissedFreeVersions.Value = float64(globalExpiryState.stats.MissedFreeVersTasks())
    			expMissedTierJournalTasks.Value = float64(globalExpiryState.stats.MissedTierJournalTasks())
    			expNumWorkers.Value = float64(globalExpiryState.stats.NumWorkers())
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  3. cmd/metrics.go

    			Buckets: []float64{.05, .1, .25, .5, 1, 2.5, 5, 10},
    		},
    		[]string{"api"},
    	)
    	bucketHTTPRequestsDuration = prometheus.NewHistogramVec(
    		prometheus.HistogramOpts{
    			Name:    "s3_ttfb_seconds",
    			Help:    "Time taken by requests served by current MinIO server instance per bucket",
    			Buckets: []float64{.05, .1, .25, .5, 1, 2.5, 5, 10},
    		},
    		[]string{"api", "bucket"},
    	)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  4. cmd/metrics-v3-system-memory.go

    		return err
    	}
    
    	m.Set(memTotal, float64(memMetrics.Total))
    	m.Set(memUsed, float64(memMetrics.Used))
    	usedPerc := float64(memMetrics.Used) * 100 / float64(memMetrics.Total)
    	m.Set(memUsedPerc, usedPerc)
    	m.Set(memFree, float64(memMetrics.Free))
    	m.Set(memBuffers, float64(memMetrics.Buffers))
    	m.Set(memCache, float64(memMetrics.Cache))
    	m.Set(memShared, float64(memMetrics.Shared))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:10:25 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  5. cmd/metrics-resource.go

    	Labels map[string]string
    
    	// value captured in current cycle
    	Current float64
    
    	// Used when system provides cumulative (since uptime) values
    	// helps in calculating the current value by comparing the new
    	// cumulative value with previous one
    	Cumulative float64
    
    	Max   float64
    	Avg   float64
    	Sum   float64
    	Count uint64
    }
    
    func init() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  6. cmd/metrics-v3-cluster-health.go

    	storageInfo := clusterDriveMetrics.storageInfo
    
    	m.Set(healthCapacityRawTotalBytes, float64(GetTotalCapacity(storageInfo.Disks)))
    	m.Set(healthCapacityRawFreeBytes, float64(GetTotalCapacityFree(storageInfo.Disks)))
    	m.Set(healthCapacityUsableTotalBytes, float64(GetTotalUsableCapacity(storageInfo.Disks, storageInfo)))
    	m.Set(healthCapacityUsableFreeBytes, float64(GetTotalUsableCapacityFree(storageInfo.Disks, storageInfo)))
    
    	return nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  7. internal/grid/benchmark_test.go

    					// Since we are benchmarking n parallel servers we need to multiply by n.
    					// This will give an estimate of the total ops/s.
    					latency := float64(atomic.LoadInt64(&lat)) / float64(time.Millisecond)
    					b.ReportMetric(float64(n)*float64(ops)/spent.Seconds(), "vops/s")
    					b.ReportMetric(latency/float64(ops), "ms/op")
    				}
    			})
    		}
    	})
    	b.Run("rpc", func(b *testing.B) {
    		for par := 1; par <= 32; par *= 2 {
    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)
  8. internal/bucket/bandwidth/measurement.go

    		m.expMovingAvg = float64(bytesSinceLastWindow) / duration.Seconds()
    		return
    	}
    
    	increment := float64(bytesSinceLastWindow) / duration.Seconds()
    	m.expMovingAvg = exponentialMovingAverage(betaBucket, m.expMovingAvg, increment)
    }
    
    // exponentialMovingAverage calculates the exponential moving average
    func exponentialMovingAverage(beta, previousAvg, incrementAvg float64) float64 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jun 03 20:41:51 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  9. cmd/metrics-v3-cluster-notification.go

    		return nil
    	}
    
    	nstats := globalEventNotifier.targetList.Stats()
    	m.Set(notificationCurrentSendInProgress, float64(nstats.CurrentSendCalls))
    	m.Set(notificationEventsErrorsTotal, float64(nstats.EventsErrorsTotal))
    	m.Set(notificationEventsSentTotal, float64(nstats.TotalEvents))
    	m.Set(notificationEventsSkippedTotal, float64(nstats.EventsSkipped))
    
    	return nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:10:35 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  10. internal/s3select/sql/value.go

    func FromArray(a []Value) *Value {
    	return &Value{value: a}
    }
    
    // ToFloat works for int and float values
    func (v Value) ToFloat() (val float64, ok bool) {
    	switch x := v.value.(type) {
    	case float64:
    		return x, true
    	case int64:
    		return float64(x), true
    	}
    	return 0, false
    }
    
    // ToInt returns the value if int.
    func (v Value) ToInt() (val int64, ok bool) {
    	val, ok = v.value.(int64)
    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)
Back to top