Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 679 for asStream (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt

     * Attempting to create new streams on these allocations will fail.
     *
     * Note that an allocation may be released before its stream is completed. This is intended to make
     * bookkeeping easier for the caller: releasing the allocation as soon as the terminal stream has
     * been found. But only complete the stream once its data stream has been exhausted.
     */
    interface Connection {
      /** Returns the route used by this connection. */
      fun route(): Route
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. native-image-tests/src/test/kotlin/okhttp3/nativeimage/WithArgumentSourceTest.kt

     * limitations under the License.
     */
    package okhttp3.nativeimage
    
    import assertk.assertThat
    import assertk.assertions.isGreaterThan
    import java.util.stream.Stream
    import org.junit.jupiter.api.extension.ExtensionContext
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.Arguments
    import org.junit.jupiter.params.provider.ArgumentsProvider
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:31:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt

      /** Returns the trailers after the HTTP response if they're ready. May be empty. */
      @Throws(IOException::class)
      fun peekTrailers(): Headers?
    
      /**
       * Cancel this stream. Resources held by this stream will be cleaned up, though not synchronously.
       * That may happen later by the connection pool thread.
       */
      fun cancel()
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

        @Nullable
        Path userHome();
    
        /**
         * Returns the input stream to be used for the Maven execution.
         * If not set, {@link System#in} will be used by default.
         *
         * @return the input stream, or null if not set
         */
        @Nullable
        InputStream stdIn();
    
        /**
         * Returns the output stream to be used for the Maven execution.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Iterables.java

       *
       * <p><b>Java 8+ users:</b> If passing a single element {@code e}, the {@code Stream} equivalent
       * of this method is {@code Stream.generate(() -> e)}. Otherwise, put the elements in a collection
       * and use {@code Stream.generate(() -> collection).flatMap(Collection::stream)}.
       */
      @SafeVarargs
      public static <T extends @Nullable Object> Iterable<T> cycle(T... elements) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

         */
        @Nonnull
        String asString();
    
        /**
         * Obtain a Stream containing this node and all its descendants.
         *
         * @return a stream containing this node and its descendants
         */
        @Nonnull
        default Stream<Node> stream() {
            return Stream.concat(Stream.of(this), getChildren().stream().flatMap(Node::stream));
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Mar 24 14:10:11 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. compat/maven-builder-support/src/main/java/org/apache/maven/building/Source.java

     */
    @Deprecated(since = "4.0.0")
    public interface Source {
    
        /**
         * Gets a byte stream to the source contents. Closing the returned stream is the responsibility of the caller.
         *
         * @return A byte stream to the source contents, never {@code null}.
         * @throws IOException in case of IO issue
         */
        InputStream getInputStream() throws IOException;
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. docs/debugging/inspect/decrypt-v1.go

    	if want != got {
    		return fmt.Errorf("Invalid key checksum, want %x, got %x", want, got)
    	}
    
    	stream, err := sio.AES_256_GCM.Stream(key)
    	if err != nil {
    		return err
    	}
    	// Zero nonce, we only use each key once, and 32 bytes is plenty.
    	nonce := make([]byte, stream.NonceSize())
    	encr := stream.DecryptReader(r, nonce, nil)
    	_, err = io.Copy(w, encr)
    	if err == nil {
    		fmt.Println(okMsg)
    	}
    	return err
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Apr 11 21:22:47 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

                                    }
                                    docMap.put(fessConfig.getQueryCollapseInnerHitsName(), StreamUtil.stream(innerSearchHits.getHits())
                                            .get(stream -> stream.map(v -> parseSearchHit(fessConfig, hlPrefix, v)).toArray(n -> new Map[n])));
                                }
                            }
                        }
                    }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

      }
    
      /** In-memory stream-based implementation of Hasher. */
      private final class BufferingHasher extends AbstractHasher {
        final ExposedByteArrayOutputStream stream;
    
        BufferingHasher(int expectedInputSize) {
          this.stream = new ExposedByteArrayOutputStream(expectedInputSize);
        }
    
        @Override
        public Hasher putByte(byte b) {
          stream.write(b);
          return this;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top