Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for readULong (0.16 sec)

  1. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                }
            }
            if (readULong(material, 8) != 3) {
                throw new IOException("Not a Type 3 message.");
            }
            byte[] lmResponse = readSecurityBuffer(material, 12);
            int lmResponseOffset = readULong(material, 16);
            byte[] ntResponse = readSecurityBuffer(material, 20);
            int ntResponseOffset = readULong(material, 24);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ntlmssp/Type2Message.java

                }
            }
            pos += 8;
    
            if ( readULong(input, pos) != NTLMSSP_TYPE2 ) {
                throw new IOException("Not a Type 2 message.");
            }
            pos += 4;
    
            int flags = readULong(input, pos + 8);
            setFlags(flags);
    
            byte[] targetName = readSecurityBuffer(input, pos);
            int targetNameOff = readULong(input, pos + 4);
            if ( targetName.length != 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/Type3Message.java

            setNTResponse(ntResponseBytes);
            int ntResponseOffset = readULong(material, pos + 4);
            pos += 8;
    
            byte[] domainBytes = readSecurityBuffer(material, pos);
            int domainOffset = readULong(material, pos + 4);
            pos += 8;
    
            byte[] userBytes = readSecurityBuffer(material, pos);
            int userOffset = readULong(material, pos + 4);
            pos += 8;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                if (material[i] != NTLMSSP_SIGNATURE[i]) {
                    throw new IOException("Not an NTLMSSP message.");
                }
            }
            if (readULong(material, 8) != 2) {
                throw new IOException("Not a Type 2 message.");
            }
            int flags = readULong(material, 20);
            setFlags(flags);
            String target = null;
            byte[] bytes = readSecurityBuffer(material, 12);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            if((read( tmp, 0, 4 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return Encdec.dec_uint32be( tmp, 0 );
        }
        public final long readLong() throws SmbException {
            if((read( tmp, 0, 8 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return Encdec.dec_uint64be( tmp, 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)
  6. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

          val prefix = header.readByteString(PREFIX_CLEAN.size.toLong())
          if (prefix != PREFIX_CLEAN) throw IOException("unreadable cache file")
          val upstreamSize = header.readLong()
          val metadataSize = header.readLong()
    
          // Read the metadata.
          val metadataBuffer = Buffer()
          fileOperator.read(FILE_HEADER_SIZE + upstreamSize, metadataBuffer, metadataSize)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

        if (bytesLeft == 0L) throw ProtocolException("unexpected length: $bytesLeft at $this")
        val byteArray = source.readByteArray(bytesLeft)
        return BigInteger(byteArray)
      }
    
      fun readLong(): Long {
        if (bytesLeft !in 1..8) throw ProtocolException("unexpected length: $bytesLeft at $this")
    
        var result = source.readByte().toLong() // No "and 0xff" because this is a signed value!
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

        if (frameLength == PAYLOAD_SHORT.toLong()) {
          frameLength = (source.readShort() and 0xffff).toLong() // Value is unsigned.
        } else if (frameLength == PAYLOAD_LONG.toLong()) {
          frameLength = source.readLong()
          if (frameLength < 0L) {
            throw ProtocolException(
              "Frame length 0x${frameLength.toHexString()} > 0x7FFFFFFFFFFFFFFF",
            )
          }
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

          name = "INTEGER",
          tagClass = DerHeader.TAG_CLASS_UNIVERSAL,
          tag = 2L,
          codec =
            object : BasicDerAdapter.Codec<Long> {
              override fun decode(reader: DerReader): Long = reader.readLong()
    
              override fun encode(
                writer: DerWriter,
                value: Long,
              ) = writer.writeLong(value)
            },
        )
    
      val INTEGER_AS_BIG_INTEGER =
        BasicDerAdapter(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/ByteStreams.java

          try {
            return input.readInt();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public long readLong() {
          try {
            return input.readLong();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public float readFloat() {
          try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top