Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 4,002 for fInt64 (0.65 sec)

  1. test/fixedbugs/bug296.go

    }
    
    type Uint64 uint64
    
    func (x Uint64) m(a, b, c, d, e, f, g, h byte) {
    	check("Uint64", int64(x), 0x0102030405060708, a, b, c, d, e, f, g, h)
    }
    
    var test = []I{
    	Int8(0x01),
    	Uint8(0x01),
    	Int16(0x0102),
    	Uint16(0x0102),
    	Int32(0x01020304),
    	Uint32(0x01020304),
    	Int64(0x0102030405060708),
    	Uint64(0x0102030405060708),
    }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.8K bytes
    - Viewed (0)
  2. src/encoding/binary/varint.go

    				return 0, -(i + 1) // overflow
    			}
    			return x | uint64(b)<<s, i + 1
    		}
    		x |= uint64(b&0x7f) << s
    		s += 7
    	}
    	return 0, 0
    }
    
    // AppendVarint appends the varint-encoded form of x,
    // as generated by [PutVarint], to buf and returns the extended buffer.
    func AppendVarint(buf []byte, x int64) []byte {
    	ux := uint64(x) << 1
    	if x < 0 {
    		ux = ^ux
    	}
    	return AppendUvarint(buf, ux)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. src/sync/atomic/atomic_test.go

    	}
    }
    
    func testCompareAndSwapUint64(t *testing.T, cas func(*uint64, uint64, uint64) bool) {
    	var x struct {
    		before uint64
    		i      uint64
    		after  uint64
    	}
    	magic64 := uint64(magic64)
    	x.before = magic64
    	x.after = magic64
    	for val := uint64(1); val+val > val; val += val {
    		x.i = val
    		if !cas(&x.i, val, val+1) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 71.4K bytes
    - Viewed (0)
  4. src/internal/profile/proto.go

    	return decodeMessage(&b, m)
    }
    
    func le64(p []byte) uint64 {
    	return uint64(p[0]) | uint64(p[1])<<8 | uint64(p[2])<<16 | uint64(p[3])<<24 | uint64(p[4])<<32 | uint64(p[5])<<40 | uint64(p[6])<<48 | uint64(p[7])<<56
    }
    
    func le32(p []byte) uint32 {
    	return uint32(p[0]) | uint32(p[1])<<8 | uint32(p[2])<<16 | uint32(p[3])<<24
    }
    
    func decodeVarint(data []byte) (uint64, []byte, error) {
    	var i int
    	var u uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 17 16:20:57 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  5. src/syscall/ztypes_freebsd_386.go

    	Birthtimespec Timespec
    	Size          int64
    	Blocks        int64
    	Blksize       int32
    	Flags         uint32
    	Gen           uint64
    	Spare         [10]uint64
    }
    
    type Statfs_t struct {
    	Version     uint32
    	Type        uint32
    	Flags       uint64
    	Bsize       uint64
    	Iosize      uint64
    	Blocks      uint64
    	Bfree       uint64
    	Bavail      int64
    	Files       uint64
    	Ffree       int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go

    	Read_bytes                uint64
    	Write_bytes               uint64
    	Cancelled_write_bytes     uint64
    	Nvcsw                     uint64
    	Nivcsw                    uint64
    	Ac_utimescaled            uint64
    	Ac_stimescaled            uint64
    	Cpu_scaled_run_real_total uint64
    	Freepages_count           uint64
    	Freepages_delay_total     uint64
    	Thrashing_count           uint64
    	Thrashing_delay_total     uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. test/rotate.go

    			os.Exit(0)
    		}
    	}
    }
    `
    
    var (
    	uop = [2]func(x, y uint64) uint64{
    		func(x, y uint64) uint64 {
    			return x | y
    		},
    		func(x, y uint64) uint64 {
    			return x ^ y
    		},
    	}
    	iop = [2]func(x, y int64) int64{
    		func(x, y int64) int64 {
    			return x | y
    		},
    		func(x, y int64) int64 {
    			return x ^ y
    		},
    	}
    	cop = [2]byte{'|', '^'}
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 3.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go

    	Read_bytes                uint64
    	Write_bytes               uint64
    	Cancelled_write_bytes     uint64
    	Nvcsw                     uint64
    	Nivcsw                    uint64
    	Ac_utimescaled            uint64
    	Ac_stimescaled            uint64
    	Cpu_scaled_run_real_total uint64
    	Freepages_count           uint64
    	Freepages_delay_total     uint64
    	Thrashing_count           uint64
    	Thrashing_delay_total     uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go

    	return Timeval{Sec: sec, Usec: usec}
    }
    
    func (r *PtraceRegs) PC() uint64 { return r.Nip }
    
    func (r *PtraceRegs) SetPC(pc uint64) { r.Nip = pc }
    
    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
    - 5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/test/testdata/arith_test.go

    }
    
    //go:noinline
    func arithRshuConst_ssa() uint64 {
    	y := uint64(0x8000000000000001)
    	z := uint64(1)
    	return uint64(y >> z)
    }
    
    //go:noinline
    func arithRshConst_ssa() int64 {
    	y := int64(-0x8000000000000000)
    	z := uint64(1)
    	return int64(y >> z)
    }
    
    //go:noinline
    func arithConstShift_ssa(x int64) int64 {
    	return x >> 100
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:30:59 UTC 2023
    - 43.5K bytes
    - Viewed (0)
Back to top