Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 905 for uimm16 (0.32 sec)

  1. src/internal/types/testdata/check/const1.go

    )
    
    const (
    	_ uint16 = 0 /* ERROR "overflows" */ - 1
    	_ uint16 = 0
    	_ uint16 = maxUint16
    	_ uint16 = maxUint16 /* ERROR "overflows" */ + 1
    	_ uint16 = smallestFloat64 /* ERROR "truncated" */
    
    	_ = uint16(0 /* ERROR "overflows" */ - 1)
    	_ = uint16(0)
    	_ = uint16(maxUint16)
    	_ = uint16(maxUint16 /* ERROR "overflows" */ + 1)
    	_ = uint16(smallestFloat64 /* ERROR "cannot convert" */)
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. test/fixedbugs/issue64715.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func boolInt32(b bool) int32 {
    	if b {
    		return 1
    	}
    
    	return 0
    }
    
    func f(left uint16, right int32) (r uint16) {
    	return left >> right
    }
    
    var n = uint16(65535)
    
    func main() {
    	println(f(n, boolInt32(int64(n^n) > 1)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 19:35:21 UTC 2023
    - 401 bytes
    - Viewed (0)
  3. src/crypto/tls/defaults.go

    	PKCS1WithSHA1,
    	ECDSAWithSHA1,
    }
    
    var tlsrsakex = godebug.New("tlsrsakex")
    var tls3des = godebug.New("tls3des")
    
    func defaultCipherSuites() []uint16 {
    	suites := slices.Clone(cipherSuitesPreferenceOrder)
    	return slices.DeleteFunc(suites, func(c uint16) bool {
    		return disabledCipherSuites[c] ||
    			tlsrsakex.Value() != "1" && rsaKexCiphers[c] ||
    			tls3des.Value() != "1" && tdesCiphers[c]
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. src/image/color/color.go

    	r, g, b, a := c.RGBA()
    	if a == 0xffff {
    		return NRGBA64{uint16(r), uint16(g), uint16(b), 0xffff}
    	}
    	if a == 0 {
    		return NRGBA64{0, 0, 0, 0}
    	}
    	// Since Color.RGBA returns an alpha-premultiplied color, we should have r <= a && g <= a && b <= a.
    	r = (r * 0xffff) / a
    	g = (g * 0xffff) / a
    	b = (b * 0xffff) / a
    	return NRGBA64{uint16(r), uint16(g), uint16(b), uint16(a)}
    }
    
    func alphaModel(c Color) Color {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  5. src/crypto/tls/ech.go

    	"strings"
    
    	"golang.org/x/crypto/cryptobyte"
    )
    
    type echCipher struct {
    	KDFID  uint16
    	AEADID uint16
    }
    
    type echExtension struct {
    	Type uint16
    	Data []byte
    }
    
    type echConfig struct {
    	raw []byte
    
    	Version uint16
    	Length  uint16
    
    	ConfigID             uint8
    	KemID                uint16
    	PublicKey            []byte
    	SymmetricCipherSuite []echCipher
    
    	MaxNameLength uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. src/image/names.go

    func (c *Uniform) At(x, y int) color.Color { return c.C }
    
    func (c *Uniform) RGBA64At(x, y int) color.RGBA64 {
    	r, g, b, a := c.C.RGBA()
    	return color.RGBA64{uint16(r), uint16(g), uint16(b), uint16(a)}
    }
    
    // Opaque scans the entire image and reports whether it is fully opaque.
    func (c *Uniform) Opaque() bool {
    	_, _, _, a := c.C.RGBA()
    	return a == 0xffff
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go

    	FADV_NOREUSE  = 0x5
    )
    
    type RawSockaddrNFCLLCP struct {
    	Sa_family        uint16
    	Dev_idx          uint32
    	Target_idx       uint32
    	Nfc_protocol     uint32
    	Dsap             uint8
    	Ssap             uint8
    	Service_name     [63]uint8
    	Service_name_len uint64
    }
    
    type RawSockaddr struct {
    	Family uint16
    	Data   [14]int8
    }
    
    type RawSockaddrAny struct {
    	Addr RawSockaddr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. src/syscall/lsf_linux.go

    	}
    	if m {
    		ifl.flags |= uint16(IFF_PROMISC)
    	} else {
    		ifl.flags &^= uint16(IFF_PROMISC)
    	}
    	_, _, ep = Syscall(SYS_IOCTL, uintptr(s), SIOCSIFFLAGS, uintptr(unsafe.Pointer(&ifl)))
    	if ep != 0 {
    		return Errno(ep)
    	}
    	return nil
    }
    
    // Deprecated: Use golang.org/x/net/bpf instead.
    func AttachLsf(fd int, i []SockFilter) error {
    	var p SockFprog
    	p.Len = uint16(len(i))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 19 16:27:36 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go

    	FADV_NOREUSE  = 0x5
    )
    
    type RawSockaddrNFCLLCP struct {
    	Sa_family        uint16
    	Dev_idx          uint32
    	Target_idx       uint32
    	Nfc_protocol     uint32
    	Dsap             uint8
    	Ssap             uint8
    	Service_name     [63]uint8
    	Service_name_len uint64
    }
    
    type RawSockaddr struct {
    	Family uint16
    	Data   [14]uint8
    }
    
    type RawSockaddrAny struct {
    	Addr RawSockaddr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go

    	FADV_NOREUSE  = 0x5
    )
    
    type RawSockaddrNFCLLCP struct {
    	Sa_family        uint16
    	Dev_idx          uint32
    	Target_idx       uint32
    	Nfc_protocol     uint32
    	Dsap             uint8
    	Ssap             uint8
    	Service_name     [63]uint8
    	Service_name_len uint64
    }
    
    type RawSockaddr struct {
    	Family uint16
    	Data   [14]int8
    }
    
    type RawSockaddrAny struct {
    	Addr RawSockaddr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top