Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for 0xffff (0.19 sec)

  1. src/internal/syscall/unix/siginfo_linux.go

    	_CLD_DUMPED          = 3
    	_CLD_TRAPPED         = 4
    	_CLD_STOPPED         = 5
    	_CLD_CONTINUED       = 6
    
    	// These are the same as in syscall/syscall_linux.go.
    	core      = 0x80
    	stopped   = 0x7f
    	continued = 0xffff
    )
    
    // WaitStatus converts SiginfoChild, as filled in by the waitid syscall,
    // to syscall.WaitStatus.
    func (s *SiginfoChild) WaitStatus() (ws syscall.WaitStatus) {
    	switch s.Code {
    	case _CLD_EXITED:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 01:23:00 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/hash/adler32/adler32.go

    	}
    	*d = digest(byteorder.BeUint32(b[len(magic):]))
    	return nil
    }
    
    // Add p to the running checksum d.
    func update(d digest, p []byte) digest {
    	s1, s2 := uint32(d&0xffff), uint32(d>>16)
    	for len(p) > 0 {
    		var q []byte
    		if len(p) > nmax {
    			p, q = p[:nmax], p[nmax:]
    		}
    		for len(p) >= 4 {
    			s1 += uint32(p[0])
    			s2 += s1
    			s1 += uint32(p[1])
    			s2 += s1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/SocksProxy.kt

        val version = fromSource.readByte() and 0xff
        if (version != VERSION_5) throw ProtocolException("unexpected version: $version")
    
        val command = fromSource.readByte() and 0xff
    
        val reserved = fromSource.readByte() and 0xff
        if (reserved != 0) throw ProtocolException("unexpected reserved: $reserved")
    
        val addressType = fromSource.readByte() and 0xff
        val toAddress =
          when (addressType) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. src/compress/gzip/gzip.go

    // allocating a new one.
    func (z *Writer) Reset(w io.Writer) {
    	z.init(w, z.level)
    }
    
    // writeBytes writes a length-prefixed byte slice to z.w.
    func (z *Writer) writeBytes(b []byte) error {
    	if len(b) > 0xffff {
    		return errors.New("gzip.Write: Extra data is too large")
    	}
    	le.PutUint16(z.buf[:2], uint16(len(b)))
    	_, err := z.w.Write(z.buf[:2])
    	if err != nil {
    		return err
    	}
    	_, err = z.w.Write(b)
    	return err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. src/compress/bzip2/huffman.go

    type huffmanNode struct {
    	left, right           uint16
    	leftValue, rightValue uint16
    }
    
    // invalidNodeValue is an invalid index which marks a leaf node in the tree.
    const invalidNodeValue = 0xffff
    
    // Decode reads bits from the given bitReader and navigates the tree until a
    // symbol is found.
    func (t *huffmanTree) Decode(br *bitReader) (v uint16) {
    	nodeIndex := uint16(0) // node 0 is the root of the tree.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:44:37 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. test/codegen/bits.go

    func zeroextendAndMask8to64(a int8, b int16) (x, y uint64) {
    	// ppc64x: -"MOVB\t", -"ANDCC", "MOVBZ"
    	x = uint64(a) & 0xFF
    	// ppc64x: -"MOVH\t", -"ANDCC", "MOVHZ"
    	y = uint64(b) & 0xFFFF
    	return
    }
    
    // Verify rotate and mask instructions, and further simplified instructions for small types
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top