- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 616 for asStream (3 sec)
-
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) -
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) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.util.Arrays; import java.util.stream.Stream; import org.bouncycastle.asn1.ASN1EncodableVector; import org.bouncycastle.asn1.ASN1Encoding; import org.bouncycastle.asn1.ASN1InputStream; import org.bouncycastle.asn1.ASN1ObjectIdentifier;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
} /** * Tests that the getter for the input stream returns the correct stream. * @throws CIFSException if an error occurs while getting the stream. */ @Test public void testGetInputStream() throws CIFSException { assertEquals(mockInputStream, smbPipeHandle.getInput(), "getInput() should return the correct input stream."); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Comparators.java
* * <p>For example: * * {@snippet : * Stream.of("foo", "quux", "banana", "elephant") * .collect(least(2, comparingInt(String::length))) * // returns {"foo", "quux"} * } * * <p>This {@code Collector} uses O(k) memory and takes expected time O(n) (worst-case O(n log * k)), as opposed to e.g. {@code Stream.sorted(comparator).limit(k)}, which currently takes O(n
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleInternal.java
/** * Gets the input stream for reading from this pipe. * * @return this pipe's input stream * @throws CIFSException if an error occurs getting the input stream */ @Override SmbPipeInputStream getInput() throws CIFSException; /** * * @return this pipe's output stream * @throws CIFSException if an error occurs */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import java.util.stream.Stream; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java
package jcifs.smb1.smb1; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.util.stream.Stream; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.CsvSource;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java
* holdsLock assertions. * * - For stream() and spliterator(), we have to forward to the delegate ourselves because * ForwardingSet does not forward `default` methods, as discussed in its Javadoc. */ @Override public Stream<E> stream() { return delegate.stream(); } @Override public Spliterator<E> spliterator() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeInputStream.java
import jcifs.internal.smb2.ioctl.Smb2IoctlRequest; import jcifs.internal.smb2.ioctl.Smb2IoctlResponse; import jcifs.internal.smb2.ioctl.SrvPipePeekResponse; /** * Input stream for reading from SMB named pipes. * * This class provides a stream-based interface for reading * data from SMB named pipes over the network. * * @author mbechler */ public class SmbPipeInputStream extends SmbFileInputStream {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0)