mirror of
https://github.com/golang/go
synced 2024-11-11 18:21:40 -07:00
all: fix mismatched symbols
There are some symbol mismatches in the comments, this commit attempts to fix them Change-Id: I5c9075e5218defe9233c075744d243b26ff68496 Reviewed-on: https://go-review.googlesource.com/c/go/+/492996 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: shuang cui <imcusg@gmail.com> Reviewed-by: Michael Pratt <mpratt@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Run-TryBot: Michael Pratt <mpratt@google.com> Auto-Submit: Michael Pratt <mpratt@google.com>
This commit is contained in:
parent
70cb990b15
commit
8b53c2d2fc
@ -25,7 +25,7 @@ package math
|
||||
// asinh(x) = sign(x) * log [ |x| + sqrt(x*x+1) ]
|
||||
// we have
|
||||
// asinh(x) := x if 1+x*x=1,
|
||||
// := sign(x)*(log(x)+ln2)) for large |x|, else
|
||||
// := sign(x)*(log(x)+ln2) for large |x|, else
|
||||
// := sign(x)*log(2|x|+1/(|x|+sqrt(x*x+1))) if|x|>2, else
|
||||
// := sign(x)*log1p(|x| + x**2/(1 + sqrt(1+x**2)))
|
||||
//
|
||||
|
@ -465,7 +465,7 @@ func (j *Jar) domainAndType(host, domain string) (string, bool, error) {
|
||||
// dot in the domain-attribute before processing the cookie.
|
||||
//
|
||||
// Most browsers don't do that for IP addresses, only curl
|
||||
// version 7.54) and IE (version 11) do not reject a
|
||||
// (version 7.54) and IE (version 11) do not reject a
|
||||
// Set-Cookie: a=1; domain=.127.0.0.1
|
||||
// This leading dot is optional and serves only as hint for
|
||||
// humans to indicate that a cookie with "domain=.bbc.co.uk"
|
||||
|
@ -37,7 +37,7 @@ var exitHooks struct {
|
||||
// runExitHooks runs any registered exit hook functions (funcs
|
||||
// previously registered using runtime.addExitHook). Here 'exitCode'
|
||||
// is the status code being passed to os.Exit, or zero if the program
|
||||
// is terminating normally without calling os.Exit).
|
||||
// is terminating normally without calling os.Exit.
|
||||
func runExitHooks(exitCode int) {
|
||||
if exitHooks.runningExitHooks {
|
||||
throw("internal error: exit hook invoked exit")
|
||||
|
@ -72,7 +72,7 @@ func initMetrics() {
|
||||
// and exclusive lower bound (e.g. 48-byte size class is
|
||||
// (32, 48]) whereas we want and inclusive lower-bound
|
||||
// and exclusive upper-bound (e.g. 48-byte size class is
|
||||
// [33, 49). We can achieve this by shifting all bucket
|
||||
// [33, 49)). We can achieve this by shifting all bucket
|
||||
// boundaries up by 1.
|
||||
//
|
||||
// Also, a float64 can precisely represent integers with
|
||||
|
Loading…
Reference in New Issue
Block a user