Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,046 for fInt16 (0.37 sec)

  1. test/abi/bad_internal_offsets.go

    	}
    }
    
    type StructF0S0 struct {
    	F0 int16
    	F1 string
    	F2 StructF0S1
    }
    
    type StructF0S1 struct {
    	_ uint16
    }
    
    // 0 returns 3 params
    //go:registerparams
    //go:noinline
    func Test0(p0 uint32, p1 StructF0S0, p2 int32) {
    	// consume some stack space, so as to trigger morestack
    	var pad [256]uint64
    	pad[FailCount]++
    	if p0 == 0 {
    		return
    	}
    	p1f0c := int16(-3096)
    	if p1.F0 != p1f0c {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. src/encoding/gob/decgen.go

    		"Uint",
    		`x := state.decodeUint()
    		/*TODO if math.MaxUint32 < x {
    			error_(ovfl)
    		}*/
    		slice[i] = uint(x)`,
    	},
    	{
    		"uint16",
    		"Uint16",
    		`x := state.decodeUint()
    		if math.MaxUint16 < x {
    			error_(ovfl)
    		}
    		slice[i] = uint16(x)`,
    	},
    	{
    		"uint32",
    		"Uint32",
    		`x := state.decodeUint()
    		if math.MaxUint32 < x {
    			error_(ovfl)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:15:38 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. src/encoding/gob/dec_helpers.go

    func decUint16Slice(state *decoderState, v reflect.Value, length int, ovfl error) bool {
    	slice, ok := v.Interface().([]uint16)
    	if !ok {
    		// It is kind uint16 but not type uint16. TODO: We can handle this unsafely.
    		return false
    	}
    	for i := 0; i < length; i++ {
    		if state.b.Len() == 0 {
    			errorf("decoding uint16 array or slice: length exceeds input size (%d elements)", length)
    		}
    		if i >= len(slice) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 19:28:46 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go

    	Atim    Timespec
    	Mtim    Timespec
    	Ctim    Timespec
    	_       [2]int32
    }
    
    type Dirent struct {
    	Ino    uint64
    	Off    int64
    	Reclen uint16
    	Type   uint8
    	Name   [256]uint8
    	_      [5]byte
    }
    
    type Flock_t struct {
    	Type   int16
    	Whence int16
    	Start  int64
    	Len    int64
    	Pid    int32
    	_      [4]byte
    }
    
    type DmNameList struct {
    	Dev  uint64
    	Next uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go

    	Atim    Timespec
    	Mtim    Timespec
    	Ctim    Timespec
    	_       [2]int32
    }
    
    type Dirent struct {
    	Ino    uint64
    	Off    int64
    	Reclen uint16
    	Type   uint8
    	Name   [256]int8
    	_      [5]byte
    }
    
    type Flock_t struct {
    	Type   int16
    	Whence int16
    	Start  int64
    	Len    int64
    	Pid    int32
    	_      [4]byte
    }
    
    type DmNameList struct {
    	Dev  uint64
    	Next uint32
    	Name [0]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. test/typeparam/absdiffimp2.dir/a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package a
    
    import (
    	"math"
    )
    
    type Numeric interface {
    	~int | ~int8 | ~int16 | ~int32 | ~int64 |
    		~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr |
    		~float32 | ~float64 |
    		~complex64 | ~complex128
    }
    
    // numericAbs matches a struct containing a numeric type that has an Abs method.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 09 21:26:42 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  7. src/math/bits/bits_test.go

    		}
    
    		x16 := uint16(m)
    		got16 := RotateLeft16(x16, int(k))
    		want16 := x16<<(k&0xf) | x16>>(16-k&0xf)
    		if got16 != want16 {
    			t.Fatalf("RotateLeft16(%#04x, %d) == %#04x; want %#04x", x16, k, got16, want16)
    		}
    		got16 = RotateLeft16(want16, -int(k))
    		if got16 != x16 {
    			t.Fatalf("RotateLeft16(%#04x, -%d) == %#04x; want %#04x", want16, k, got16, x16)
    		}
    
    		x32 := uint32(m)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 22 20:11:06 UTC 2020
    - 32.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go

    	Atim    Timespec
    	Mtim    Timespec
    	Ctim    Timespec
    	_       [2]int32
    }
    
    type Dirent struct {
    	Ino    uint64
    	Off    int64
    	Reclen uint16
    	Type   uint8
    	Name   [256]int8
    	_      [5]byte
    }
    
    type Flock_t struct {
    	Type   int16
    	Whence int16
    	Start  int64
    	Len    int64
    	Pid    int32
    	_      [4]byte
    }
    
    type DmNameList struct {
    	Dev  uint64
    	Next uint32
    	Name [0]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go

    	Ctim    Timespec
    	Blksize uint32
    	Pad4    uint32
    	Blocks  int64
    }
    
    type Dirent struct {
    	Ino    uint64
    	Off    int64
    	Reclen uint16
    	Type   uint8
    	Name   [256]int8
    	_      [5]byte
    }
    
    type Flock_t struct {
    	Type   int16
    	Whence int16
    	Start  int64
    	Len    int64
    	Pid    int32
    	_      [4]byte
    }
    
    type DmNameList struct {
    	Dev  uint64
    	Next uint32
    	Name [0]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. src/runtime/defs_freebsd_amd64.go

    	mc_r12           uint64
    	mc_r13           uint64
    	mc_r14           uint64
    	mc_r15           uint64
    	mc_trapno        uint32
    	mc_fs            uint16
    	mc_gs            uint16
    	mc_addr          uint64
    	mc_flags         uint32
    	mc_es            uint16
    	mc_ds            uint16
    	mc_err           uint64
    	mc_rip           uint64
    	mc_cs            uint64
    	mc_rflags        uint64
    	mc_rsp           uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.9K bytes
    - Viewed (1)
Back to top