Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 634 for float64 (0.22 sec)

  1. cmd/metrics-v3-cluster-erasure-set.go

    		setLV := strconv.Itoa(h.SetID)
    		m.Set(erasureSetReadQuorum, float64(h.ReadQuorum),
    			poolIDL, poolLV, setIDL, setLV)
    		m.Set(erasureSetWriteQuorum, float64(h.WriteQuorum),
    			poolIDL, poolLV, setIDL, setLV)
    		m.Set(erasureSetOnlineDrivesCount, float64(h.HealthyDrives),
    			poolIDL, poolLV, setIDL, setLV)
    		m.Set(erasureSetHealingDrivesCount, float64(h.HealingDrives),
    			poolIDL, poolLV, setIDL, setLV)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. cmd/metrics-v3-cache.go

    	m.readsPerSec = float64(ioStats.ReadIOs) / durationSecs
    	m.readsKBPerSec = float64(ioStats.ReadSectors) * float64(sectorSize) / kib / durationSecs
    	if ioStats.ReadIOs > 0 {
    		m.readsAwait = float64(ioStats.ReadTicks) / float64(ioStats.ReadIOs)
    	}
    
    	m.writesPerSec = float64(ioStats.WriteIOs) / durationSecs
    	m.writesKBPerSec = float64(ioStats.WriteSectors) * float64(sectorSize) / kib / durationSecs
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  3. logger/logger.go

    		if rows == -1 {
    			l.Printf(l.traceWarnStr, utils.FileWithLineNum(), slowLog, float64(elapsed.Nanoseconds())/1e6, "-", sql)
    		} else {
    			l.Printf(l.traceWarnStr, utils.FileWithLineNum(), slowLog, float64(elapsed.Nanoseconds())/1e6, rows, sql)
    		}
    	case l.LogLevel == Info:
    		sql, rows := fc()
    		if rows == -1 {
    			l.Printf(l.traceStr, utils.FileWithLineNum(), float64(elapsed.Nanoseconds())/1e6, "-", sql)
    		} else {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Nov 07 02:19:41 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  4. cmd/metrics-v3-api.go

    	// label to "s3".
    
    	m.Set(apiRejectedAuthTotal, float64(httpStats.TotalS3RejectedAuth), "type", "s3")
    	m.Set(apiRejectedTimestampTotal, float64(httpStats.TotalS3RejectedTime), "type", "s3")
    	m.Set(apiRejectedHeaderTotal, float64(httpStats.TotalS3RejectedHeader), "type", "s3")
    	m.Set(apiRejectedInvalidTotal, float64(httpStats.TotalS3RejectedInvalid), "type", "s3")
    	m.Set(apiRequestsWaitingTotal, float64(httpStats.S3RequestsInQueue), "type", "s3")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  5. schema/field.go

    				}
    			case float64:
    				field.ReflectValueOf(ctx, value).SetFloat(data)
    			case float32:
    				field.ReflectValueOf(ctx, value).SetFloat(float64(data))
    			case int64:
    				field.ReflectValueOf(ctx, value).SetFloat(float64(data))
    			case int:
    				field.ReflectValueOf(ctx, value).SetFloat(float64(data))
    			case int8:
    				field.ReflectValueOf(ctx, value).SetFloat(float64(data))
    			case int16:
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
  6. 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)
  7. cmd/metrics-v3-system-process.go

    		m.Set(processStartTimeSeconds, float64(startTime))
    	}
    }
    
    func loadProcIOMetrics(ctx context.Context, io procfs.ProcIO, m MetricValues) {
    	if io.RChar > 0 {
    		m.Set(processIORCharBytes, float64(io.RChar))
    	}
    
    	if io.ReadBytes > 0 {
    		m.Set(processIOReadBytes, float64(io.ReadBytes))
    	}
    
    	if io.WChar > 0 {
    		m.Set(processIOWCharBytes, float64(io.WChar))
    	}
    
    	if io.WriteBytes > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 16:07:23 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. src/builtin/builtin.go

    type int64 int64
    
    // float32 is the set of all IEEE 754 32-bit floating-point numbers.
    type float32 float32
    
    // float64 is the set of all IEEE 754 64-bit floating-point numbers.
    type float64 float64
    
    // complex64 is the set of all complex numbers with float32 real and
    // imaginary parts.
    type complex64 complex64
    
    // complex128 is the set of all complex numbers with float64 real and
    // imaginary parts.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  9. cmd/metrics-v3-system-drive.go

    	m.Set(driveUsedBytes, float64(drive.UsedSpace), labels...)
    	m.Set(driveFreeBytes, float64(drive.AvailableSpace), labels...)
    	m.Set(driveTotalBytes, float64(drive.TotalSpace), labels...)
    	m.Set(driveUsedInodes, float64(drive.UsedInodes), labels...)
    	m.Set(driveFreeInodes, float64(drive.FreeInodes), labels...)
    	m.Set(driveTotalInodes, float64(drive.UsedInodes+drive.FreeInodes), labels...)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  10. internal/jwt/parser_test.go

    		defaultKeyFunc,
    		&MapClaims{
    			MapClaims: jwt.MapClaims{
    				"foo": "bar",
    				"exp": float64(time.Now().Unix() - 100),
    			},
    		},
    		false,
    		-1,
    	},
    	{
    		"basic nbf",
    		"", // autogen
    		defaultKeyFunc,
    		&MapClaims{
    			MapClaims: jwt.MapClaims{
    				"foo": "bar",
    				"nbf": float64(time.Now().Unix() + 100),
    			},
    		},
    		false,
    		-1,
    	},
    	{
    		"expired and nbf",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 05 19:20:08 GMT 2021
    - 6K bytes
    - Viewed (0)
Back to top