Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for Uint16 (0.28 sec)

  1. src/archive/zip/register.go

    	var err error
    	if r.fr != nil {
    		err = r.fr.Close()
    		flateReaderPool.Put(r.fr)
    		r.fr = nil
    	}
    	return err
    }
    
    var (
    	compressors   sync.Map // map[uint16]Compressor
    	decompressors sync.Map // map[uint16]Decompressor
    )
    
    func init() {
    	compressors.Store(Store, Compressor(func(w io.Writer) (io.WriteCloser, error) { return &nopCloser{w}, nil }))
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  2. src/archive/zip/reader.go

    	}
    	b := readBuf(buf[:])
    	if sig := b.uint32(); sig != directoryHeaderSignature {
    		return ErrFormat
    	}
    	f.CreatorVersion = b.uint16()
    	f.ReaderVersion = b.uint16()
    	f.Flags = b.uint16()
    	f.Method = b.uint16()
    	f.ModifiedTime = b.uint16()
    	f.ModifiedDate = b.uint16()
    	f.CRC32 = b.uint32()
    	f.CompressedSize = b.uint32()
    	f.UncompressedSize = b.uint32()
    	f.CompressedSize64 = uint64(f.CompressedSize)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  3. src/archive/zip/struct.go

    	// automatically sets the ZIP format's UTF-8 flag for valid UTF-8 strings.
    	NonUTF8 bool
    
    	CreatorVersion uint16
    	ReaderVersion  uint16
    	Flags          uint16
    
    	// Method is the compression method. If zero, Store is used.
    	Method uint16
    
    	// Modified is the modified time of the file.
    	//
    	// When reading, an extended timestamp is preferred over the legacy MS-DOS
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  4. api/go1.9.txt

    pkg math/bits, func ReverseBytes16(uint16) uint16
    pkg math/bits, func ReverseBytes32(uint32) uint32
    pkg math/bits, func ReverseBytes64(uint64) uint64
    pkg math/bits, func RotateLeft(uint, int) uint
    pkg math/bits, func RotateLeft16(uint16, int) uint16
    pkg math/bits, func RotateLeft32(uint32, int) uint32
    pkg math/bits, func RotateLeft64(uint64, int) uint64
    pkg math/bits, func RotateLeft8(uint8, int) uint8
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Oct 04 20:20:20 GMT 2021
    - 10.7K bytes
    - Viewed (0)
  5. src/archive/zip/writer.go

    	b = b[4:]                        // skip over disk number and first disk number (2x uint16)
    	b.uint16(uint16(records))        // number of entries this disk
    	b.uint16(uint16(records))        // number of entries total
    	b.uint32(uint32(size))           // size of directory
    	b.uint32(uint32(offset))         // start of directory
    	b.uint16(uint16(len(w.comment))) // byte size of EOCD comment
    	if _, err := w.cw.Write(buf[:]); err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  6. src/archive/zip/writer_test.go

    		testReadFile(t, r.File[i], &wt)
    	}
    }
    
    func TestWriterCreateRaw(t *testing.T) {
    	files := []struct {
    		name             string
    		content          []byte
    		method           uint16
    		flags            uint16
    		crc32            uint32
    		uncompressedSize uint64
    		compressedSize   uint64
    	}{
    		{
    			name:    "small store w desc",
    			content: []byte("gophers"),
    			method:  Store,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  7. src/builtin/builtin.go

    	false = 0 != 0 // Untyped bool.
    )
    
    // uint8 is the set of all unsigned 8-bit integers.
    // Range: 0 through 255.
    type uint8 uint8
    
    // uint16 is the set of all unsigned 16-bit integers.
    // Range: 0 through 65535.
    type uint16 uint16
    
    // uint32 is the set of all unsigned 32-bit integers.
    // Range: 0 through 4294967295.
    type uint32 uint32
    
    // uint64 is the set of all unsigned 64-bit integers.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  8. api/go1.18.txt

    pkg net/http, method (*Cookie) Valid() error
    pkg net/netip, func AddrFrom16([16]uint8) Addr
    pkg net/netip, func AddrFrom4([4]uint8) Addr
    pkg net/netip, func AddrFromSlice([]uint8) (Addr, bool)
    pkg net/netip, func AddrPortFrom(Addr, uint16) AddrPort
    pkg net/netip, func IPv4Unspecified() Addr
    pkg net/netip, func IPv6LinkLocalAllNodes() Addr
    pkg net/netip, func IPv6Unspecified() Addr
    pkg net/netip, func MustParseAddr(string) Addr
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K bytes
    - Viewed (0)
  9. api/go1.14.txt

    pkg crypto/tls, const TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 = 52393
    pkg crypto/tls, const TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 uint16
    pkg crypto/tls, const TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 = 52392
    pkg crypto/tls, const TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 uint16
    pkg crypto/tls, func CipherSuiteName(uint16) string
    pkg crypto/tls, func CipherSuites() []*CipherSuite
    pkg crypto/tls, func InsecureCipherSuites() []*CipherSuite
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/arch/arm64.go

    func ARM64RegisterShift(reg, op, count int16) (int64, error) {
    	// the base register of shift operations must be general register.
    	if reg > arm64.REG_R31 || reg < arm64.REG_R0 {
    		return 0, errors.New("invalid register for shift operation")
    	}
    	return int64(reg&31)<<16 | int64(op)<<22 | int64(uint16(count)), nil
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 29 09:04:58 GMT 2022
    - 10.4K bytes
    - Viewed (0)
Back to top