Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for FLOAT64 (0.13 sec)

  1. doc/go_spec.html

    <pre>
    const (
    	c1 = imag(2i)                    // imag(2i) = 2.0 is a constant
    	c2 = len([10]float64{2})         // [10]float64{2} contains no function calls
    	c3 = len([10]float64{c1})        // [10]float64{c1} contains no function calls
    	c4 = len([10]float64{imag(2i)})  // imag(2i) is a constant and no function call is issued
    	c5 = len([10]float64{imag(z)})   // invalid: imag(z) is a (non-constant) function call
    )
    var z complex128
    </pre>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    }
    func (s *state) constInt64(t *types.Type, c int64) *ssa.Value {
    	return s.f.ConstInt64(t, c)
    }
    func (s *state) constFloat32(t *types.Type, c float64) *ssa.Value {
    	return s.f.ConstFloat32(t, c)
    }
    func (s *state) constFloat64(t *types.Type, c float64) *ssa.Value {
    	return s.f.ConstFloat64(t, c)
    }
    func (s *state) constInt(t *types.Type, c int64) *ssa.Value {
    	if s.config.PtrSize == 8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.pb.go

    		encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(*m.Minimum))))
    		i--
    		dAtA[i] = 0x59
    	}
    	i--
    	if m.ExclusiveMaximum {
    		dAtA[i] = 1
    	} else {
    		dAtA[i] = 0
    	}
    	i--
    	dAtA[i] = 0x50
    	if m.Maximum != nil {
    		i -= 8
    		encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(*m.Maximum))))
    		i--
    		dAtA[i] = 0x49
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 244.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.pb.go

    		encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(*m.Minimum))))
    		i--
    		dAtA[i] = 0x59
    	}
    	i--
    	if m.ExclusiveMaximum {
    		dAtA[i] = 1
    	} else {
    		dAtA[i] = 0
    	}
    	i--
    	dAtA[i] = 0x50
    	if m.Maximum != nil {
    		i -= 8
    		encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(*m.Maximum))))
    		i--
    		dAtA[i] = 0x49
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 248K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewritePPC64.go

    		v0.AddArg(x)
    		v.AddArg(v0)
    		return true
    	}
    }
    func rewriteValuePPC64_OpCvt64Fto64(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Cvt64Fto64 x)
    	// result: (MFVSRD (FCTIDZ x))
    	for {
    		x := v_0
    		v.reset(OpPPC64MFVSRD)
    		v0 := b.NewValue0(v.Pos, OpPPC64FCTIDZ, typ.Float64)
    		v0.AddArg(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  6. src/net/http/h2_bundle.go

    func (z http2sortPriorityNodeSiblings) Less(i, k int) bool {
    	// Prefer the subtree that has sent fewer bytes relative to its weight.
    	// See sections 5.3.2 and 5.3.4.
    	wi, bi := float64(z[i].weight+1), float64(z[i].subtreeBytes)
    	wk, bk := float64(z[k].weight+1), float64(z[k].subtreeBytes)
    	if bi == 0 && bk == 0 {
    		return wi >= wk
    	}
    	if bk == 0 {
    		return false
    	}
    	return bi/bk <= wi/wk
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  7. pkg/apis/core/validation/validation.go

    			if maxRatioFound && minQuantityFound && maxQuantityFound {
    				maxRatioValue := float64(maxRatio.Value())
    				minQuantityValue := minQuantity.Value()
    				maxQuantityValue := maxQuantity.Value()
    				if maxRatio.Value() < resource.MaxMilliValue && minQuantityValue < resource.MaxMilliValue && maxQuantityValue < resource.MaxMilliValue {
    					maxRatioValue = float64(maxRatio.MilliValue()) / 1000
    					minQuantityValue = minQuantity.MilliValue()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/generated/openapi/zz_generated.openapi.go

    	return common.OpenAPIDefinition{
    		Schema: spec.Schema{
    			SchemaProps: spec.SchemaProps{
    				Description: "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.",
    				Type:        v1.JSON{}.OpenAPISchemaType(),
    				Format:      v1.JSON{}.OpenAPISchemaFormat(),
    			},
    		},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:17 UTC 2024
    - 329.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go

    		"status": {},
    	},
    	ExternalDocs: &apiextensions.ExternalDocumentation{
    		Description: "This is an external documentation description",
    	},
    	Example: &example,
    }
    
    func float64Ptr(f float64) *float64 {
    	return &f
    }
    
    func int64Ptr(f int64) *int64 {
    	return &f
    }
    
    func jsonPtr(x interface{}) *apiextensions.JSON {
    	ret := apiextensions.JSON(x)
    	return &ret
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 349.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewriteARM.go

    	// match: (Const32F [val])
    	// result: (MOVFconst [float64(val)])
    	for {
    		val := auxIntToFloat32(v.AuxInt)
    		v.reset(OpARMMOVFconst)
    		v.AuxInt = float64ToAuxInt(float64(val))
    		return true
    	}
    }
    func rewriteValueARM_OpConst64F(v *Value) bool {
    	// match: (Const64F [val])
    	// result: (MOVDconst [float64(val)])
    	for {
    		val := auxIntToFloat64(v.AuxInt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 486.8K bytes
    - Viewed (0)
Back to top