Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Xudong (0.21 sec)

  1. misc/cgo/gmp/gmp.go

    func (z *Int) Lsh(x *Int, s uint) *Int {
    	x.doinit()
    	z.doinit()
    	C._mpz_mul_2exp(&z.i[0], &x.i[0], C.ulong(s))
    	return z
    }
    
    // Rsh sets z = x >> s and returns z.
    func (z *Int) Rsh(x *Int, s uint) *Int {
    	x.doinit()
    	z.doinit()
    	C._mpz_div_2exp(&z.i[0], &x.i[0], C.ulong(s))
    	return z
    }
    
    // Exp sets z = x^y % m and returns z.
    // If m == nil, Exp sets z = x^y.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/callback_windows.go

    // Copyright 2023 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 cgotest
    
    /*
    #include <windows.h>
    USHORT backtrace(ULONG FramesToCapture, PVOID *BackTrace) {
    #ifdef _AMD64_
    	CONTEXT context;
    	RtlCaptureContext(&context);
    	ULONG64 ControlPc;
    	ControlPc = context.Rip;
    	int i;
    	for (i = 0; i < FramesToCapture; i++) {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Nov 29 16:01:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
Back to top