Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 60 for FLOAT64 (0.12 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/zz_generated.deepcopy.go

    func (in *ValueValidation) DeepCopyInto(out *ValueValidation) {
    	*out = *in
    	if in.Maximum != nil {
    		in, out := &in.Maximum, &out.Maximum
    		*out = new(float64)
    		**out = **in
    	}
    	if in.Minimum != nil {
    		in, out := &in.Minimum, &out.Minimum
    		*out = new(float64)
    		**out = **in
    	}
    	if in.MaxLength != nil {
    		in, out := &in.MaxLength, &out.MaxLength
    		*out = new(int64)
    		**out = **in
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/adaptor.go

    }
    
    func (s *Structural) Minimum() *float64 {
    	if s.Structural.ValueValidation == nil {
    		return nil
    	}
    	return s.Structural.ValueValidation.Minimum
    }
    
    func (s *Structural) IsExclusiveMinimum() bool {
    	if s.Structural.ValueValidation == nil {
    		return false
    	}
    	return s.Structural.ValueValidation.ExclusiveMinimum
    }
    
    func (s *Structural) Maximum() *float64 {
    	if s.Structural.ValueValidation == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. src/math/big/floatexample_test.go

    	// 0.015625
    	// 0.03125
    	// 0.0625
    	// 0.125
    	// 0.25
    	// 0.5
    	// 1
    	// 2
    	// 4
    	// 8
    	// 16
    }
    
    func ExampleFloat_Cmp() {
    	inf := math.Inf(1)
    	zero := 0.0
    
    	operands := []float64{-inf, -1.2, -zero, 0, +1.2, +inf}
    
    	fmt.Println("   x     y  cmp")
    	fmt.Println("---------------")
    	for _, x64 := range operands {
    		x := big.NewFloat(x64)
    		for _, y64 := range operands {
    			y := big.NewFloat(y64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/driver/driver.go

    // It is similar to the standard flag.FlagSet.
    type FlagSet interface {
    	// Bool, Int, Float64, and String define new flags,
    	// like the functions of the same name in package flag.
    	Bool(name string, def bool, usage string) *bool
    	Int(name string, def int, usage string) *int
    	Float64(name string, def float64, usage string) *float64
    	String(name string, def string, usage string) *string
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/structural.go

    type ValueValidation struct {
    	Format           string
    	Maximum          *float64
    	ExclusiveMaximum bool
    	Minimum          *float64
    	ExclusiveMinimum bool
    	MaxLength        *int64
    	MinLength        *int64
    	Pattern          string
    	MaxItems         *int64
    	MinItems         *int64
    	UniqueItems      bool
    	MultipleOf       *float64
    	Enum             []JSON
    	MaxProperties    *int64
    	MinProperties    *int64
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. src/go/types/resolver_test.go

    	return pkg, nil
    }
    
    func TestResolveIdents(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    
    	sources := []string{
    		`
    		package p
    		import "fmt"
    		import "math"
    		const pi = math.Pi
    		func sin(x float64) float64 {
    			return math.Sin(x)
    		}
    		var Println = fmt.Println
    		`,
    		`
    		package p
    		import "fmt"
    		type errorStringer struct { fmt.Stringer; error }
    		func f() string {
    			_ = "foo"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. src/internal/fmtsort/sort_test.go

    	ct(reflect.TypeOf(uintptr(0)), 0, 1, 5),
    	ct(reflect.TypeOf(string("")), "", "a", "ab"),
    	ct(reflect.TypeOf(float32(0)), math.NaN(), math.Inf(-1), -1e10, 0, 1e10, math.Inf(1)),
    	ct(reflect.TypeOf(float64(0)), math.NaN(), math.Inf(-1), -1e10, 0, 1e10, math.Inf(1)),
    	ct(reflect.TypeOf(complex64(0+1i)), -1-1i, -1+0i, -1+1i, 0-1i, 0+0i, 0+1i, 1-1i, 1+0i, 1+1i),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. cmd/callhome.go

    				// callhome was disabled or context was canceled
    				return
    			}
    
    			// callhome running on a different node.
    			// sleep for some time and try again.
    			duration := time.Duration(r.Float64() * float64(globalCallhomeConfig.FrequencyDur()))
    			if duration < time.Second {
    				// Make sure to sleep at least a second to avoid high CPU ticks.
    				duration = time.Second
    			}
    			time.Sleep(duration)
    		}
    	}()
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 16:53:34 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. src/internal/types/testdata/spec/typeAliases1.23b.go

    // The type parameters of a type alias must implement the
    // corresponding type constraints of the type parameters
    // on the RHS (if any)
    type _[P any, Q ~int] = RHS[P, Q]
    type _[P any, Q int] = RHS[P, Q]
    type _[P int | float64] = RHS[P, int]
    type _[P, Q any] = RHS[P, Q /* ERROR "Q does not satisfy ~int" */]
    
    // A generic type alias may be used like any other generic type.
    type A[P any] = RHS[P, int]
    
    func _(a A[string]) {
    	a.p = "foo"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. src/internal/coverage/cfile/testsupport.go

    				if counters[i].Load() != 0 {
    					totExec++
    				}
    			}
    			i += coverage.FirstCtrOffset + int(nCtrs) - 1
    		}
    	}
    	if tot == 0 {
    		return 0.0
    	}
    	return float64(totExec) / float64(tot)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top