- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for getp2 (0.04 sec)
-
test/codegen/stack.go
func spillSlotReuse() { // The return values of getp1 and getp2 need to be // spilled around the calls to nopInt. Make sure that // spill slot gets reused. //arm64:`.*autotmp_2-8\(SP\)` getp1()[nopInt()] = 0 //arm64:`.*autotmp_2-8\(SP\)` getp2()[nopInt()] = 0 } //go:noinline func nopInt() int { return 0 } //go:noinline func getp1() *[4]int { return nil } //go:noinline
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 21:29:41 UTC 2024 - 3.4K bytes - Viewed (0) -
src/runtime/runtime-seh_windows_test.go
pcs := make([]uintptr, 15) var base, frame uintptr var n int for i := 0; i < len(pcs); i++ { fn := windows.RtlLookupFunctionEntry(ctx.GetPC(), &base, nil) if fn == 0 { break } pcs[i] = ctx.GetPC() n++ windows.RtlVirtualUnwind(0, base, ctx.GetPC(), fn, uintptr(unsafe.Pointer(ctx)), nil, &frame, nil) } return pcs[:n] } // SEH unwinding does not report inlined frames. // //go:noinline
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 31 16:52:06 UTC 2023 - 4.7K bytes - Viewed (0) -
src/cmd/internal/codesign/codesign.go
} func FindCodeSigCmd(f *macho.File) (CodeSigCmd, bool) { get32 := f.ByteOrder.Uint32 for _, l := range f.Loads { data := l.Raw() cmd := get32(data) if cmd == LC_CODE_SIGNATURE { return CodeSigCmd{ cmd, get32(data[4:]), get32(data[8:]), get32(data[12:]), }, true } } return CodeSigCmd{}, false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 29 14:23:19 UTC 2022 - 8.3K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue52611a/b.go
// Copyright 2022 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. package issue52611a import "C" func GetX2(foo *C.struct_Foo) int32 { return int32(foo.X)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 254 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue52611b/b.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package issue52611b /* typedef struct Bar { int X; } Bar; */ import "C" func GetX2(bar *C.struct_Bar) int32 { return int32(bar.X)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 299 bytes - Viewed (0) -
src/runtime/export_windows_test.go
var info systeminfo stdcall1(_GetSystemInfo, uintptr(unsafe.Pointer(&info))) return int32(info.dwnumberofprocessors) } type ContextStub struct { context } func (c ContextStub) GetPC() uintptr { return c.ip() } func NewContextStub() *ContextStub { var ctx context ctx.set_ip(getcallerpc()) ctx.set_sp(getcallersp()) ctx.set_fp(getcallerfp()) return &ContextStub{ctx}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 17:25:00 UTC 2024 - 759 bytes - Viewed (0) -
src/runtime/traceback_system_test.go
// // (Copied from golang.org/x/telemetry/crashmonitor.parseStackPCs.) func parseStackPCs(crash string) ([]uintptr, error) { // getPC parses the PC out of a line of the form: // \tFILE:LINE +0xRELPC sp=... fp=... pc=... getPC := func(line string) (uint64, error) { _, pcstr, ok := strings.Cut(line, " pc=") // e.g. pc=0x%x if !ok { return 0, fmt.Errorf("no pc= for stack frame: %s", line)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:19:04 UTC 2024 - 7.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/crashmonitor/monitor.go
// there is no possibility of strings from the crash report (which may // contain PII) leaking into the telemetry system. func parseStackPCs(crash string) ([]uintptr, error) { // getPC parses the PC out of a line of the form: // \tFILE:LINE +0xRELPC sp=... fp=... pc=... getPC := func(line string) (uint64, error) { _, pcstr, ok := strings.Cut(line, " pc=") // e.g. pc=0x%x if !ok { return 0, fmt.Errorf("no pc= for stack frame: %s", line)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:57:25 UTC 2024 - 7.6K bytes - Viewed (0) -
src/cmd/compile/internal/ir/bitset.go
package ir type bitset8 uint8 func (f *bitset8) set(mask uint8, b bool) { if b { *(*uint8)(f) |= mask } else { *(*uint8)(f) &^= mask } } func (f bitset8) get2(shift uint8) uint8 { return uint8(f>>shift) & 3 } // set2 sets two bits in f using the bottom two bits of b. func (f *bitset8) set2(shift uint8, b uint8) { // Clear old bits. *(*uint8)(f) &^= 3 << shift
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 29 22:03:56 UTC 2022 - 734 bytes - Viewed (0) -
tests/test_ambiguous_params.py
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Dec 12 00:22:47 UTC 2023 - 2.1K bytes - Viewed (0)