Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 623 for readAny (0.14 sec)

  1. guava/src/com/google/common/collect/Serialization.java

        for (int i = 0; i < distinctKeys; i++) {
          @SuppressWarnings("unchecked") // reading data stored by writeMultimap
          K key = (K) stream.readObject();
          Collection<V> values = multimap.get(key);
          int valueCount = stream.readInt();
          for (int j = 0; j < valueCount; j++) {
            @SuppressWarnings("unchecked") // reading data stored by writeMultimap
            V value = (V) stream.readObject();
            values.add(value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Serialization.java

        for (int i = 0; i < distinctKeys; i++) {
          @SuppressWarnings("unchecked") // reading data stored by writeMultimap
          K key = (K) stream.readObject();
          Collection<V> values = multimap.get(key);
          int valueCount = stream.readInt();
          for (int j = 0; j < valueCount; j++) {
            @SuppressWarnings("unchecked") // reading data stored by writeMultimap
            V value = (V) stream.readObject();
            values.add(value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

        }
        val padding = if (flags and FLAG_PADDED != 0) source.readByte() and 0xff else 0
        val promisedStreamId = source.readInt() and 0x7fffffff
        val headerBlockLength = lengthWithoutPadding(length - 4, flags, padding) // - 4 for readInt().
        val headerBlock = readHeaderBlock(headerBlockLength, padding, flags, streamId)
        handler.pushPromise(streamId, promisedStreamId, headerBlock)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

       * Reads an integer as specified by {@link DataInputStream#readInt()}, except using little-endian
       * byte order.
       *
       * @return the next four bytes of the input stream, interpreted as an {@code int} in little-endian
       *     byte order
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      public int readInt() throws IOException {
        byte b1 = readAndCheckByte();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  5. cmd/metacache-stream.go

    		select {
    		case <-ctx.Done():
    			r.err = ctx.Err()
    			return ctx.Err()
    		case dst <- meta:
    		}
    	}
    }
    
    // readFn will return all remaining objects
    // and provide a callback for each entry read in order
    // as long as true is returned on the callback.
    func (r *metacacheReader) readFn(fn func(entry metaCacheEntry) bool) error {
    	r.checkInit()
    	if r.err != nil {
    		return r.err
    	}
    	if r.current.name != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/SessionServicePacket.java

            int n;
            if ( ( n = readn(in, buffer, bufferIndex, HEADER_LENGTH) ) != HEADER_LENGTH ) {
                if ( n == -1 ) {
                    return -1;
                }
                throw new IOException("unexpected EOF reading netbios session header");
            }
            int t = buffer[ bufferIndex ] & 0xFF;
            return t;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ByteArrayDataInput.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.DataInput;
    import java.io.IOException;
    import javax.annotation.CheckForNull;
    
    /**
     * An extension of {@code DataInput} for reading from in-memory byte arrays; its methods offer
     * identical functionality but do not throw {@link IOException}.
     *
     * <p><b>Warning:</b> The caller is responsible for not attempting to read past the end of the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/ByteArrayDataInput.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.DataInput;
    import java.io.IOException;
    import javax.annotation.CheckForNull;
    
    /**
     * An extension of {@code DataInput} for reading from in-memory byte arrays; its methods offer
     * identical functionality but do not throw {@link IOException}.
     *
     * <p><b>Warning:</b> The caller is responsible for not attempting to read past the end of the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

                                        throws IOException {
            int n;
            if(( n = readn( in, buffer, bufferIndex, HEADER_LENGTH )) != HEADER_LENGTH ) {
                if( n == -1 ) {
                    return -1;
                }
                throw new IOException( "unexpected EOF reading netbios session header" );
            }
            int t = buffer[bufferIndex] & 0xFF;
            return t;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbCopyUtil.java

        private byte[] b;
        private int n;
        private boolean ready;
        private SmbFileOutputStream out;
    
        private SmbException e = null;
    
    
        WriterThread () {
            super("JCIFS-WriterThread");
            this.ready = false;
        }
    
    
        /**
         * @return the ready
         */
        boolean isReady () {
            return this.ready;
        }
    
    
        /**
         * @throws SmbException
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
Back to top