Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,784 for nmPath (0.15 sec)

  1. src/cmd/gofmt/testdata/import.golden

    package main
    
    import (
    	"errors"
    	"fmt"
    	"io"
    	"log"
    	"math"
    )
    
    import (
    	"fmt"
    
    	"math"
    
    	"log"
    
    	"errors"
    
    	"io"
    )
    
    // We reset the line numbering to test that
    // the formatting works independent of line directives
    //line :19
    
    import (
    	"errors"
    	"fmt"
    	"io"
    	"log"
    	"math"
    
    	"fmt"
    
    	"math"
    
    	"log"
    
    	"errors"
    
    	"io"
    )
    
    import (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 28 23:33:26 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  2. src/math/cmplx/sqrt.go

    		}
    		if real(x) < 0 {
    			return complex(0, math.Copysign(math.Sqrt(-real(x)), imag(x)))
    		}
    		return complex(math.Sqrt(real(x)), imag(x))
    	} else if math.IsInf(imag(x), 0) {
    		return complex(math.Inf(1.0), imag(x))
    	}
    	if real(x) == 0 {
    		if imag(x) < 0 {
    			r := math.Sqrt(-0.5 * imag(x))
    			return complex(r, -r)
    		}
    		r := math.Sqrt(0.5 * imag(x))
    		return complex(r, r)
    	}
    	a := real(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 3K bytes
    - Viewed (0)
  3. src/math/rand/zipf.go

    	z.v = v
    	z.q = s
    	z.oneminusQ = 1.0 - z.q
    	z.oneminusQinv = 1.0 / z.oneminusQ
    	z.hxm = z.h(z.imax + 0.5)
    	z.hx0minusHxm = z.h(0.5) - math.Exp(math.Log(z.v)*(-z.q)) - z.hxm
    	z.s = 1 - z.hinv(z.h(1.5)-math.Exp(-z.q*math.Log(z.v+1.0)))
    	return z
    }
    
    // Uint64 returns a value drawn from the [Zipf] distribution described
    // by the [Zipf] object.
    func (z *Zipf) Uint64() uint64 {
    	if z == nil {
    		panic("rand: nil Zipf")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. src/math/cmplx/exp.go

    	switch re, im := real(x), imag(x); {
    	case math.IsInf(re, 0):
    		switch {
    		case re > 0 && im == 0:
    			return x
    		case math.IsInf(im, 0) || math.IsNaN(im):
    			if re < 0 {
    				return complex(0, math.Copysign(0, im))
    			} else {
    				return complex(math.Inf(1.0), math.NaN())
    			}
    		}
    	case math.IsNaN(re):
    		if im == 0 {
    			return complex(math.NaN(), im)
    		}
    	}
    	r := math.Exp(real(x))
    	s, c := math.Sincos(imag(x))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 2.1K bytes
    - Viewed (0)
  5. api/go1.17.txt

    pkg math (linux-amd64-cgo), const MinInt = -9223372036854775808
    pkg math (linux-arm), const MaxInt = 2147483647
    pkg math (linux-arm), const MaxUint = 4294967295
    pkg math (linux-arm), const MinInt = -2147483648
    pkg math (linux-arm-cgo), const MaxInt = 2147483647
    pkg math (linux-arm-cgo), const MaxUint = 4294967295
    pkg math (linux-arm-cgo), const MinInt = -2147483648
    pkg math (netbsd-386), const MaxInt = 2147483647
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 18K bytes
    - Viewed (0)
  6. 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)
  7. android/guava-tests/test/com/google/common/math/StatsTest.java

    import static com.google.common.math.StatsTesting.MANY_VALUES_MAX;
    import static com.google.common.math.StatsTesting.MANY_VALUES_MEAN;
    import static com.google.common.math.StatsTesting.MANY_VALUES_MIN;
    import static com.google.common.math.StatsTesting.MANY_VALUES_STATS_ITERABLE;
    import static com.google.common.math.StatsTesting.MANY_VALUES_STATS_ITERATOR;
    import static com.google.common.math.StatsTesting.MANY_VALUES_STATS_SNAPSHOT;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/roundtrip_test.go

    			name: "int32 zero",
    			obj:  int32(math.MinInt32),
    		},
    		{
    			name: "uint32 max",
    			obj:  uint32(math.MaxUint32),
    		},
    		{
    			name: "uint32 zero",
    			obj:  uint32(0),
    		},
    		{
    			name: "int16 max",
    			obj:  int16(math.MaxInt16),
    		},
    		{
    			name: "int16 min",
    			obj:  int16(math.MinInt16),
    		},
    		{
    			name: "int16 zero",
    			obj:  int16(math.MinInt16),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 21:48:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. src/internal/fuzz/encoding_test.go

    }
    
    func FuzzFloat64RoundTrip(f *testing.F) {
    	f.Add(math.Float64bits(0))
    	f.Add(math.Float64bits(math.Copysign(0, -1)))
    	f.Add(math.Float64bits(math.MaxFloat64))
    	f.Add(math.Float64bits(math.SmallestNonzeroFloat64))
    	f.Add(math.Float64bits(math.NaN()))
    	f.Add(uint64(0x7FF0000000000001)) // signaling NaN
    	f.Add(math.Float64bits(math.Inf(1)))
    	f.Add(math.Float64bits(math.Inf(-1)))
    
    	f.Fuzz(func(t *testing.T, u1 uint64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 00:20:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

    import static com.google.common.math.StatsTesting.EMPTY_STATS_ITERABLE;
    import static com.google.common.math.StatsTesting.HORIZONTAL_VALUES_PAIRED_STATS;
    import static com.google.common.math.StatsTesting.MANY_VALUES;
    import static com.google.common.math.StatsTesting.MANY_VALUES_COUNT;
    import static com.google.common.math.StatsTesting.MANY_VALUES_PAIRED_STATS;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14K bytes
    - Viewed (0)
Back to top