Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 158 for 0xFF (0.03 sec)

  1. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

        }
        int readRDataWireFormat( byte[] src, int srcIndex ) {
            int start = srcIndex;
            numberOfNames = src[srcIndex] & 0xFF;
            int namesLength = numberOfNames * 18;
            int statsLength = rDataLength - namesLength - 1;
            numberOfNames = src[srcIndex++] & 0xFF;
            // gotta read the mac first so we can populate addressArray with it
            System.arraycopy( src, srcIndex + namesLength, macAddress, 0, 6 );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

      require(address.size == 4)
      return Buffer()
        .writeDecimalLong((address[0] and 0xff).toLong())
        .writeByte('.'.code)
        .writeDecimalLong((address[1] and 0xff).toLong())
        .writeByte('.'.code)
        .writeDecimalLong((address[2] and 0xff).toLong())
        .writeByte('.'.code)
        .writeDecimalLong((address[3] and 0xff).toLong())
        .readUtf8()
    }
    
    /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/LittleEndianByteArray.java

      static int load32(byte[] source, int offset) {
        // TODO(user): Measure the benefit of delegating this to LittleEndianBytes also.
        return (source[offset] & 0xFF)
            | ((source[offset + 1] & 0xFF) << 8)
            | ((source[offset + 2] & 0xFF) << 16)
            | ((source[offset + 3] & 0xFF) << 24);
      }
    
      /**
       * Indicates that the loading of Unsafe was successful and the load and store operations will be
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. src/archive/tar/strconv.go

    		// data bytes and treat the value as an unsigned number.
    		var inv byte // 0x00 if positive or zero, 0xff if negative
    		if b[0]&0x40 != 0 {
    			inv = 0xff
    		}
    
    		var x uint64
    		for i, c := range b {
    			c ^= inv // Inverts c only if inv is 0xff, otherwise does nothing
    			if i == 0 {
    				c &= 0x7f // Ignore signal bit in first byte
    			}
    			if (x >> 56) > 0 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

            attributeOptions.add(color & 0xff);
            return this;
        }
    
        public Ansi fgRgb(int color) {
            return fgRgb(color >> 16, color >> 8, color);
        }
    
        public Ansi fgRgb(int r, int g, int b) {
            attributeOptions.add(38);
            attributeOptions.add(2);
            attributeOptions.add(r & 0xff);
            attributeOptions.add(g & 0xff);
            attributeOptions.add(b & 0xff);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

            bufferIndex += 8;
            this.numberOfLinks = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.deletePending = ( buffer[ bufferIndex++ ] & 0xFF ) > 0;
            this.directory = ( buffer[ bufferIndex++ ] & 0xFF ) > 0;
            return bufferIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
        public int size () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/kerberos/KerberosToken.java

    
                // yes, there really is non ASN.1/DER data inside the tagged object
                int read = 0;
                int readLow = stream.read() & 0xff;
                int readHigh = stream.read() & 0xff;
                read = ( readHigh << 8 ) + readLow;
                if ( read != 0x01 )
                    throw new PACDecodingException("Malformed kerberos token");
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        for (int i = 0; i <= 0xff; i++) {
          assertThat(UnsignedBytes.toString((byte) i)).isEqualTo(Integer.toString(i));
        }
      }
    
      public void testToStringWithRadix() {
        // We can easily afford to test this exhaustively.
        for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) {
          for (int i = 0; i <= 0xff; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

    internal fun BufferedSink.writeMedium(medium: Int) {
      writeByte(medium.ushr(16) and 0xff)
      writeByte(medium.ushr(8) and 0xff)
      writeByte(medium and 0xff)
    }
    
    @Throws(IOException::class)
    internal fun BufferedSource.readMedium(): Int {
      return (
        readByte() and 0xff shl 16
          or (readByte() and 0xff shl 8)
          or (readByte() and 0xff)
      )
    }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NbtAddress.java

     */ 
    
        public byte[] getAddress() {    
            byte[] addr = new byte[4];
    
            addr[0] = (byte)(( address >>> 24 ) & 0xFF );
            addr[1] = (byte)(( address >>> 16 ) & 0xFF );
            addr[2] = (byte)(( address >>> 8 ) & 0xFF );
            addr[3] = (byte)( address & 0xFF );
            return addr;
        }
    
    /** 
     * To convert this address to an <code>InetAddress</code>.
     *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
Back to top