Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,010 for Init64 (0.33 sec)

  1. utils/utils.go

    	case int:
    		return strconv.FormatInt(int64(v), 10)
    	case int8:
    		return strconv.FormatInt(int64(v), 10)
    	case int16:
    		return strconv.FormatInt(int64(v), 10)
    	case int32:
    		return strconv.FormatInt(int64(v), 10)
    	case int64:
    		return strconv.FormatInt(v, 10)
    	case uint:
    		return strconv.FormatUint(uint64(v), 10)
    	case uint8:
    		return strconv.FormatUint(uint64(v), 10)
    	case uint16:
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 22 06:43:02 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/syscall/syscall_linux_ppc64x.go

    	msghdr.Controllen = uint64(length)
    }
    
    func (cmsg *Cmsghdr) SetLen(length int) {
    	cmsg.Len = uint64(length)
    }
    
    //sys	syncFileRange2(fd int, flags int, off int64, n int64) (err error) = SYS_SYNC_FILE_RANGE2
    
    func SyncFileRange(fd int, off int64, n int64, flags int) error {
    	// The sync_file_range and sync_file_range2 syscalls differ only in the
    	// order of their arguments.
    	return syncFileRange2(fd, flags, off, n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. src/internal/types/testdata/fixedbugs/issue63563.go

    	_ = int64(1 /* ERROR "constant 18446744073709551615 overflows int64" */ <<64 - 1)
    
    	_ = uint8(1 /* ERROR "constant 256 overflows uint8" */ << 8)
    	_ = uint16(1 /* ERROR "constant 65536 overflows uint16" */ << 16)
    	_ = uint32(1 /* ERROR "constant 4294967296 overflows uint32" */ << 32)
    	_ = uint64(1 /* ERROR "constant 18446744073709551616 overflows uint64" */ << 64)
    )
    
    func _[P int8 | uint8]() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. src/internal/saferio/io.go

    func SliceCapWithSize(size, c uint64) int {
    	if int64(c) < 0 || c != uint64(int(c)) {
    		return -1
    	}
    	if size > 0 && c > (1<<64-1)/size {
    		return -1
    	}
    	if c*size > chunk {
    		c = chunk / size
    		if c == 0 {
    			c = 1
    		}
    	}
    	return int(c)
    }
    
    // SliceCap is like SliceCapWithSize but using generics.
    func SliceCap[E any](c uint64) int {
    	var v E
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 00:34:05 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go

    }
    
    func (r *PtraceRegs) PC() uint64 { return r.Era }
    
    func (r *PtraceRegs) SetPC(era uint64) { r.Era = era }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint64(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint64(length)
    }
    
    func (msghdr *Msghdr) SetIovlen(length int) {
    	msghdr.Iovlen = uint64(length)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.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)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_arm.go

    //sys	pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
    //sys	pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
    //sys	Truncate(path string, length int64) (err error) = SYS_TRUNCATE64
    //sys	Ftruncate(fd int, length int64) (err error) = SYS_FTRUNCATE64
    
    func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  8. src/syscall/syscall_linux_riscv64.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
    - 5.8K bytes
    - Viewed (0)
  9. src/syscall/syscall_linux_amd64.go

    	return errno
    }
    
    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 (r *PtraceRegs) PC() uint64 { return r.Rip }
    
    func (r *PtraceRegs) SetPC(pc uint64) { r.Rip = pc }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint64(length)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  10. 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)
Back to top