- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 165 for asan (0.11 sec)
-
src/math/asin.go
They are implemented by computing the arctangent after appropriate range reduction. */ // Asin returns the arcsine, in radians, of x. // // Special cases are: // // Asin(±0) = ±0 // Asin(x) = NaN if x < -1 or x > 1 func Asin(x float64) float64 { if haveArchAsin { return archAsin(x) } return asin(x) } func asin(x float64) float64 { if x == 0 { return x // special case } sign := false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.1K bytes - Viewed (0) -
src/math/atan.go
} return Pi/4 + xatan((x-1)/(x+1)) + 0.5*Morebits } // Atan returns the arctangent, in radians, of x. // // Special cases are: // // Atan(±0) = ±0 // Atan(±Inf) = ±Pi/2 func Atan(x float64) float64 { if haveArchAtan { return archAtan(x) } return atan(x) } func atan(x float64) float64 { if x == 0 { return x } if x > 0 { return satan(x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 3K bytes - Viewed (0) -
src/internal/msan/msan.go
// Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build msan package msan import ( "unsafe" ) const Enabled = true //go:linkname Read runtime.msanread func Read(addr unsafe.Pointer, sz uintptr) //go:linkname Write runtime.msanwrite func Write(addr unsafe.Pointer, sz uintptr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 20:50:21 UTC 2024 - 647 bytes - Viewed (0) -
src/runtime/msan/msan.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build msan && ((linux && (amd64 || arm64 || loong64)) || (freebsd && amd64)) package msan /* #cgo CFLAGS: -fsanitize=memory #cgo LDFLAGS: -fsanitize=memory #include <stdint.h> #include <sanitizer/msan_interface.h> void __msan_read_go(void *addr, uintptr_t sz) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 20:58:13 UTC 2023 - 729 bytes - Viewed (0) -
src/runtime/msan.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build msan package runtime import ( "unsafe" ) // Public memory sanitizer API. func MSanRead(addr unsafe.Pointer, len int) { msanread(addr, uintptr(len)) } func MSanWrite(addr unsafe.Pointer, len int) { msanwrite(addr, uintptr(len)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 20:50:21 UTC 2024 - 1.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/tsan_test.go
if err != nil { t.Fatal(err) } goarch, err := goEnv("GOARCH") if err != nil { t.Fatal(err) } // The msan tests require support for the -msan option. if !compilerRequiredTsanVersion(goos, goarch) { t.Skipf("skipping on %s/%s; compiler version for -tsan option is too old.", goos, goarch) } t.Parallel() requireOvercommit(t) config := configure("thread") config.skipIfCSanitizerBroken(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 21:14:49 UTC 2024 - 1.9K bytes - Viewed (0) -
src/math/cmplx/cmath_test.go
} } } func TestAsin(t *testing.T) { for i := 0; i < len(vc); i++ { if f := Asin(vc[i]); !cSoclose(asin[i], f, 1e-14) { t.Errorf("Asin(%g) = %g, want %g", vc[i], f, asin[i]) } } for _, v := range asinSC { if f := Asin(v.in); !cAlike(v.want, f) { t.Errorf("Asin(%g) = %g, want %g", v.in, f, v.want) } if math.IsNaN(imag(v.in)) || math.IsNaN(imag(v.want)) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 01 03:16:37 UTC 2020 - 48.1K bytes - Viewed (0) -
src/runtime/malloc.go
// It's possible for any malloc to trigger sweeping, which may in // turn queue finalizers. Record this dynamic lock edge. lockRankMayQueueFinalizer() userSize := size if asanenabled { // Refer to ASAN runtime library, the malloc() function allocates extra memory, // the redzone, around the user requested memory region. And the redzones are marked
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 59.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/cshared_test.go
//The memory sanitizer tests require support for the -msan option. if tc.sanitizer == "memory" && !platform.MSanSupported(GOOS, GOARCH) { t.Logf("skipping %s test on %s/%s; -msan option is not supported.", name, GOOS, GOARCH) continue } if tc.sanitizer == "thread" && !compilerRequiredTsanVersion(GOOS, GOARCH) { t.Logf("skipping %s test on %s/%s; compiler version too old for -tsan.", name, GOOS, GOARCH) continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:37:31 UTC 2023 - 2.1K bytes - Viewed (0) -
src/cmd/go/alldocs.go
// linux/ppc64le and linux/arm64 (only for 48-bit VMA). // -msan // enable interoperation with memory sanitizer. // Supported only on linux/amd64, linux/arm64, linux/loong64, freebsd/amd64 // and only with Clang/LLVM as the host C compiler. // PIE build mode will be used on all platforms except linux/amd64. // -asan // enable interoperation with address sanitizer.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 142.4K bytes - Viewed (0)