- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 412 for nmPath (0.12 sec)
-
src/internal/trace/mud_test.go
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package trace import ( "math" "math/rand" "testing" ) func TestMUD(t *testing.T) { // Insert random uniforms and check histogram mass and // cumulative sum approximations. rnd := rand.New(rand.NewSource(42)) mass := 0.0 var mud mud for i := 0; i < 100; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr.go
// your responsibility not to call this method with a value greater // than int32. // Deprecated: use FromInt32 instead. func FromInt(val int) IntOrString { if val > math.MaxInt32 || val < math.MinInt32 { klog.Errorf("value: %d overflows int32\n%s\n", val, debug.Stack()) } return IntOrString{Type: Int, IntVal: int32(val)} } // FromInt32 creates an IntOrString object with an int32 value.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:09 UTC 2024 - 7.8K bytes - Viewed (0) -
src/crypto/x509/oid_test.go
{oid: mustNewOIDFromInts(t, []uint64{1, 33, math.MaxInt32}), oid2: asn1.ObjectIdentifier{1, 33}, eq: false}, {oid: mustNewOIDFromInts(t, []uint64{1, 33, math.MaxInt32}), oid2: asn1.ObjectIdentifier{1, 33, math.MaxInt32}, eq: true}, { oid: mustNewOIDFromInts(t, []uint64{1, 33, math.MaxInt32 + 1}),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 19:10:38 UTC 2024 - 10.8K bytes - Viewed (0) -
src/internal/trace/mud.go
d.unsorted = append(d.unsorted, edge{l, delta, 0}, edge{r, -delta, 0}) } // Update the histogram. h := &d.hist lbFloat, lf := math.Modf(l * mudDegree) lb := int(lbFloat) if lb >= mudDegree { lb, lf = mudDegree-1, 1 } if l == r { h[lb] += area } else { rbFloat, rf := math.Modf(r * mudDegree) rb := int(rbFloat) if rb >= mudDegree { rb, rf = mudDegree-1, 1 } if lb == rb { h[lb] += area
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 5.7K bytes - Viewed (0) -
src/internal/concurrent/hashtriemap_test.go
expectPresent(t, s, i)(m.Load(s)) expectLoaded(t, s, i)(m.LoadOrStore(s, 0)) } for i, s := range testData { expectPresent(t, s, i)(m.Load(s)) expectNotDeleted(t, s, math.MaxInt)(m.CompareAndDelete(s, math.MaxInt)) expectDeleted(t, s, i)(m.CompareAndDelete(s, i)) expectNotDeleted(t, s, i)(m.CompareAndDelete(s, i)) expectMissing(t, s, 0)(m.Load(s)) } for _, s := range testData {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 16:01:55 UTC 2024 - 9.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
private static final double[] VALUES = { Double.NEGATIVE_INFINITY, -Double.MAX_VALUE, (double) Long.MIN_VALUE, (double) Integer.MIN_VALUE, -Math.PI, -1.0, -Double.MIN_VALUE, -0.0, +0.0, Double.MIN_VALUE, 1.0, Math.PI, (double) Integer.MAX_VALUE, (double) Long.MAX_VALUE, Double.MAX_VALUE, Double.POSITIVE_INFINITY, Double.NaN, Float.MAX_VALUE,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 10.5K bytes - Viewed (0) -
maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 21:48:41 UTC 2024 - 6.6K bytes - Viewed (0) -
src/go/constant/example_test.go
// -1 (-1 + -1i) // 0 0 // 0 (0 + 0i) // 1 1 // 1 (0 + 1i) // 1 (1 + 1i) } func ExampleVal() { maxint := constant.MakeInt64(math.MaxInt64) fmt.Printf("%v\n", constant.Val(maxint)) e := constant.MakeFloat64(math.E) fmt.Printf("%v\n", constant.Val(e)) b := constant.MakeBool(true) fmt.Printf("%v\n", constant.Val(b)) b = constant.Make(false)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3.5K bytes - Viewed (0) -
src/math/big/floatexample_test.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package big_test import ( "fmt" "math" "math/big" ) func ExampleFloat_Add() { // Operate on numbers of different precision. var x, y, z big.Float x.SetInt64(1000) // x is automatically set to 64bit precision
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 15:46:54 UTC 2024 - 4.1K bytes - Viewed (0) -
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)