Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,280 for Byte (0.05 sec)

  1. android/guava/src/com/google/common/net/InetAddresses.java

          return false;
        }
    
        byte[] bytes = ip.getAddress();
    
        if ((bytes[8] | (byte) 0x03) != (byte) 0x03) {
    
          // Verify that high byte of the 64 bit identifier is zero, modulo
          // the U/L and G bits, with which we are not concerned.
          return false;
        }
    
        return (bytes[9] == (byte) 0x00) && (bytes[10] == (byte) 0x5e) && (bytes[11] == (byte) 0xfe);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2-legacy.go

    package cmd
    
    import (
    	"fmt"
    	"time"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    // unmarshalV unmarshals with a specific header version.
    func (x *xlMetaV2VersionHeader) unmarshalV(v uint8, bts []byte) (o []byte, err error) {
    	switch v {
    	case 1:
    		return x.unmarshalV1(bts)
    	case 2:
    		x2 := xlMetaV2VersionHeaderV2{xlMetaV2VersionHeader: x}
    		return x2.UnmarshalMsg(bts)
    	case xlHeaderVersion:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 19 16:43:43 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/av/AvPairs.java

         * @return encoded avpairs
         */
        public static byte[] encode ( List<AvPair> pairs ) {
            int size = 0;
            for ( AvPair p : pairs ) {
                size += 4 + p.getRaw().length;
            }
            size += 4;
    
            byte[] enc = new byte[size];
            int pos = 0;
            for ( AvPair p : pairs ) {
                byte[] raw = p.getRaw();
                SMBUtil.writeInt2(p.getType(), enc, pos);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComNtTransaction.java

        }
    
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            if (command != SMB_COM_NT_TRANSACT_SECONDARY) {
                dst[dstIndex++] = maxSetupCount;
            } else {
                dst[dstIndex++] = (byte)0x00;          // Reserved
            }
            dst[dstIndex++] = (byte)0x00;          // Reserved
            dst[dstIndex++] = (byte)0x00;          // Reserved
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponse.java

        }
    
    
        @Override
        protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int writeParametersWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int writeDataWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/BaseEncoding.java

       * inverse operation to {@link #encode(byte[])}.
       *
       * @throws DecodingException if the input is not a valid encoded string according to this
       *     encoding.
       */
      final byte[] decodeChecked(CharSequence chars)
          throws DecodingException {
        chars = trimTrailingPadding(chars);
        byte[] tmp = new byte[maxDecodedSize(chars.length())];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  7. docs/debugging/xl-meta/main.go

    func (x xlMetaInlineData) json(value bool) ([]byte, error) {
    	if len(x) == 0 {
    		return []byte("{}"), nil
    	}
    	if !x.versionOK() {
    		return nil, errors.New("xlMetaInlineData: unknown version")
    	}
    	sz, buf, err := msgp.ReadMapHeaderBytes(x.afterVersion())
    	if err != nil {
    		return nil, err
    	}
    	res := []byte("{")
    
    	for i := uint32(0); i < sz; i++ {
    		var key, val []byte
    		key, buf, err = msgp.ReadMapKeyZC(buf)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2_gen.go

    func (z xlMetaBuf) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendBytes(o, []byte(z))
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *xlMetaBuf) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	{
    		var zb0001 []byte
    		zb0001, bts, err = msgp.ReadBytesBytes(bts, []byte((*z)))
    		if err != nil {
    			err = msgp.WrapError(err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  9. src/archive/tar/strconv.go

    	if isASCII(s) {
    		return s
    	}
    	b := make([]byte, 0, len(s))
    	for _, c := range s {
    		if c < 0x80 && c != 0x00 {
    			b = append(b, byte(c))
    		}
    	}
    	return string(b)
    }
    
    type parser struct {
    	err error // Last error seen
    }
    
    type formatter struct {
    	err error // Last error seen
    }
    
    // parseString parses bytes as a NUL-terminated C-style string.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  10. src/bytes/boundary_test.go

    		q[j-1] = 1 // difference is only found on the last byte
    		for i := range b {
    			idx := Index(b[i:], q[:j])
    			if idx != -1 {
    				t.Fatalf("Index(b[%d:], q[:%d])=%d, want -1\n", i, j, idx)
    			}
    		}
    		q[j-1] = 0
    	}
    
    	// Test differing alignments and sizes of q which always end on a page boundary.
    	q[len(q)-1] = 1 // difference is only found on the last byte
    	for j := 0; j < len(q); j++ {
    		for i := range b {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Nov 30 20:05:58 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top