- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 76 for linkage (0.13 sec)
-
test/linkname3.go
// errorcheck // Copyright 2020 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. // Tests that errors are reported for misuse of linkname. package p import _ "unsafe" type t int var x, y int func F[T any](T) {} //go:linkname x ok // ERROR "//go:linkname must refer to declared function or variable"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:27:25 UTC 2024 - 720 bytes - Viewed (0) -
src/runtime/security_unix.go
// environment variable values (currently we only force GOTRACEBACK=none) // // Other packages may also disable specific functionality when secure mode // is enabled (determined by using linkname to call isSecureMode). secureEnv() } func secureEnv() { var hasTraceback bool for i := 0; i < len(envs); i++ { if stringslite.HasPrefix(envs[i], "GOTRACEBACK=") { hasTraceback = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 866 bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/vintage/JUnitVintageConsoleLoggingIntegrationTest.groovy
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.testing.junit.vintage import org.gradle.integtests.fixtures.TargetCoverage import org.gradle.testing.junit.AbstractJUnitConsoleLoggingIntegrationTest import static org.gradle.testing.fixture.JUnitCoverage.JUNIT_VINTAGE
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 06:58:24 UTC 2024 - 1K bytes - Viewed (0) -
src/runtime/timestub.go
//go:build !faketime && !windows && !(linux && amd64) package runtime import _ "unsafe" // for go:linkname // time_now should be an internal detail, // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - gitee.com/quant1x/gox // - github.com/phuslu/log // - github.com/sethvargo/go-limiter // - github.com/ulule/limiter/v3 //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 889 bytes - Viewed (0) -
src/runtime/testdata/testprognet/waiters.go
"net" "internal/runtime/atomic" "sync" "time" _ "unsafe" // for go:linkname ) // The bug is that netpollWaiters increases monotonically. // This doesn't cause a problem until it overflows. // Use linkname to see the value. // //go:linkname netpollWaiters runtime.netpollWaiters var netpollWaiters atomic.Uint32 func init() { register("NetpollWaiters", NetpollWaiters) } func NetpollWaiters() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 1.3K bytes - Viewed (0) -
src/testing/newcover.go
// license that can be found in the LICENSE file. // Support for test coverage with redesigned coverage implementation. package testing import ( "fmt" "internal/goexperiment" "os" _ "unsafe" // for linkname ) // cover2 variable stores the current coverage mode and a // tear-down function to be called at the end of the testing run. var cover2 struct { mode string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:58:07 UTC 2024 - 1.6K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/Flaky.groovy
* tests annotated by this is handled by `JUnitPlatformOptions.includeTags/excludeTags`. * For JUnit 4 tests, because we run them in Vintage engine, we have to annotate the tests with `@Category(Flaky.class)` so it can be transparently
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.9K bytes - Viewed (0) -
src/net/ipsock_posix.go
// license that can be found in the LICENSE file. //go:build unix || js || wasip1 || windows package net import ( "context" "internal/poll" "net/netip" "runtime" "syscall" _ "unsafe" // for linkname ) // probe probes IPv4, IPv6 and IPv4-mapped IPv6 communication // capabilities which are controlled by the IPV6_V6ONLY socket option // and kernel configuration. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 8.6K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_386.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build 386 package atomic import "unsafe" // Export some functions via linkname to assembly in sync/atomic. // //go:linkname Load //go:linkname Loadp //go:linkname LoadAcquintptr //go:nosplit //go:noinline func Load(ptr *uint32) uint32 { return *ptr } //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 2.2K bytes - Viewed (0) -
src/net/dnsconfig.go
"sync/atomic" "time" _ "unsafe" ) // defaultNS is the default name servers to use in the absence of DNS configuration. // // defaultNS should be an internal detail, // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - github.com/pojntfx/hydrapp/hydrapp // - github.com/mtibben/androiddnsfix // - github.com/metacubex/mihomo // // Do not remove or change the type signature.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 2.2K bytes - Viewed (0)