Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 301 for decimal32 (0.11 sec)

  1. pkg/kubelet/eviction/helpers.go

    func inodeUsage(fsStats *statsapi.FsStats) *resource.Quantity {
    	if fsStats == nil || fsStats.InodesUsed == nil {
    		return &resource.Quantity{Format: resource.DecimalSI}
    	}
    	usage := int64(*fsStats.InodesUsed)
    	return resource.NewQuantity(usage, resource.DecimalSI)
    }
    
    // memoryUsage converts working set into a resource quantity.
    func memoryUsage(memStats *statsapi.MemoryStats) *resource.Quantity {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  2. migrator/column_type.go

    // Consult your driver documentation for a list of driver data types. Length specifiers
    // are not included.
    // Common type names include "VARCHAR", "TEXT", "NVARCHAR", "DECIMAL", "BOOL",
    // "INT", and "BIGINT".
    func (ct ColumnType) DatabaseTypeName() string {
    	if ct.DataTypeValue.Valid {
    		return ct.DataTypeValue.String
    	}
    	return ct.SQLColumnType.DatabaseTypeName()
    }
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/noderesources/resource_allocation.go

    	}
    	if !r.useRequested {
    		opts.NonMissingContainerRequests = v1.ResourceList{
    			v1.ResourceCPU:    *resource.NewMilliQuantity(schedutil.DefaultMilliCPURequest, resource.DecimalSI),
    			v1.ResourceMemory: *resource.NewQuantity(schedutil.DefaultMemoryRequest, resource.DecimalSI),
    		}
    	}
    
    	requests := resourcehelper.PodRequests(pod, opts)
    
    	quantity := requests[resourceName]
    	if resourceName == v1.ResourceCPU {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 20 14:53:43 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  4. src/math/log.go

    //	1 ulp (unit in the last place).
    //
    // Constants:
    // The hexadecimal values are the intended ones for the following
    // constants. The decimal values may be used, provided that the
    // compiler will convert from decimal to binary accurately enough
    // to produce the hexadecimal values shown.
    
    // Log returns the natural logarithm of x.
    //
    // Special cases are:
    //
    //	Log(+Inf) = +Inf
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  5. docs/uk/docs/tutorial/extra-data-types.md

    * `bytes`:
        * Стандартний Пайтонівський `bytes`.
        * У запитах і відповідях це буде оброблено як `str`.
        * Згенерована схема буде вказувати, що це `str` з "форматом" `binary`.
    * `Decimal`:
        * Стандартний Пайтонівський `Decimal`.
        * У запитах і відповідях це буде оброблено так само, як і `float`.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/extra-data-types.md

    * `bytes`:
        * Встроенный в Python `bytes`.
        * В запросах и ответах будет рассматриваться как `str`.
        * В сгенерированной схеме будет указано, что это `str` в формате `binary`.
    * `Decimal`:
        * Встроенный в Python `Decimal`.
        * В запросах и ответах обрабатывается так же, как и `float`.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. pkg/controller/podautoscaler/metrics/client_test.go

    					cm := metricsapi.ContainerMetrics{
    						Name: containerName,
    						Usage: v1.ResourceList{
    							v1.ResourceCPU: *resource.NewMilliQuantity(
    								cpu,
    								resource.DecimalSI),
    							v1.ResourceMemory: *resource.NewQuantity(
    								int64(1024*1024),
    								resource.BinarySI),
    						},
    					}
    					metric.Containers = append(metric.Containers, cm)
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 09 02:34:54 UTC 2021
    - 16.4K bytes
    - Viewed (0)
  8. src/net/port_test.go

    // license that can be found in the LICENSE file.
    
    package net
    
    import "testing"
    
    var parsePortTests = []struct {
    	service     string
    	port        int
    	needsLookup bool
    }{
    	{"", 0, false},
    
    	// Decimal number literals
    	{"-1073741825", -1 << 30, false},
    	{"-1073741824", -1 << 30, false},
    	{"-1073741823", -(1<<30 - 1), false},
    	{"-123456789", -123456789, false},
    	{"-1", -1, false},
    	{"-0", 0, false},
    	{"0", 0, false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 15 23:11:47 UTC 2016
    - 1.3K bytes
    - Viewed (0)
  9. src/strconv/ftoaryu.go

    import (
    	"math/bits"
    )
    
    // binary to decimal conversion using the Ryū algorithm.
    //
    // See Ulf Adams, "Ryū: Fast Float-to-String Conversion" (doi:10.1145/3192366.3192369)
    //
    // Fixed precision formatting is a variant of the original paper's
    // algorithm, where a single multiplication by 10^k is required,
    // sharing the same rounding guarantees.
    
    // ryuFtoaFixed32 formats mant*(2^exp) with prec decimal digits.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 00:28:56 UTC 2022
    - 15.7K bytes
    - Viewed (0)
  10. pkg/kubelet/cadvisor/util_test.go

    		HugePages: []info.HugePagesInfo{
    			{
    				PageSize: 5,
    				NumPages: 10,
    			},
    		},
    	}
    
    	expected := v1.ResourceList{
    		v1.ResourceCPU:    *resource.NewMilliQuantity(int64(2000), resource.DecimalSI),
    		v1.ResourceMemory: *resource.NewQuantity(int64(2048), resource.BinarySI),
    		"hugepages-5Ki":   *resource.NewQuantity(int64(51200), resource.BinarySI),
    	}
    	actual := CapacityFromMachineInfo(machineInfo)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 04 05:08:20 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top