- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 321 for sticky (0.32 sec)
-
src/runtime/defs_freebsd_arm64.go
parent_tid *int64 flags int32 pad_cgo_0 [4]byte rtp *rtprio spare [3]uintptr } type thread int64 // long type sigset struct { __bits [4]uint32 } type stackt struct { ss_sp uintptr ss_size uintptr ss_flags int32 pad_cgo_0 [4]byte } type siginfo struct { si_signo int32 si_errno int32 si_code int32 si_pid int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 4.3K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/stackswitch.go
// We want to trigger a bounds check on the g0 stack. To do this, we // need to call a splittable function through systemstack(). // SetGCPercent contains such a systemstack call. gogc := debug.SetGCPercent(100) debug.SetGCPercent(gogc) } // Regression test for https://go.dev/issue/62440. It should be possible for C // threads to call into Go from different stacks without crashing due to g0 // stack bounds checks. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 15:33:38 UTC 2023 - 1.1K bytes - Viewed (0) -
src/runtime/cgo/gcc_stack_unix.c
#else // We don't know how to get the current stacks, so assume they are the // same as the default stack bounds. pthread_attr_getstacksize(&attr, &size); addr = __builtin_frame_address(0) + 4096 - size; #endif pthread_attr_destroy(&attr); // bounds points into the Go stack. TSAN can't see the synchronization // in Go around stack reuse. _cgo_tsan_acquire(); bounds[0] = (uintptr)addr;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 03:44:11 UTC 2024 - 1.5K bytes - Viewed (0) -
src/runtime/os_netbsd.go
// signal stack of the creating thread. We always create a // new signal stack here, to avoid having two Go threads using // the same signal stack. This breaks the case of a thread // created in C that calls sigaltstack and then calls a Go // function, because we will lose track of the C code's // sigaltstack, but it's the best we can do. signalstack(&gp.m.gsignal.stack) gp.m.newSigstack = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 10.1K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/testdata/smoketest.go
type _ interface { m() ~int } type _ interface { ~int | ~float | ~string ~complex128 underlying(underlying underlying) underlying } type _ interface { T T[int] } // tricky cases func _(T[P], T[P1, P2]) func _(a [N]T) type _ struct { T[P] T[P1, P2] f[N] } type _ interface { m() // instantiated types T[ /* ERROR empty type argument list */ ] T[P]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 30 18:02:31 UTC 2022 - 1.2K bytes - Viewed (0) -
src/cmd/internal/src/pos_test.go
{makeLico(1, 1), ":1:1", 1, 1}, {makeLico(2, 3), ":2:3", 2, 3}, {makeLico(lineMax, 1), fmt.Sprintf(":%d", lineMax), lineMax, 1}, {makeLico(lineMax+1, 1), fmt.Sprintf(":%d", lineMax), lineMax, 1}, // line too large, stick with max. line {makeLico(1, colMax), ":1", 1, colMax}, {makeLico(1, colMax+1), ":1", 1, 0}, // column too large {makeLico(lineMax+1, colMax+1), fmt.Sprintf(":%d", lineMax), lineMax, 0}, } { x := test.x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 14 23:50:26 UTC 2022 - 8.4K bytes - Viewed (0) -
src/runtime/os_freebsd.go
func newosproc(mp *m) { stk := unsafe.Pointer(mp.g0.stack.hi) if false { print("newosproc stk=", stk, " m=", mp, " g=", mp.g0, " thr_start=", abi.FuncPCABI0(thr_start), " id=", mp.id, " ostk=", &mp, "\n") } param := thrparam{ start_func: abi.FuncPCABI0(thr_start), arg: unsafe.Pointer(mp), stack_base: mp.g0.stack.lo, stack_size: uintptr(stk) - mp.g0.stack.lo, child_tid: nil, // minit will record tid
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 11.6K bytes - Viewed (0) -
src/runtime/os3_solaris.go
throw("pthread_attr_init") } // Allocate a new 2MB stack. if pthread_attr_setstack(&attr, 0, 0x200000) != 0 { throw("pthread_attr_setstack") } // Read back the allocated stack. if pthread_attr_getstack(&attr, unsafe.Pointer(&mp.g0.stack.hi), &size) != 0 { throw("pthread_attr_getstack") } mp.g0.stack.lo = mp.g0.stack.hi - uintptr(size)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 17.6K bytes - Viewed (0) -
src/internal/trace/oldtrace.go
// This should be impossible but let's be safe. return fmt.Errorf("couldn't add strings: %w", addErr) } it.evt.strings.compactify() // Convert stacks. for id, stk := range pr.Stacks { evt.stacks.insert(stackID(id), stack{pcs: stk}) } // OPT(dh): if we could share the frame type between this package and // oldtrace we wouldn't have to copy the map. for pc, f := range pr.PCs {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 17.2K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/raceprof.go
#include <sched.h> struct cgoTracebackArg { uintptr_t context; uintptr_t sigContext; uintptr_t* buf; uintptr_t max; }; static int raceprofCount; // We want a bunch of different profile stacks that collide in the // hash table maintained in runtime/cpuprof.go. This code knows the // size of the hash table (1 << 10) and knows that the hash function // is simply multiplicative. void raceprofTraceback(void* parg) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 24 18:13:14 UTC 2023 - 1.7K bytes - Viewed (0)