Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 159 for reg1 (0.04 sec)

  1. src/runtime/syscall_windows.go

    	a.retPop = c.retPop
    
    	// Convert from C to Go ABI.
    	var regs abi.RegArgs
    	var frame [callbackMaxFrame]byte
    	goArgs := unsafe.Pointer(&frame)
    	for _, part := range c.abiMap.parts {
    		switch part.kind {
    		case abiPartStack:
    			memmove(add(goArgs, part.dstStackOffset), add(a.args, part.srcStackOffset), part.len)
    		case abiPartReg:
    			goReg := unsafe.Pointer(&regs.Ints[part.dstRegister])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. src/runtime/race_s390x.s

    	STMG	R6, R15, 48(R15)		// Save non-volatile regs.
    	BL	runtimeĀ·load_g(SB)		// Saved by racecall.
    	CMPBNE	R2, $0, rest			// raceGetProcCmd?
    	MOVD	g_m(g), R2			// R2 = thread.
    	MOVD	m_p(R2), R2			// R2 = processor.
    	MVC	$8, p_raceprocctx(R2), (R3)	// *R3 = ThreadState *.
    	LMG	48(R15), R6, R15		// Restore non-volatile regs.
    	BR	R14				// Return to C.
    rest:	MOVD	g_m(g), R4			// R4 = current thread.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. src/runtime/defs_linux_ppc64le.go

    	ss_flags  int32
    	pad_cgo_0 [4]byte
    	ss_size   uintptr
    }
    
    type sigcontext struct {
    	_unused     [4]uint64
    	signal      int32
    	_pad0       int32
    	handler     uint64
    	oldmask     uint64
    	regs        *ptregs
    	gp_regs     [48]uint64
    	fp_regs     [33]float64
    	v_regs      *vreg
    	vmx_reserve [101]int64
    }
    
    type ucontext struct {
    	uc_flags    uint64
    	uc_link     *ucontext
    	uc_stack    stackt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. src/runtime/sys_openbsd2.go

    		n               uintptr
    		prot, flags, fd int32
    		off             uint32
    		ret1            unsafe.Pointer
    		ret2            int
    	}{addr, n, prot, flags, fd, off, nil, 0}
    	libcCall(unsafe.Pointer(abi.FuncPCABI0(mmap_trampoline)), unsafe.Pointer(&args))
    	KeepAlive(addr) // Just for consistency. Hopefully addr is not a Go address.
    	return args.ret1, args.ret2
    }
    func mmap_trampoline()
    
    //go:nosplit
    //go:cgo_unsafe_args
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/mips/list0.go

    	"fmt"
    )
    
    func init() {
    	obj.RegisterRegister(obj.RBaseMIPS, REG_LAST+1, rconv)
    	obj.RegisterOpcode(obj.ABaseMIPS, Anames)
    }
    
    func rconv(r int) string {
    	if r == 0 {
    		return "NONE"
    	}
    	if r == REGG {
    		// Special case.
    		return "g"
    	}
    	if REG_R0 <= r && r <= REG_R31 {
    		return fmt.Sprintf("R%d", r-REG_R0)
    	}
    	if REG_F0 <= r && r <= REG_F31 {
    		return fmt.Sprintf("F%d", r-REG_F0)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 04 19:06:44 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/abiutilsaux_test.go

    	}
    	return ""
    }
    
    func nrtest(t *testing.T, ft *types.Type, expected int) {
    	types.CalcSize(ft)
    	got := configAMD64.NumParamRegs(ft)
    	if got != expected {
    		t.Errorf("]\nexpected num regs = %d, got %d, type %v", expected, got, ft)
    	}
    }
    
    func abitest(t *testing.T, ft *types.Type, exp expectedDump) {
    
    	types.CalcSize(ft)
    
    	// Analyze with full set of registers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 18:34:00 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. pkg/kubelet/apis/podresources/testing/provider_mock.go

    func (m *MockPodsProvider) GetPodByName(namespace, name string) (*v1.Pod, bool) {
    	m.ctrl.T.Helper()
    	ret := m.ctrl.Call(m, "GetPodByName", namespace, name)
    	ret0, _ := ret[0].(*v1.Pod)
    	ret1, _ := ret[1].(bool)
    	return ret0, ret1
    }
    
    // GetPodByName indicates an expected call of GetPodByName.
    func (mr *MockPodsProviderMockRecorder) GetPodByName(namespace, name any) *gomock.Call {
    	mr.mock.ctrl.T.Helper()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. src/runtime/defs_linux_ppc64.go

    	ss_flags  int32
    	pad_cgo_0 [4]byte
    	ss_size   uintptr
    }
    
    type sigcontext struct {
    	_unused     [4]uint64
    	signal      int32
    	_pad0       int32
    	handler     uint64
    	oldmask     uint64
    	regs        *ptregs
    	gp_regs     [48]uint64
    	fp_regs     [33]float64
    	v_regs      *vreg
    	vmx_reserve [101]int64
    }
    
    type ucontext struct {
    	uc_flags    uint64
    	uc_link     *ucontext
    	uc_stack    stackt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. tests/fuzz/autoregistration_controller_fuzzer.go

    	tmplA = &v1alpha3.WorkloadGroup{
    		Template: &v1alpha3.WorkloadEntry{
    			Ports:          map[string]uint32{"http": 80},
    			Labels:         map[string]string{"app": "a"},
    			Network:        "nw0",
    			Locality:       "reg0/zone0/subzone0",
    			Weight:         1,
    			ServiceAccount: "sa-a",
    		},
    	}
    	// A valid Config.
    	// This can be modified to have pseudo-random
    	// values for more randomization.
    	wgA = config.Config{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Sep 19 20:41:55 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. pkg/kubelet/network/dns/dns_windows.go

    	for _, e := range list {
    		if e == elem {
    			return true
    		}
    	}
    	return false
    }
    
    func getRegistryStringValue(reg, key string) (string, error) {
    	regKey, err := registry.OpenKey(registry.LOCAL_MACHINE, reg, registry.QUERY_VALUE)
    	if err != nil {
    		return "", err
    	}
    	defer regKey.Close()
    
    	regValue, _, err := regKey.GetStringValue(key)
    	return regValue, err
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 21 22:21:57 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top