Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for 0xFF (0.02 sec)

  1. src/main/java/jcifs/smb1/util/Encdec.java

        {
            return (short)(((src[si] & 0xFF) << 8) | (src[si + 1] & 0xFF));
        }
        public static int dec_uint32be( byte[] src, int si )
        {
            return ((src[si] & 0xFF) << 24) | ((src[si + 1] & 0xFF) << 16) |
                   ((src[si + 2] & 0xFF) << 8) | (src[si + 3] & 0xFF);
        }
        public static short dec_uint16le( byte[] src, int si )
        {
            return (short)((src[si] & 0xFF) | ((src[si + 1] & 0xFF) << 8));
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/Encdec.java

            dst[ di++ ] = (byte) ( ( s >> 8 ) & 0xFF );
            dst[ di ] = (byte) ( s & 0xFF );
            return 2;
        }
    
    
        public static int enc_uint32be ( int i, byte[] dst, int di ) {
            dst[ di++ ] = (byte) ( ( i >> 24 ) & 0xFF );
            dst[ di++ ] = (byte) ( ( i >> 16 ) & 0xFF );
            dst[ di++ ] = (byte) ( ( i >> 8 ) & 0xFF );
            dst[ di ] = (byte) ( i & 0xFF );
            return 4;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            dstIndex += this.wordCount + 1;
            this.wordCount /= 2;
            dst[ start ] = (byte) ( this.wordCount & 0xFF );
    
            this.byteCount = writeBytesWireFormat(dst, dstIndex + 2);
            dst[ dstIndex++ ] = (byte) ( this.byteCount & 0xFF );
            dst[ dstIndex++ ] = (byte) ( ( this.byteCount >> 8 ) & 0xFF );
            dstIndex += this.byteCount;
    
            /*
             * Normally, without intervention everything would batch
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Nov 28 10:56:27 UTC 2022
    - 14.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/DES.java

            key8[0] = (byte) ( ( key7[0] >> 1) & 0xff);
            key8[1] = (byte)(( ((key7[0] & 0x01) << 6) | (((key7[1] & 0xff)>>2) & 0xff)) & 0xff );
            key8[2] = (byte)(( ((key7[1] & 0x03) << 5) | (((key7[2] & 0xff)>>3) & 0xff)) & 0xff );
            key8[3] = (byte)(( ((key7[2] & 0x07) << 4) | (((key7[3] & 0xff)>>4) & 0xff)) & 0xff );
            key8[4] = (byte)(( ((key7[3] & 0x0F) << 3) | (((key7[4] & 0xff)>>5) & 0xff)) & 0xff );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 21.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

            dstIndex += wordCount + 1;
            wordCount /= 2;
            dst[start] = (byte)( wordCount & 0xFF );
    
            byteCount = writeBytesWireFormat( dst, dstIndex + 2 );
            dst[dstIndex++] = (byte)( byteCount & 0xFF );
            dst[dstIndex++] = (byte)(( byteCount >> 8 ) & 0xFF );
            dstIndex += byteCount;
    
            /* Normally, without intervention everything would batch
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NameServicePacket.java

            dst[ dstIndex++ ] = (byte) ( ( val >> 8 ) & 0xFF );
            dst[ dstIndex ] = (byte) ( val & 0xFF );
        }
    
    
        static void writeInt4 ( int val, byte[] dst, int dstIndex ) {
            dst[ dstIndex++ ] = (byte) ( ( val >> 24 ) & 0xFF );
            dst[ dstIndex++ ] = (byte) ( ( val >> 16 ) & 0xFF );
            dst[ dstIndex++ ] = (byte) ( ( val >> 8 ) & 0xFF );
            dst[ dstIndex ] = (byte) ( val & 0xFF );
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

            dst[dstIndex++] = (byte)(( val >> 8 ) & 0xFF );
            dst[dstIndex] = (byte)( val & 0xFF );
        }
        static void writeInt4( int val, byte[] dst, int dstIndex ) {
            dst[dstIndex++] = (byte)(( val >> 24 ) & 0xFF );
            dst[dstIndex++] = (byte)(( val >> 16 ) & 0xFF );
            dst[dstIndex++] = (byte)(( val >> 8 ) & 0xFF );
            dst[dstIndex] = (byte)( val & 0xFF );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            return ( src[srcIndex] & 0xFF ) +
                    (( src[srcIndex + 1] & 0xFF ) << 8 );
        }
        static int readInt4( byte[] src, int srcIndex ) {
            return ( src[srcIndex] & 0xFF ) +
                    (( src[srcIndex + 1] & 0xFF ) << 8 ) +
                    (( src[srcIndex + 2] & 0xFF ) << 16 ) +
                    (( src[srcIndex + 3] & 0xFF ) << 24 );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NbtAddress.java

         */
        public byte[] getAddress () {
            byte[] addr = new byte[4];
            addr[ 0 ] = (byte) ( ( this.address >>> 24 ) & 0xFF );
            addr[ 1 ] = (byte) ( ( this.address >>> 16 ) & 0xFF );
            addr[ 2 ] = (byte) ( ( this.address >>> 8 ) & 0xFF );
            addr[ 3 ] = (byte) ( this.address & 0xFF );
            return addr;
        }
    
    
        /**
         * To convert this address to an <code>InetAddress</code>.
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/HashCode.java

              bytes.length >= 4,
              "HashCode#asInt() requires >= 4 bytes (it only has %s bytes).",
              bytes.length);
          return (bytes[0] & 0xFF)
              | ((bytes[1] & 0xFF) << 8)
              | ((bytes[2] & 0xFF) << 16)
              | ((bytes[3] & 0xFF) << 24);
        }
    
        @Override
        public long asLong() {
          checkState(
              bytes.length >= 8,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
Back to top