- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 751 for asStream (0.05 sec)
-
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt
server.enqueue( MockResponse .Builder() .body( """ |data: hey | | """.trimMargin(), ).setHeader("content-type", "text/event-stream") .build(), ) val request = Request.Builder().url(server.url("/")).build() val response = client.newCall(request).execute() response.processEventSource(listener) listener.assertOpen()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 13:49:38 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/http/Handler.java
private final CIFSContext transportContext; /** * Sets the URL stream handler factory for the environment. This * allows specification of the factory used in creating underlying * stream handlers. This can be called once per JVM instance. * * @param factory * The URL stream handler factory. */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/PropertiesUtil.java
} /** * Wraps exception handling for {@link Properties#load(InputStream)}. * <p> * The input stream is not closed. * </p> * * @param props the property set (must not be {@literal null}) * @param in the input stream (must not be {@literal null}) */ public static void load(final Properties props, final InputStream in) {Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 7.9K 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) -
android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java
@J2ktIncompatible @GwtIncompatible public final class LittleEndianDataOutputStream extends FilterOutputStream implements DataOutput { /** * Creates a {@code LittleEndianDataOutputStream} that wraps the given stream. * * @param out the stream to delegate to */ public LittleEndianDataOutputStream(OutputStream out) { super(new DataOutputStream(Preconditions.checkNotNull(out))); } @OverrideRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 5.1K 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(nRegistered: 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/org/codelibs/fess/helper/WebFsIndexHelper.java
} } final DuplicateHostHelper duplicateHostHelper = ComponentUtil.getDuplicateHostHelper(); // set urls split(urlsStr, "[\r\n]").of(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).distinct().forEach(urlValue -> { if (!urlValue.startsWith("#") && protocolHelper.isValidWebProtocol(urlValue)) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 24.9K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
this.body = body; return this; } /** * Sets the input stream for the request body. * * @param stream the input stream * @return this CurlRequest instance * @throws CurlException if the body method is already called */ public CurlRequest body(final InputStream stream) { if (body != null) { throw new CurlException("body method is already called.");Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 17.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/QueryContext.java
/** * Adds sort builders to the query context. * @param sortBuilders Variable number of sort builders to add. */ public void addSorts(final SortBuilder<?>... sortBuilders) { stream(sortBuilders).of(stream -> stream.forEach(sortBuilder -> sortBuilderList.add(sortBuilder))); } /** * Checks if any sort builders have been added to this context.Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java
// or throw an exception. Test the actual behavior. queryFieldConfig.highlightedFields(stream -> { // If it doesn't throw NPE, it should provide an empty stream assertEquals(0, stream.count()); }); } public void test_init_withInvalidDefaultFields() { // Test with invalid default field formatsRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 33.2K bytes - Viewed (0)