- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 151 for sendFile (0.46 sec)
-
src/net/sendfile_windows.go
"io" "os" "syscall" ) const supportsSendfile = true // sendFile copies the contents of r to c using the TransmitFile // system call to minimize copies. // // if handled == true, sendFile returns the number of bytes copied and any // non-EOF error. // // if handled == false, sendFile performed no work. func sendFile(fd *netFD, r io.Reader) (written int64, err error, handled bool) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 1.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiRemoteIntegrationTest.groovy
def "downloads distribution with valid user-agent information"() { given: server.expect(server.get("/custom-dist.zip").expectUserAgent(matchesNameAndVersion("Gradle Tooling API", GradleVersion.current().getVersion())).sendFile(distribution.binDistribution)) and: toolingApi.withConnector { it.useDistribution(URI.create("http://localhost:${server.port}/custom-dist.zip")) } when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 10.9K bytes - Viewed (0) -
platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperHttpIntegrationTest.groovy
given: server.expect(server.head("/$TEST_DISTRIBUTION_URL")) prepareWrapper(getDefaultBaseUrl()) server.expect(server.get("/$TEST_DISTRIBUTION_URL").sendFile(distribution.binDistribution)) when: def result = wrapperExecuter.withTasks('hello').run() then: assertThat(result.output, containsString('hello')) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:54:32 UTC 2024 - 10.7K bytes - Viewed (0) -
platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperHttpsIntegrationTest.groovy
prepareWrapper(getAuthenticatedBaseUrl()) server.expect(server.get("/$TEST_DISTRIBUTION_URL") .expectUserAgent(matchesNameAndVersion("gradlew", Download.UNKNOWN_VERSION)) .sendFile(distribution.binDistribution)) when: result = wrapperExecuter.withTasks('hello').run() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:54:32 UTC 2024 - 7.4K bytes - Viewed (0) -
src/internal/poll/sendfile_windows.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package poll import ( "io" "syscall" ) // SendFile wraps the TransmitFile call. func SendFile(fd *FD, src syscall.Handle, n int64) (written int64, err error) { defer func() { TestHookDidSendFile(fd, 0, written, err, written > 0) }() if fd.kind == kindPipe {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 2.2K bytes - Viewed (0) -
src/syscall/syscall_darwin_amd64.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 27 21:34:30 UTC 2023 - 1.9K bytes - Viewed (0) -
src/syscall/syscall_darwin_arm64.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 27 21:34:30 UTC 2023 - 1.8K bytes - Viewed (0) -
src/net/sendfile_stub.go
// license that can be found in the LICENSE file. //go:build !(linux || (darwin && !ios) || dragonfly || freebsd || solaris || windows) package net import "io" const supportsSendfile = false func sendFile(c *netFD, r io.Reader) (n int64, err error, handled bool) { return 0, nil, false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 403 bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/artifactreuse/ArtifactResolutionQueryIntegrationTest.groovy
def handler = blockingServer.expectConcurrentAndBlock(blockingServer.get(module.pom.path).sendFile(module.pom.file), blockingServer.get('/sync')) blockingServer.expect(blockingServer.get(module.artifact.path).sendFile(module.artifact.file)) createDirs("query", "resolve") settingsFile << 'include "query", "resolve"' buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 00:21:07 UTC 2024 - 5.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 1.2K bytes - Viewed (0)