Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 630 for streamCh (0.09 sec)

  1. guava/src/com/google/common/io/CharStreams.java

            break;
          }
        }
        return processor.getResult();
      }
    
      /**
       * Reads and discards data from the given {@code Readable} until the end of the stream is reached.
       * Returns the total number of chars read. Does not close the stream.
       *
       * @since 20.0
       */
      @CanIgnoreReturnValue
      public static long exhaust(Readable readable) throws IOException {
        long total = 0;
        long read;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/Stats.java

    import com.google.common.base.Objects;
    import java.io.Serializable;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import java.util.Iterator;
    import java.util.stream.Collector;
    import java.util.stream.DoubleStream;
    import java.util.stream.IntStream;
    import java.util.stream.LongStream;
    import javax.annotation.CheckForNull;
    
    /**
     * A bundle of statistical summary values -- sum, count, mean/average, min and max, and several
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/AbstractByteHasher.java

    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    
    /**
     * Abstract {@link Hasher} that handles converting primitives to bytes using a scratch {@code
     * ByteBuffer} and streams all bytes to a sink to compute the hash.
     *
     * @author Colin Decker
     */
    @ElementTypesAreNonnullByDefault
    abstract class AbstractByteHasher extends AbstractHasher {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  4. internal/grid/connection.go

    }
    
    // NewStream creates a new stream.
    // Initial payload can be reused by the caller.
    func (c *Connection) NewStream(ctx context.Context, h HandlerID, payload []byte) (st *Stream, err error) {
    	if !h.valid() {
    		return nil, ErrUnknownHandler
    	}
    	if c.State() != StateConnected {
    		return nil, ErrDisconnected
    	}
    	handler := c.handlers.streams[h]
    	if handler == nil {
    		return nil, ErrUnknownHandler
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/BloomFilter.java

        for (int i = 0; i < bits.data.length(); i++) {
          dout.writeLong(bits.data.get(i));
        }
      }
    
      /**
       * Reads a byte stream, which was written by {@linkplain #writeTo(OutputStream)}, into a {@code
       * BloomFilter}.
       *
       * <p>The {@code Funnel} to be used is not encoded in the stream, so it must be provided here.
       * <b>Warning:</b> the funnel provided <b>must</b> behave identically to the one used to populate
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Splitter.java

        return StreamSupport.stream(split(sequence).spliterator(), false);
      }
    
      /**
       * Returns a {@code MapSplitter} which splits entries based on this splitter, and splits entries
       * into keys and values using the specified separator.
       *
       * @since 10.0
       */
      public MapSplitter withKeyValueSeparator(String separator) {
        return withKeyValueSeparator(on(separator));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

          inFinished: Boolean,
          streamId: Int,
          source: BufferedSource,
          length: Int,
        ) {
          check(type == -1)
          this.type = Http2.TYPE_DATA
          this.inFinished = inFinished
          this.streamId = streamId
          this.data = source.readByteString(length.toLong()).toByteArray()
        }
    
        override fun rstStream(
          streamId: Int,
          errorCode: ErrorCode,
        ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

          throw IOException("unexpected journal line: $strings")
        }
    
        /**
         * Returns a snapshot of this entry. This opens all streams eagerly to guarantee that we see a
         * single published snapshot. If we opened streams lazily then the streams could come from
         * different edits.
         */
        internal fun snapshot(): Snapshot? {
          ******@****.***ThreadHoldsLock()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/custom-response.md

    ```Python hl_lines="2  7  9"
    {!../../docs_src/custom_response/tutorial006c.py!}
    ```
    
    ### `StreamingResponse`
    
    Nimmt einen asynchronen Generator oder einen normalen Generator/Iterator und streamt den Responsebody.
    
    ```Python hl_lines="2  14"
    {!../../docs_src/custom_response/tutorial007.py!}
    ```
    
    #### Verwendung von `StreamingResponse` mit dateiähnlichen Objekten
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableBiMap.java

    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Comparator;
    import java.util.Map;
    import java.util.function.BinaryOperator;
    import java.util.function.Function;
    import java.util.stream.Collector;
    import java.util.stream.Collectors;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top