Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for mymath (0.21 sec)

  1. src/math/big/float_test.go

    		0,
    		1,
    		2,
    		12345,
    		1e10,
    		1e100,
    		3.14159265e10,
    		2.718281828e-123,
    		1.0 / 3,
    		math.MaxFloat32,
    		math.MaxFloat64,
    		math.SmallestNonzeroFloat32,
    		math.SmallestNonzeroFloat64,
    		math.Inf(-1),
    		math.Inf(0),
    		-math.Inf(1),
    	} {
    		for i := range [2]int{} {
    			if i&1 != 0 {
    				want = -want
    			}
    			var f Float
    			f.SetFloat64(want)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewrite.go

    	"cmd/compile/internal/types"
    	"cmd/internal/obj"
    	"cmd/internal/obj/s390x"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    	"encoding/binary"
    	"fmt"
    	"internal/buildcfg"
    	"io"
    	"math"
    	"math/bits"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    type deadValueChoice bool
    
    const (
    	leaveDeadValues  deadValueChoice = false
    	removeDeadValues                 = true
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  3. src/time/time_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package time_test
    
    import (
    	"bytes"
    	"encoding/gob"
    	"encoding/json"
    	"fmt"
    	"math"
    	"math/big"
    	"math/rand"
    	"os"
    	"runtime"
    	"strings"
    	"sync"
    	"testing"
    	"testing/quick"
    	. "time"
    )
    
    // We should be in PST/PDT, but if the time zone files are missing we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  4. pkg/controller/podautoscaler/horizontal.go

    		return currentReplicas // Scaling is disabled
    	} else if *scalingRules.SelectPolicy == autoscalingv2.MinChangePolicySelect {
    		result = math.MaxInt32
    		selectPolicyFn = min // For scaling up, the lowest change ('min' policy) produces a minimum value
    	} else {
    		result = math.MinInt32
    		selectPolicyFn = max // Use the default policy otherwise to produce a highest possible change
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    // Constant folding
    (FABS (FMOVDconst [x])) => (FMOVDconst [math.Abs(x)])
    (FSQRT (FMOVDconst [x])) && x >= 0 => (FMOVDconst [math.Sqrt(x)])
    (FFLOOR (FMOVDconst [x])) => (FMOVDconst [math.Floor(x)])
    (FCEIL (FMOVDconst [x])) => (FMOVDconst [math.Ceil(x)])
    (FTRUNC (FMOVDconst [x])) => (FMOVDconst [math.Trunc(x)])
    
    // Rotates
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  6. src/main/webapp/js/jquery-3.6.3.min.js

    n&&(u-=E.css(e,"border"+ne[a]+"Width",!0,i))):(u+=E.css(e,"padding"+ne[a],!0,i),"padding"!==n?u+=E.css(e,"border"+ne[a]+"Width",!0,i):s+=E.css(e,"border"+ne[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function Ze(e,t,n){var r=Me(e),i=(!v.boxSizingReliable()||n)&&"border-box"===E.css(e,"boxSizing",!1,r),o=i,a=Be(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Pe.test(a)){if(!n)return a;a="auto"}return(!v.boxSizingReliabl...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 17 12:13:41 UTC 2023
    - 87.8K bytes
    - Viewed (0)
  7. pkg/controller/podautoscaler/replica_calculator_test.go

    	target := math.Abs(1/(requestedToUsed*(1-defaultTestingTolerance))) + .01
    	finalCPUPercentTarget := int32(target * 100)
    	resourcesUsedRatio := float64(totalUsedCPUOfAllPods) / float64(float64(totalRequestedCPUOfAllPods)*target)
    
    	// i.e. .60 * 20 -> scaled down expectation.
    	finalPods := int32(math.Ceil(resourcesUsedRatio * float64(startPods)))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 68.4K bytes
    - Viewed (0)
  8. pkg/apis/flowcontrol/validation/validation_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package validation
    
    import (
    	"fmt"
    	"math"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/stretchr/testify/assert"
    	flowcontrolv1 "k8s.io/api/flowcontrol/v1"
    	flowcontrolv1beta1 "k8s.io/api/flowcontrol/v1beta1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 54.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/certificates/v1beta1/generated.pb.go

    	github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
    
    	k8s_io_api_core_v1 "k8s.io/api/core/v1"
    
    	math "math"
    	math_bits "math/bits"
    	reflect "reflect"
    	strings "strings"
    )
    
    // Reference imports to suppress errors if they are not otherwise used.
    var _ = proto.Marshal
    var _ = fmt.Errorf
    var _ = math.Inf
    
    // This is a compile-time assertion to ensure that this generated file
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  10. src/encoding/json/decode_test.go

    		ptr:      new(map[int64]string),
    		out:      map[int64]string{math.MinInt64: "min", math.MaxInt64: "max"},
    	},
    	{
    		CaseName: Name(""),
    		in:       `{"18446744073709551615":"max"}`,
    		ptr:      new(map[uint64]string),
    		out:      map[uint64]string{math.MaxUint64: "max"},
    	},
    	{
    		CaseName: Name(""),
    		in:       `{"0":false,"10":true}`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
Back to top