Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 383 for uint16_t (0.2 sec)

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

    type dhKEM struct {
    	dh  ecdh.Curve
    	kdf hkdfKDF
    
    	suiteID []byte
    	nSecret uint16
    }
    
    var SupportedKEMs = map[uint16]struct {
    	curve   ecdh.Curve
    	hash    crypto.Hash
    	nSecret uint16
    }{
    	// RFC 9180 Section 7.1
    	0x0020: {ecdh.X25519(), crypto.SHA256, 32},
    }
    
    func newDHKem(kemID uint16) (*dhKEM, error) {
    	suite, ok := SupportedKEMs[kemID]
    	if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_386.go

    type Stat_t struct {
    	Dev     uint64
    	_       uint16
    	_       uint32
    	Mode    uint32
    	Nlink   uint32
    	Uid     uint32
    	Gid     uint32
    	Rdev    uint64
    	_       uint16
    	Size    int64
    	Blksize int32
    	Blocks  int64
    	Atim    Timespec
    	Mtim    Timespec
    	Ctim    Timespec
    	Ino     uint64
    }
    
    type Dirent struct {
    	Ino    uint64
    	Off    int64
    	Reclen uint16
    	Type   uint8
    	Name   [256]int8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go

    	Mode uint32
    	_    [0]uint8
    	Seq  uint16
    	_    uint16
    	_    uint32
    	_    uint32
    }
    type SysvShmDesc struct {
    	Perm       SysvIpcPerm
    	Segsz      uint32
    	Atime      uint32
    	Dtime      uint32
    	Ctime      uint32
    	Cpid       int32
    	Lpid       int32
    	Nattch     uint32
    	Atime_high uint16
    	Dtime_high uint16
    	Ctime_high uint16
    	_          uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. src/unicode/utf16/utf16_test.go

    		}
    	}
    }
    
    type decodeTest struct {
    	in  []uint16
    	out []rune
    }
    
    var decodeTests = []decodeTest{
    	{[]uint16{1, 2, 3, 4}, []rune{1, 2, 3, 4}},
    	{[]uint16{0xffff, 0xd800, 0xdc00, 0xd800, 0xdc01, 0xd808, 0xdf45, 0xdbff, 0xdfff},
    		[]rune{0xffff, 0x10000, 0x10001, 0x12345, 0x10ffff}},
    	{[]uint16{0xd800, 'a'}, []rune{0xfffd, 'a'}},
    	{[]uint16{0xdfff}, []rune{0xfffd}},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:48 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. src/syscall/syscall_windows.go

    //sys	SetCurrentDirectory(path *uint16) (err error) = SetCurrentDirectoryW
    //sys	CreateDirectory(path *uint16, sa *SecurityAttributes) (err error) = CreateDirectoryW
    //sys	RemoveDirectory(path *uint16) (err error) = RemoveDirectoryW
    //sys	DeleteFile(path *uint16) (err error) = DeleteFileW
    //sys	MoveFile(from *uint16, to *uint16) (err error) = MoveFileW
    //sys	GetComputerName(buf *uint16, n *uint32) (err error) = GetComputerNameW
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  6. src/internal/byteorder/byteorder.go

    package byteorder
    
    func LeUint16(b []byte) uint16 {
    	_ = b[1] // bounds check hint to compiler; see golang.org/issue/14808
    	return uint16(b[0]) | uint16(b[1])<<8
    }
    
    func LePutUint16(b []byte, v uint16) {
    	_ = b[1] // early bounds check to guarantee safety of writes below
    	b[0] = byte(v)
    	b[1] = byte(v >> 8)
    }
    
    func LeAppendUint16(b []byte, v uint16) []byte {
    	return append(b,
    		byte(v),
    		byte(v>>8),
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 20:31:29 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go

    	Mode uint32
    	_    [0]uint8
    	Seq  uint16
    	_    uint16
    	_    uint32
    	_    uint32
    }
    type SysvShmDesc struct {
    	Perm       SysvIpcPerm
    	Segsz      uint32
    	Atime      uint32
    	Dtime      uint32
    	Ctime      uint32
    	Cpid       int32
    	Lpid       int32
    	Nattch     uint32
    	Atime_high uint16
    	Dtime_high uint16
    	Ctime_high uint16
    	_          uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/vendor/golang.org/x/sys/windows/security_windows.go

    	NetSetupWorkgroupName
    	NetSetupDomainName
    )
    
    type UserInfo10 struct {
    	Name       *uint16
    	Comment    *uint16
    	UsrComment *uint16
    	FullName   *uint16
    }
    
    //sys	NetUserGetInfo(serverName *uint16, userName *uint16, level uint32, buf **byte) (neterr error) = netapi32.NetUserGetInfo
    //sys	NetGetJoinInformation(server *uint16, name **uint16, bufType *uint32) (neterr error) = netapi32.NetGetJoinInformation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K 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