- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 779 for asStream (0.13 sec)
-
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
peer.acceptFrame() // HEADERS STREAM 3 peer.acceptFrame() // DATA STREAM 3 "abcde" peer.acceptFrame() // HEADERS STREAM 3 peer.play() // Play it back. val connection = connect(peer) val stream = connection.newStream(headerEntries("a", "android"), true) stream.enqueueTrailers(headersOf("foo", "bar")) val sink = stream.getSink().buffer() sink.writeUtf8("abcdefghi")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 75.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ActivityHelper.java
*/ package org.codelibs.fess.helper; import static org.codelibs.core.stream.StreamUtil.stream; import java.time.ZonedDateTime; import java.time.format.DateTimeFormatter; import java.util.Comparator; import java.util.LinkedHashMap; import java.util.Locale; import java.util.Map; import java.util.stream.Collectors; import org.apache.commons.text.StringEscapeUtils;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java
final Set<String> permissionSet = new HashSet<>(); permissionSet.add(systemHelper.getSearchRoleByUser(name)); stream(groups).of(stream -> stream.forEach(s -> permissionSet.add(systemHelper.getSearchRoleByGroup(s)))); stream(roles).of(stream -> stream.forEach(s -> permissionSet.add(systemHelper.getSearchRoleByRole(s)))); permissions = permissionSet.toArray(new String[permissionSet.size()]);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 4.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt
if (canceled) { stream!!.closeLater(ErrorCode.CANCEL) throw IOException("Canceled") } stream!!.readTimeout().timeout(chain.readTimeoutMillis.toLong(), TimeUnit.MILLISECONDS) stream!!.writeTimeout().timeout(chain.writeTimeoutMillis.toLong(), TimeUnit.MILLISECONDS) } override fun flushRequest() { http2Connection.flush() } override fun finishRequest() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.9K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
if (file.isDirectory) { serveDirectory(stream, file.listFiles()!!) } else if (file.exists()) { serveFile(stream, file) } else { send404(stream, path) } } catch (e: IOException) { Platform.get().log("Failure serving Http2Stream: " + e.message, Platform.INFO, null) } } private fun send404( stream: Http2Stream, path: String, ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.1K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/StreamsBenchmark.java
@Override Object operate(Stream<?> stream) { return Streams.findLast(stream); } }, REDUCE_LAST { @Override Object operate(Stream<?> stream) { return stream.reduce((a, b) -> b); } }, REDUCE_LAST_PARALLEL { @Override Object operate(Stream<?> stream) { return stream.parallel().reduce((a, b) -> b); } };
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 2.8K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteSink.java
* required to be a {@link BufferedOutputStream} in order to allow implementations to simply * delegate to {@link #openStream()} when the stream returned by that method does not benefit from * additional buffering (for example, a {@code ByteArrayOutputStream}). This method returns a new, * independent stream each time it is called. * * <p>The caller is responsible for ensuring that the returned stream is closed. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 28 16:55:09 UTC 2024 - 5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.app.web.admin.labeltype; import static org.codelibs.core.stream.StreamUtil.split; import static org.codelibs.core.stream.StreamUtil.stream; import java.util.stream.Collectors; import java.util.stream.Stream; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.core.lang.StringUtil;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 15.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/LifecycleRegistry.java
package org.apache.maven.api.services; import java.util.List; import java.util.stream.Stream; import java.util.stream.StreamSupport; import org.apache.maven.api.Lifecycle; public interface LifecycleRegistry extends ExtensibleEnumRegistry<Lifecycle>, Iterable<Lifecycle> { default Stream<Lifecycle> stream() { return StreamSupport.stream(spliterator(), false); } List<String> computePhases(Lifecycle lifecycle);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Aug 29 05:48:54 UTC 2024 - 1.2K bytes - Viewed (0) -
android/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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 42.8K bytes - Viewed (0)