Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 210 for nmPath (0.18 sec)

  1. src/cmd/go/internal/modload/import.go

    // maybeInModule reports whether, syntactically,
    // a package with the given import path could be supplied
    // by a module with the given module path (mpath).
    func maybeInModule(path, mpath string) bool {
    	return mpath == path ||
    		len(path) > len(mpath) && path[len(mpath)] == '/' && path[:len(mpath)] == mpath
    }
    
    var (
    	haveGoModCache   par.Cache[string, bool]    // dir → bool
    	haveGoFilesCache par.ErrCache[string, bool] // dir → haveGoFiles
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr_test.go

    		},
    		{
    			input:  "2147483647", // math.MaxInt32
    			output: IntOrString{Type: Int, IntVal: 2147483647},
    		},
    		{
    			input:  "-2147483648", // math.MinInt32
    			output: IntOrString{Type: Int, IntVal: -2147483648},
    		},
    		{
    			input:  "2147483648", // math.MaxInt32+1
    			output: IntOrString{Type: String, StrVal: "2147483648"},
    		},
    		{
    			input:  "-2147483649", // math.MinInt32-1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. src/go/build/deps_test.go

    	< TIME;
    
    	TIME, io, path, slices
    	< io/fs;
    
    	# MATH is RUNTIME plus the basic math packages.
    	RUNTIME
    	< math
    	< MATH;
    
    	unicode !< math;
    
    	MATH
    	< math/cmplx;
    
    	MATH
    	< math/rand, math/rand/v2;
    
    	MATH
    	< runtime/metrics;
    
    	RUNTIME, math/rand/v2
    	< internal/concurrent;
    
    	MATH, unicode/utf8
    	< strconv;
    
    	unicode !< strconv;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.truth.Truth.assertWithMessage;
    import static java.math.BigInteger.ONE;
    import static java.math.BigInteger.TEN;
    import static java.math.BigInteger.ZERO;
    import static java.math.RoundingMode.CEILING;
    import static java.math.RoundingMode.DOWN;
    import static java.math.RoundingMode.FLOOR;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 17:58:33 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  5. src/slices/slices_test.go

    		{x: make([]struct{}, math.MaxInt/6-5), count: 6, want: make([]struct{}, 6*(math.MaxInt/6-5))},
    		{x: make([]struct{}, math.MaxInt/7-6), count: 7, want: make([]struct{}, 7*(math.MaxInt/7-6))},
    		{x: make([]struct{}, math.MaxInt/8-7), count: 8, want: make([]struct{}, 8*(math.MaxInt/8-7))},
    		{x: make([]struct{}, math.MaxInt/9-8), count: 9, want: make([]struct{}, 9*(math.MaxInt/9-8))},
    	} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:06 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top