Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 2,138 for Init64 (0.13 sec)

  1. test/ken/divmod.go

    		println("int32-4", ln2, ld2, ln2/ld2, ln2%ld2)
    		panic("fail")
    	}
    
    	/* int64 */
    	var qn1 int64 = +5
    	var qn2 int64 = -5
    	var qd1 int64 = +3
    	var qd2 int64 = -3
    
    	if qn1/qd1 != q1 || qn1%qd1 != r1 {
    		println("int64-1", qn1, qd1, qn1/qd1, qn1%qd1)
    		panic("fail")
    	}
    	if qn2/qd1 != q2 || qn2%qd1 != r2 {
    		println("int64-2", qn2, qd1, qn2/qd1, qn2%qd1)
    		panic("fail")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 5.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/mulconst_test.go

    	// 3x = 2x + x
    	b.Run("3", func(b *testing.B) {
    		x := uint64(1)
    		for i := 0; i < b.N; i++ {
    			x *= 3
    		}
    		mulSinkU64 = x
    	})
    	// 5x = 4x + x
    	b.Run("5", func(b *testing.B) {
    		x := uint64(1)
    		for i := 0; i < b.N; i++ {
    			x *= 5
    		}
    		mulSinkU64 = x
    	})
    	// 12x = 8x + 4x
    	b.Run("12", func(b *testing.B) {
    		x := uint64(1)
    		for i := 0; i < b.N; i++ {
    			x *= 12
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 18 15:39:44 UTC 2020
    - 4.3K bytes
    - Viewed (0)
  3. src/syscall/syscall_linux_arm64.go

    	return errno
    }
    
    func (r *PtraceRegs) PC() uint64 { return r.Pc }
    
    func (r *PtraceRegs) SetPC(pc uint64) { r.Pc = pc }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint64(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint64(length)
    }
    
    func (cmsg *Cmsghdr) SetLen(length int) {
    	cmsg.Len = uint64(length)
    }
    
    func InotifyInit() (fd int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  4. src/internal/trace/traceviewer/format/format.go

    }
    
    type HeapCountersArg struct {
    	Allocated uint64
    	NextGC    uint64
    }
    
    const (
    	ProcsSection = 0 // where Goroutines or per-P timelines are presented.
    	StatsSection = 1 // where counters are presented.
    	TasksSection = 2 // where Task hierarchy & timeline is presented.
    )
    
    type GoroutineCountersArg struct {
    	Running   uint64
    	Runnable  uint64
    	GCWaiting uint64
    }
    
    type ThreadCountersArg struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/arch/x86/x86asm/plan9x.go

    	}
    	return arg.String()
    }
    
    func memArgToSymbol(a Mem, pc uint64, instrLen int, symname SymLookup) (string, int64) {
    	if a.Segment != 0 || a.Disp == 0 || a.Index != 0 || a.Scale != 0 {
    		return "", 0
    	}
    
    	var disp uint64
    	switch a.Base {
    	case IP, EIP, RIP:
    		disp = uint64(a.Disp + int64(pc) + int64(instrLen))
    	case 0:
    		disp = uint64(a.Disp)
    	default:
    		return "", 0
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  6. src/math/rand/default_test.go

    			go func() {
    				defer wg.Done()
    				ch <- Uint64()
    			}()
    		}
    	case 2:
    		// Start with Uint64 to pick the fast source, then call
    		// Seed and Uint64 concurrently.
    		ch <- Uint64()
    		wg.Add(goroutines)
    		for i := 0; i < goroutines; i++ {
    			go func(s int64) {
    				defer wg.Done()
    				Seed(s)
    			}(int64(i) + 100)
    		}
    		wg.Add(goroutines)
    		for i := 0; i < goroutines; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 07 23:39:35 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. src/reflect/type_test.go

    		{"func(func(int))", reflect.TypeOf(func(func(int)) {}), false},
    		{"int64", reflect.TypeOf(int64(1)), true},
    		{"uint64", reflect.TypeOf(uint64(1)), true},
    		{"*[4]int", reflect.TypeOf(&[4]int{}), true},
    		{"chan int64", reflect.TypeOf(make(chan int64)), true},
    		{"map[int]int", reflect.TypeOf(make(map[int]int)), true},
    		{"string", reflect.TypeOf(""), true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. src/runtime/pprof/elf.go

    	}
    
    	var shnum int
    	var shoff, shentsize int64
    	switch buf[4] {
    	default:
    		return "", errBadELF
    	case 1: // 32-bit file header
    		shoff = int64(byteOrder.Uint32(buf[32:]))
    		shentsize = int64(byteOrder.Uint16(buf[46:]))
    		if shentsize != 40 {
    			return "", errBadELF
    		}
    		shnum = int(byteOrder.Uint16(buf[48:]))
    	case 2: // 64-bit file header
    		shoff = int64(byteOrder.Uint64(buf[40:]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 08 01:09:18 UTC 2017
    - 2.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/ARM64latelower.rules

    (ANDconst [c] x) && !isARM64bitcon(uint64(c)) => (AND x (MOVDconst [c]))
    (ORconst  [c] x) && !isARM64bitcon(uint64(c))  => (OR  x (MOVDconst [c]))
    (XORconst [c] x) && !isARM64bitcon(uint64(c))  => (XOR x (MOVDconst [c]))
    (TSTconst [c] x) && !isARM64bitcon(uint64(c))  => (TST x (MOVDconst [c]))
    (TSTWconst [c] x) && !isARM64bitcon(uint64(c)|uint64(c)<<32)  => (TSTW x (MOVDconst [int64(c)]))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go

    	"unsafe"
    )
    
    func setTimespec(sec, nsec int64) Timespec {
    	return Timespec{Sec: sec, Nsec: nsec}
    }
    
    func setTimeval(sec, usec int64) Timeval {
    	return Timeval{Sec: sec, Usec: usec}
    }
    
    func SetKevent(k *Kevent_t, fd, mode, flags int) {
    	k.Ident = uint64(fd)
    	k.Filter = int16(mode)
    	k.Flags = uint16(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint64(length)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top