- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for GetRpc (0.26 sec)
-
pkg/volume/csi/csi_client_test.go
} capabilities := resp.GetCapabilities() volumeMountGroupSet := false if capabilities == nil { return false, nil } for _, capability := range capabilities { if capability.GetRpc().GetType() == csipbv1.NodeServiceCapability_RPC_VOLUME_MOUNT_GROUP { volumeMountGroupSet = true } } return volumeMountGroupSet, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 33.9K bytes - Viewed (0) -
src/runtime/tracestack.go
skip = pcBuf[0] // skipOrAdd skips or appends retPC to newPCBuf and returns true if more // pcs can be added. skipOrAdd = func(retPC uintptr) bool { if skip > 0 { skip-- } else if n < len(dst) { dst[n] = retPC n++ } return n < len(dst) } ) outer: for _, retPC := range pcBuf[1:] { callPC := retPC - 1 fi := findfunc(callPC) if !fi.valid() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:56 UTC 2024 - 11K 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/runtime/os3_plan9.go
if pc != 0 { if usesLR { c.setlr(pc) } else { sp -= goarch.PtrSize *(*uintptr)(unsafe.Pointer(sp)) = pc c.setsp(sp) } } if usesLR { c.setpc(abi.FuncPCABI0(sigpanictramp)) } else { c.setpc(abi.FuncPCABI0(sigpanic0)) } return _NCONT } if flags&_SigNotify != 0 { if ignoredNote(note) { return _NCONT } if sendNote(note) { return _NCONT
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 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/runtime/panic.go
if s := (*savedOpenDeferState)(gp.param); s != nil { // recovery saved some state for us, so that we can resume // calling open-coded defers without unwinding the stack. gp.param = nil p.retpc = s.retpc p.deferBitsPtr = (*byte)(add(sp, s.deferBitsOffset)) p.slotsPtr = add(sp, s.slotsOffset) } return } p.link = gp._panic gp._panic = (*_panic)(noescape(unsafe.Pointer(p)))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 43.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/debug.go
getPC := debugInfo.GetPC if ctxt.UseBASEntries { listSym.WriteInt(ctxt, listSym.Size, ctxt.Arch.PtrSize, ^0) listSym.WriteAddr(ctxt, listSym.Size, ctxt.Arch.PtrSize, startPC, 0) } // Re-read list, translating its address from block/value ID to PC. for i := 0; i < len(list); { begin := getPC(decodeValue(ctxt, readPtr(ctxt, list[i:])))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 58.4K bytes - Viewed (0) -
src/runtime/runtime2.go
// The current stack frame that we're running deferred calls for. sp unsafe.Pointer lr uintptr fp unsafe.Pointer // retpc stores the PC where the panic should jump back to, if the // function last returned by _panic.next() recovers the panic. retpc uintptr // Extra state for handling open-coded defers. deferBitsPtr *uint8 slotsPtr unsafe.Pointer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 47.9K bytes - Viewed (0) -
src/runtime/asm_amd64.s
MOVQ CX, cx-(1*8+8)(SP) MOVQ AX, ax-(0*8+8)(SP) // Save the argument frame size. MOVQ DX, frameSize-128(SP) // Perform a safe-point check. MOVQ retpc-8(FP), AX // Caller's PC MOVQ AX, 0(SP) CALL runtimeĀ·debugCallCheck(SB) MOVQ 8(SP), AX TESTQ AX, AX JZ good // The safety check failed. Put the reason string at the top // of the stack.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 60.4K bytes - Viewed (0)