Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 212 for 0xff (0.02 sec)

  1. src/main/java/jcifs/smb1/dcerpc/ndr/NdrSmall.java

     */
    
    package jcifs.smb1.dcerpc.ndr;
    
    public class NdrSmall extends NdrObject {
    
        public int value;
    
        public NdrSmall(int value) {
            this.value = value & 0xFF;
        }
    
        public void encode(NdrBuffer dst) throws NdrException {
            dst.enc_ndr_small(value);
        }
        public void decode(NdrBuffer src) throws NdrException {
            value = src.dec_ndr_small();
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/ASN1Util.java

            }
            if (length < 0)
            {
                throw new EOFException("EOF found when length expected");
            }
            if (0xFF == length)
            {
                throw new IOException("invalid long form definite-length 0xFF");
            }
    
            int octetsCount = length & 0x7F, octetsPos = 0;
    
            length = 0;
            do
            {
                int octet = s.read();
                if (octet < 0)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            fp = 0L;
        }
    
        public int read() throws SmbException {
            if( read( tmp, 0, 1 ) == -1 ) {
                return -1;
            }
            return tmp[0] & 0xFF;
        }
        public int read( byte b[] ) throws SmbException {
            return read( b, 0, b.length );
        }
        public int read( byte b[], int off, int len ) throws SmbException {
            if( len <= 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            if ( localHostname == null || localHostname.length() == 0 ) {
                byte[] addr = localInetAddress.getAddress();
                localHostname = "JCIFS" + ( addr[ 2 ] & 0xFF ) + "_" + ( addr[ 3 ] & 0xFF ) + "_"
                        + Hexdump.toHexString((int) ( Math.random() * 0xFF ), 2);
            }
    
            /*
             * Create an NbtAddress for the local interface with
             * the name deduced above possibly with scope applied and
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/ndr/NdrSmall.java

     */
    
    package jcifs.dcerpc.ndr;
    
    
    @SuppressWarnings ( "javadoc" )
    public class NdrSmall extends NdrObject {
    
        public int value;
    
    
        public NdrSmall ( int value ) {
            this.value = value & 0xFF;
        }
    
    
        @Override
        public void encode ( NdrBuffer dst ) throws NdrException {
            dst.enc_ndr_small(this.value);
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            advance(n);
            return n;
        }
    
    
        public void enc_ndr_small ( int s ) {
            this.buf[ this.index ] = (byte) ( s & 0xFF );
            advance(1);
        }
    
    
        public int dec_ndr_small () {
            int val = this.buf[ this.index ] & 0xFF;
            advance(1);
            return val;
        }
    
    
        public void enc_ndr_short ( int s ) {
            align(2);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/net/InetAddresses.java

        byte[] quad = textToNumericFormatV4(dottedQuad);
        if (quad == null) {
          return null;
        }
        String penultimate = Integer.toHexString(((quad[0] & 0xff) << 8) | (quad[1] & 0xff));
        String ultimate = Integer.toHexString(((quad[2] & 0xff) << 8) | (quad[3] & 0xff));
        return initialPart + penultimate + ":" + ultimate;
      }
    
      private static byte parseOctet(String ipString, int start, int end) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(converter.convert("0")).isEqualTo((Long) 0L);
        assertThat(converter.convert("-1")).isEqualTo((Long) (-1L));
        assertThat(converter.convert("0xff")).isEqualTo((Long) 255L);
        assertThat(converter.convert("0xFF")).isEqualTo((Long) 255L);
        assertThat(converter.convert("-0xFF")).isEqualTo((Long) (-255L));
        assertThat(converter.convert("#0000FF")).isEqualTo((Long) 255L);
        assertThat(converter.convert("0666")).isEqualTo((Long) 438L);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComNtTransactionResponse.java

            dataOffset = readInt4( buffer, bufferIndex );
            bufferIndex += 4;
            dataDisplacement = readInt4( buffer, bufferIndex );
            bufferIndex += 4;
            setupCount = buffer[bufferIndex] & 0xFF;
            bufferIndex += 2;
            if( setupCount != 0 ) {
                if( log.level >= 3 )
                    log.println( "setupCount is not zero: " + setupCount );
            }
    
            return bufferIndex - start;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponse.java

            bufferIndex += 4;
            this.dataDisplacement = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.setupCount = buffer[ bufferIndex ] & 0xFF;
            bufferIndex += 2;
            if ( this.setupCount != 0 ) {
                if ( log.isDebugEnabled() )
                    log.debug("setupCount is not zero: " + this.setupCount);
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.8K bytes
    - Viewed (0)
Back to top