- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,784 for nmPath (0.27 sec)
-
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) -
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) -
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) -
src/cmd/go/internal/modget/query.go
// contain q.pattern. func (q *query) canMatchInModule(mPath string) bool { if gover.IsToolchain(mPath) { return false } if q.canMatchWildcardInModule != nil { return q.canMatchWildcardInModule(mPath) } return str.HasPathPrefix(q.pattern, mPath) } // pathOnce invokes f to generate the pathSet for the given path, // if one is still needed. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 27 15:48:25 UTC 2023 - 11.2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
test/fixedbugs/issue7740.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 25 18:53:24 UTC 2021 - 736 bytes - Viewed (0) -
src/go/importer/importer_test.go
} imp := ForCompiler(fset, compiler, lookup) pkg, err := imp.Import("math/bigger") if err != nil { t.Fatal(err) } // Even though we open math/big.a, the import request was for math/bigger // and that should be recorded in pkg.Path(), at least for the gc toolchain. if pkg.Path() != "math/bigger" { t.Fatalf("Path() = %q, want %q", pkg.Path(), "math/bigger") } })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 25 21:16:32 UTC 2023 - 2.8K bytes - Viewed (0)