Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 360 for uint16 (0.23 sec)

  1. src/crypto/internal/hpke/hpke_test.go

    			}
    			t.Cleanup(func() { testingOnlyGenerateKey = nil })
    
    			encap, context, err := SetupSender(
    				uint16(kemID),
    				uint16(kdfID),
    				uint16(aeadID),
    				pub,
    				info,
    			)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			expectedEncap := mustDecodeHex(t, setup["enc"])
    			if !bytes.Equal(encap, expectedEncap) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/net/http/fcgi/fcgi.go

    	statusCantMultiplex
    	statusOverloaded
    	statusUnknownRole
    )
    
    type header struct {
    	Version       uint8
    	Type          recType
    	Id            uint16
    	ContentLength uint16
    	PaddingLength uint8
    	Reserved      uint8
    }
    
    type beginRequest struct {
    	role     uint16
    	flags    uint8
    	reserved [5]uint8
    }
    
    func (br *beginRequest) read(content []byte) error {
    	if len(content) != 8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 11 18:51:39 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/ifreq_linux.go

    	}
    
    	return nil
    }
    
    // Uint16 returns the Ifreq union data as a C short/Go uint16 value.
    func (ifr *Ifreq) Uint16() uint16 {
    	return *(*uint16)(unsafe.Pointer(&ifr.raw.Ifru[:2][0]))
    }
    
    // SetUint16 sets a C short/Go uint16 value as the Ifreq's union data.
    func (ifr *Ifreq) SetUint16(v uint16) {
    	ifr.clear()
    	*(*uint16)(unsafe.Pointer(&ifr.raw.Ifru[:2][0])) = v
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. pilot/cmd/pilot-agent/status/ready/probe_test.go

    	err = probe.Check()
    	g.Expect(err).NotTo(HaveOccurred())
    	g.Expect(probe.atleastOnceReady).Should(BeTrue())
    	server.Close()
    
    	server = testserver.CreateAndStartServer(noServerStats)
    	probe.AdminPort = uint16(server.Listener.Addr().(*net.TCPAddr).Port)
    	err = probe.Check()
    	g.Expect(err).NotTo(HaveOccurred())
    	g.Expect(probe.atleastOnceReady).Should(BeTrue())
    	server.Close()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_hurd_386.go

    //go:build 386 && hurd
    
    package unix
    
    const (
    	TIOCGETA = 0x62251713
    )
    
    type Winsize struct {
    	Row    uint16
    	Col    uint16
    	Xpixel uint16
    	Ypixel uint16
    }
    
    type Termios struct {
    	Iflag  uint32
    	Oflag  uint32
    	Cflag  uint32
    	Lflag  uint32
    	Cc     [20]uint8
    	Ispeed int32
    	Ospeed int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 447 bytes
    - Viewed (0)
  6. src/runtime/defs_windows_amd64.go

    	seggs                uint16
    	segss                uint16
    	eflags               uint32
    	dr0                  uint64
    	dr1                  uint64
    	dr2                  uint64
    	dr3                  uint64
    	dr6                  uint64
    	dr7                  uint64
    	rax                  uint64
    	rcx                  uint64
    	rdx                  uint64
    	rbx                  uint64
    	rsp                  uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 08:26:52 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/image/color/color.go

    type RGBA64 struct {
    	R, G, B, A uint16
    }
    
    func (c RGBA64) RGBA() (r, g, b, a uint32) {
    	return uint32(c.R), uint32(c.G), uint32(c.B), uint32(c.A)
    }
    
    // NRGBA represents a non-alpha-premultiplied 32-bit color.
    type NRGBA struct {
    	R, G, B, A uint8
    }
    
    func (c NRGBA) RGBA() (r, g, b, a uint32) {
    	r = uint32(c.R)
    	r |= r << 8
    	r *= uint32(c.A)
    	r /= 0xff
    	g = uint32(c.G)
    	g |= g << 8
    	g *= uint32(c.A)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  10. src/crypto/tls/ech.go

    )
    
    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
    	PublicName    []byte
    	Extensions    []echExtension
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top