Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for GetRpc (0.11 sec)

  1. pkg/volume/csi/csi_client.go

    	capabilities, err := c.nodeGetCapabilities(ctx)
    	if err != nil {
    		return false, err
    	}
    
    	for _, capability := range capabilities {
    		if capability == nil || capability.GetRpc() == nil {
    			continue
    		}
    		if capability.GetRpc().GetType() == capabilityType {
    			return true, nil
    		}
    	}
    	return false, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 20 10:15:36 UTC 2022
    - 22.1K bytes
    - Viewed (0)
  2. 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)
  3. src/runtime/export_debug_arm64_test.go

    	olr := *(*uint64)(unsafe.Pointer(uintptr(sp)))
    	ctxt.set_lr(olr)
    	pc := ctxt.pc()
    	ctxt.set_pc(pc + 4) // step to next instruction
    }
    
    // case 2
    func (h *debugCallHandler) debugCallPanicOut(ctxt *sigctxt) {
    	sp := ctxt.sp()
    	memmove(unsafe.Pointer(&h.panic), unsafe.Pointer(uintptr(sp)+8), 2*goarch.PtrSize)
    	ctxt.set_pc(ctxt.pc() + 4)
    }
    
    // case 8
    func (h *debugCallHandler) debugCallUnsafe(ctxt *sigctxt) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 23 05:38:56 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  4. src/runtime/export_debug_ppc64le_test.go

    	olr := *(*uint64)(unsafe.Pointer(uintptr(sp)))
    	ctxt.set_link(olr)
    	pc := ctxt.pc()
    	ctxt.set_pc(pc + 4) // step to next instruction
    }
    
    // case 2
    func (h *debugCallHandler) debugCallPanicOut(ctxt *sigctxt) {
    	sp := ctxt.sp()
    	memmove(unsafe.Pointer(&h.panic), unsafe.Pointer(uintptr(sp)+32), 2*goarch.PtrSize)
    	ctxt.set_pc(ctxt.pc() + 4)
    }
    
    // case 8
    func (h *debugCallHandler) debugCallUnsafe(ctxt *sigctxt) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 15:33:38 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. src/runtime/signal_arm64.go

    	print("fault   ", hex(c.fault()), "\n")
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) sigpc() uintptr { return uintptr(c.pc()) }
    
    func (c *sigctxt) setsigpc(x uint64) { c.set_pc(x) }
    func (c *sigctxt) sigsp() uintptr    { return uintptr(c.sp()) }
    func (c *sigctxt) siglr() uintptr    { return uintptr(c.lr()) }
    
    // preparePanic sets up the stack to look like a call to sigpanic.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 18:16:00 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. src/runtime/signal_ppc64x.go

    	print("ccr  ", hex(c.ccr()), "\t")
    	print("trap ", hex(c.trap()), "\n")
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) sigpc() uintptr    { return uintptr(c.pc()) }
    func (c *sigctxt) setsigpc(x uint64) { c.set_pc(x) }
    
    func (c *sigctxt) sigsp() uintptr { return uintptr(c.sp()) }
    func (c *sigctxt) siglr() uintptr { return uintptr(c.link()) }
    
    // preparePanic sets up the stack to look like a call to sigpanic.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 15:08:04 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. src/runtime/signal_loong64.go

    		// Make it look the like faulting PC called sigpanic.
    		c.set_link(uint64(pc))
    	}
    
    	// In case we are panicking from external C code
    	c.set_r22(uint64(uintptr(unsafe.Pointer(gp))))
    	c.set_pc(uint64(abi.FuncPCABIInternal(sigpanic)))
    }
    
    func (c *sigctxt) pushCall(targetPC, resumePC uintptr) {
    	// Push the LR to stack, as we'll clobber it in order to
    	// push the call. The function being pushed is responsible
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 21 06:51:28 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. src/runtime/signal_linux_s390x.go

    func (c *sigctxt) set_r13(x uint64)     { c.regs().gregs[13] = x }
    func (c *sigctxt) set_link(x uint64)    { c.regs().gregs[14] = x }
    func (c *sigctxt) set_sp(x uint64)      { c.regs().gregs[15] = x }
    func (c *sigctxt) set_pc(x uint64)      { c.regs().psw_addr = x }
    func (c *sigctxt) set_sigcode(x uint32) { c.info.si_code = int32(x) }
    func (c *sigctxt) set_sigaddr(x uint64) {
    	*(*uintptr)(add(unsafe.Pointer(c.info), 2*goarch.PtrSize)) = uintptr(x)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 17 20:42:23 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  9. 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)
  10. src/runtime/signal_arm.go

    		// Make it look the like faulting PC called sigpanic.
    		c.set_lr(uint32(pc))
    	}
    
    	// In case we are panicking from external C code
    	c.set_r10(uint32(uintptr(unsafe.Pointer(gp))))
    	c.set_pc(uint32(abi.FuncPCABIInternal(sigpanic)))
    }
    
    func (c *sigctxt) pushCall(targetPC, resumePC uintptr) {
    	// Push the LR to stack, as we'll clobber it in order to
    	// push the call. The function being pushed is responsible
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2.5K bytes
    - Viewed (0)
Back to top