Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 412 for nmPath (0.16 sec)

  1. src/internal/fmtsort/sort_test.go

    	ct(reflect.TypeOf(uint64(0)), 0, 1, 5),
    	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)
  2. staging/src/k8s.io/apiserver/pkg/cel/library/cost.go

    	case "url", "lowerAscii", "upperAscii", "substring", "trim":
    		if len(args) >= 1 {
    			cost := uint64(math.Ceil(float64(actualSize(args[0])) * common.StringTraversalCostFactor))
    			return &cost
    		}
    	case "replace", "split":
    		if len(args) >= 1 {
    			// cost is the traversal plus the construction of the result
    			cost := uint64(math.Ceil(float64(actualSize(args[0])) * 2 * common.StringTraversalCostFactor))
    			return &cost
    		}
    	case "join":
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  3. src/math/rand/rand_test.go

    	testWn = make([]float32, 128)
    	testFn = make([]float32, 128)
    
    	q := vn / math.Exp(-0.5*dn*dn)
    	testKn[0] = uint32((dn / q) * m1)
    	testKn[1] = 0
    	testWn[0] = float32(q / m1)
    	testWn[127] = float32(dn / m1)
    	testFn[0] = 1.0
    	testFn[127] = float32(math.Exp(-0.5 * dn * dn))
    	for i := 126; i >= 1; i-- {
    		dn = math.Sqrt(-2.0 * math.Log(vn/dn+math.Exp(-0.5*dn*dn)))
    		testKn[i+1] = uint32((dn / tn) * m1)
    		tn = dn
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. src/slices/sort_test.go

    package slices_test
    
    import (
    	"cmp"
    	"fmt"
    	"math"
    	"math/rand"
    	. "slices"
    	"strconv"
    	"strings"
    	"testing"
    )
    
    var ints = [...]int{74, 59, 238, -784, 9845, 959, 905, 0, 0, 42, 7586, -5467984, 7586}
    var float64s = [...]float64{74.3, 59.0, math.Inf(1), 238.2, -784.0, 2.3, math.Inf(-1), 9845.768, -959.7485, 905, 7.8, 7.8, 74.3, 59.0, math.Inf(1), 238.2, -784.0, 2.3}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 19:20:55 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. src/math/rand/v2/rand_test.go

    	testWn = make([]float32, 128)
    	testFn = make([]float32, 128)
    
    	q := vn / math.Exp(-0.5*dn*dn)
    	testKn[0] = uint32((dn / q) * m1)
    	testKn[1] = 0
    	testWn[0] = float32(q / m1)
    	testWn[127] = float32(dn / m1)
    	testFn[0] = 1.0
    	testFn[127] = float32(math.Exp(-0.5 * dn * dn))
    	for i := 126; i >= 1; i-- {
    		dn = math.Sqrt(-2.0 * math.Log(vn/dn+math.Exp(-0.5*dn*dn)))
    		testKn[i+1] = uint32((dn / tn) * m1)
    		tn = dn
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  6. src/encoding/binary/binary.go

    	case reflect.Float32:
    		e.uint32(math.Float32bits(float32(v.Float())))
    	case reflect.Float64:
    		e.uint64(math.Float64bits(v.Float()))
    
    	case reflect.Complex64:
    		x := v.Complex()
    		e.uint32(math.Float32bits(float32(real(x))))
    		e.uint32(math.Float32bits(float32(imag(x))))
    	case reflect.Complex128:
    		x := v.Complex()
    		e.uint64(math.Float64bits(real(x)))
    		e.uint64(math.Float64bits(imag(x)))
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  7. cmd/metrics-resource.go

    				tot := ts.User + ts.System + ts.Idle + ts.Iowait + ts.Nice + ts.Steal
    				cpuUserVal := math.Round(ts.User/tot*100*100) / 100
    				updateResourceMetrics(cpuSubsystem, cpuUser, cpuUserVal, labels, false)
    				cpuSystemVal := math.Round(ts.System/tot*100*100) / 100
    				updateResourceMetrics(cpuSubsystem, cpuSystem, cpuSystemVal, labels, false)
    				cpuIdleVal := math.Round(ts.Idle/tot*100*100) / 100
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 15:15:13 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. src/math/big/float.go

    		}
    		// x too large
    		return math.MaxInt64, Below
    
    	case zero:
    		return 0, Exact
    
    	case inf:
    		if x.neg {
    			return math.MinInt64, Above
    		}
    		return math.MaxInt64, Below
    	}
    
    	panic("unreachable")
    }
    
    // Float32 returns the float32 value nearest to x. If x is too small to be
    // represented by a float32 (|x| < [math.SmallestNonzeroFloat32]), the result
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  9. src/os/exec_unix_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build unix
    
    package os_test
    
    import (
    	"errors"
    	"internal/testenv"
    	"math"
    	. "os"
    	"runtime"
    	"syscall"
    	"testing"
    )
    
    func TestErrProcessDone(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. src/math/big/ratmarsh.go

    // license that can be found in the LICENSE file.
    
    // This file implements encoding/decoding of Rats.
    
    package big
    
    import (
    	"errors"
    	"fmt"
    	"internal/byteorder"
    	"math"
    )
    
    // Gob codec version. Permits backward-compatible changes to the encoding.
    const ratGobVersion byte = 1
    
    // GobEncode implements the [encoding/gob.GobEncoder] interface.
    func (x *Rat) GobEncode() ([]byte, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top