Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 225 for readInt (0.34 sec)

  1. android/guava/src/com/google/common/collect/CompactHashMap.java

      @SuppressWarnings("unchecked")
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int elementCount = stream.readInt();
        if (elementCount < 0) {
          throw new InvalidObjectException("Invalid size: " + elementCount);
        }
        init(elementCount);
        for (int i = 0; i < elementCount; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 35.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/SessionRetargetResponsePacket.java

                throw new IOException( "unexpected EOF reading netbios retarget session response" );
            }
            int addr = readInt4( buffer, bufferIndex );
            bufferIndex += 4;
            retargetAddress = new NbtAddress( null, addr, false, NbtAddress.B_NODE );
            retargetPort = readInt2( buffer, bufferIndex );
            return length;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/SessionServicePacket.java

            dst[ dstIndex++ ] = (byte) ( ( val >> 8 ) & 0xFF );
            dst[ dstIndex ] = (byte) ( val & 0xFF );
        }
    
    
        static int readInt2 ( byte[] src, int srcIndex ) {
            return ( ( src[ srcIndex ] & 0xFF ) << 8 ) + ( src[ srcIndex + 1 ] & 0xFF );
        }
    
    
        static int readInt4 ( byte[] src, int srcIndex ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java

            int start = bufferIndex;
    
            status = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
            converter = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
            numEntries = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
            totalAvailableEntries = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
    
            return bufferIndex - start;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CompactHashMap.java

      @SuppressWarnings("unchecked")
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int elementCount = stream.readInt();
        if (elementCount < 0) {
          throw new InvalidObjectException("Invalid size: " + elementCount);
        }
        init(elementCount);
        for (int i = 0; i < elementCount; i++) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 39.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

            int start = bufferIndex;
            this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
            this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
            this.numberOfLinks = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.deletePending = ( buffer[ bufferIndex++ ] & 0xFF ) > 0;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

            int start = bufferIndex;
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 16 ) {
                throw new SMBProtocolDecodingException("Structure size is not 16");
            }
    
            this.shareType = buffer[ bufferIndex + 2 ];
            bufferIndex += 4;
            this.shareFlags = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon May 23 14:35:20 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComQueryInformationResponse.java

            if( wordCount == 0 ) {
                return 0;
            }
            fileAttributes = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
            lastWriteTime = readUTime( buffer, bufferIndex );
            bufferIndex += 4;
            fileSize = readInt4( buffer, bufferIndex );
            return 20;
        }
        int readBytesWireFormat( byte[] buffer, int bufferIndex ) {
            return 0;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

            type = ServerMessageBlock.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            int ownerUOffset = ServerMessageBlock.readInt4(buffer, bufferIndex); // offset to owner sid
            bufferIndex += 4;
            int ownerGOffset = ServerMessageBlock.readInt4(buffer, bufferIndex); // offset to group sid
            bufferIndex += 4;
            int saclOffset = ServerMessageBlock.readInt4(buffer, bufferIndex); // offset to sacl
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/ByteSource.java

       * than would be returned by reading all of the bytes (for example, some special files may return
       * a size of 0 despite actually having content when read).
       *
       * <p>In either case, for mutable sources such as files, a subsequent read may return a different
       * number of bytes if the contents are changed.
       *
       * @throws IOException if an I/O error occurs while reading the size of this source
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
Back to top