- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 737 for iostream (0.17 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt
return socket.isHealthy(source) } return true } /** Refuse incoming streams. */ @Throws(IOException::class) override fun onStream(stream: Http2Stream) { stream.close(ErrorCode.REFUSED_STREAM, null) } /** When settings are received, adjust the allocation limit. */ override fun onSettings( connection: Http2Connection, settings: Settings,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 15.4K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
sleepNanos(response.headersDelayNanos) stream.writeHeaders(response.toHttp2Headers(), outFinished, flushHeaders) if (trailers.size > 0) { stream.enqueueTrailers(trailers) } pushPromises(stream, request, response.pushPromises) if (body != null) { sleepNanos(bodyDelayNanos) val responseBodySink = stream.getSink().withThrottlingAndSocketPolicy(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 37.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt
fun setUp() { file = File(tempDir, "test") } @AfterEach fun tearDown() { executor.shutdown() } @Test fun singleSource() { val upstream = Buffer() upstream.writeUtf8("abcdefghijklm") val relay = edit(file, upstream, metadata, 1024) val source = relay.newSource() val sourceBuffer = Buffer() assertThat(source!!.read(sourceBuffer, 5)).isEqualTo(5)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 8.1K bytes - Viewed (0) -
internal/grid/grid_test.go
start := time.Now() stream, err := handler.Call(context.Background(), remoteConn, &testRequest{Num: 1, String: testPayload}) errFatal(err) go func() { defer close(stream.Requests) for i := 0; i < payloads; i++ { // t.Log("sending new client request") stream.Requests <- &testRequest{Num: i, String: testPayload} } }() var n int err = stream.Results(func(resp *testResponse) error {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 36.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java
verifyTokenKeep(() -> downloadpage(form.dictId)); return stopwordsService.getStopwordsFile(form.dictId) .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> { file.writeOut(out); })).orElseGet(() -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 16.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ProjectDependencyGraph.java
/** * Gets the upstream projects of the specified project. An upstream project is a project that directly or indirectly * is a prerequisite of the given project. * * @param project The project whose upstream projects should be retrieved, must not be {@code null}. * @param transitive A flag whether to retrieve all direct and indirect upstream projects or just the immediate
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
import java.util.Calendar; import java.util.Date; import jcifs.smb1.Config; import jcifs.smb1.util.Hexdump; import jcifs.smb1.util.LogStream; import jcifs.smb1.util.transport.*; abstract class ServerMessageBlock extends Response implements Request, SmbConstants { static LogStream log = LogStream.getInstance(); static final byte[] header = { (byte)0xFF, (byte)'S', (byte)'M', (byte)'B',
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 21K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
## Version 4.3.0 _2019-12-31_ * Fix: Degrade HTTP/2 connections after a timeout. When an HTTP/2 stream times out it may impact the stream only or the entire connection. With this fix OkHttp will now send HTTP/2 pings after a stream timeout to determine whether the connection should remain eligible for pooling.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 17 13:25:31 UTC 2024 - 25.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java
for (String root : EXPRESSION_ROOTS) { try (InputStream docStream = docLoader.getResourceAsStream(EXPRESSION_DOCO_ROOTPATH + root + ".paramdoc.xml")) { if (docStream != null) { Map<String, Expression> doco = parseExpressionDocumentation(docStream); expressionDocumentation.putAll(doco); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
docker-buildx.sh
#!/bin/bash sudo sysctl net.ipv6.conf.all.disable_ipv6=0 remote=$(git remote get-url upstream) if test "$remote" != "******@****.***:minio/minio.git"; then echo "Script requires that the 'upstream' remote is set to ******@****.***:minio/minio.git" exit 1 fi git remote update upstream && git checkout master && git rebase upstream/master release=$(git describe --abbrev=0 --tags) docker buildx build --push --no-cache \
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Oct 13 14:06:17 UTC 2024 - 1.2K bytes - Viewed (0)