- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for statusFile (0.25 sec)
-
src/runtime/testdata/testprog/syscalls_linux.go
statusFile := fmt.Sprintf("/proc/self/task/%d/status", tid) fd, err := syscall.Open(statusFile, syscall.O_RDONLY, 0) if errno, ok := err.(syscall.Errno); ok { if errno == syscall.ENOENT || errno == syscall.ESRCH { return false, true, nil } } if err != nil { return false, false, err } status, err := io.ReadAll(os.NewFile(uintptr(fd), statusFile)) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:00:09 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/suppliers/DynamicRevisionRemoteResolveWithMetadataSupplierIntegrationTest.groovy
} """ setMetadataSupplierClass('MP') when: def statusFile = temporaryFolder.createFile("versions.status") statusFile << '''group:projectA:1.1;release group:projectA:1.2;release group:projectB:1.1;release group:projectB:2.2;integration ''' server.expectGet("/repo/status.txt", statusFile) repositoryInteractions { 'group:projectA' {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 11:46:17 UTC 2024 - 49K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/StatusLine.kt
val codeStart: Int val protocol: Protocol if (statusLine.startsWith("HTTP/1.")) { if (statusLine.length < 9 || statusLine[8] != ' ') { throw ProtocolException("Unexpected status line: $statusLine") } val httpMinorVersion = statusLine[7] - '0' codeStart = 9 protocol = when (httpMinorVersion) {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 3.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http/StatusLineTest.kt
val code = 503 val statusLine = parse("HTTP/1.$version $code") assertThat(statusLine.message).isEqualTo("") assertThat(statusLine.protocol).isEqualTo(Protocol.HTTP_1_1) assertThat(statusLine.code).isEqualTo(code) } // https://github.com/square/okhttp/issues/386 @Test fun shoutcast() { val statusLine = parse("ICY 200 OK") assertThat(statusLine.message).isEqualTo("OK")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/core-execution/build-cache-http/src/main/java/org/gradle/caching/http/internal/HttpBuildCacheService.java
try (HttpClientResponse response = httpClientHelper.performHttpRequest(httpGet)) { StatusLine statusLine = response.getStatusLine(); if (LOGGER.isDebugEnabled()) { LOGGER.debug("Response for GET {}: {}", safeUri(uri), statusLine); } int statusCode = statusLine.getStatusCode(); if (isHttpSuccess(statusCode)) { reader.readFrom(response.getContent());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 14:13:12 UTC 2024 - 8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt
protocol: Protocol, ): Response.Builder { var statusLine: StatusLine? = null val headersBuilder = Headers.Builder() for (i in 0 until headerBlock.size) { val name = headerBlock.name(i) val value = headerBlock.value(i) if (name == RESPONSE_STATUS_UTF8) { statusLine = StatusLine.parse("HTTP/1.1 $value") } else if (name !in HTTP_2_SKIPPED_RESPONSE_HEADERS) {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 16.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-selectionRule/groovy/build.gradle
repositories { ivy { url layout.projectDirectory.dir("repo") } } // Set up the status scheme so that "experimental" is a valid status for "org.sample" artifacts class StatusRule implements ComponentMetadataRule { @Override void execute(ComponentMetadataContext componentMetadataContext) { def details = componentMetadataContext.details if (details.id.group == "org.sample") {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 09 01:09:32 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-selectionRule/kotlin/build.gradle.kts
repositories { ivy { url = uri(layout.projectDirectory.dir("repo")) } } // Set up the status scheme so that "experimental" is a valid status for "org.sample" artifacts class StatusRule : ComponentMetadataRule { override fun execute(componentMetadataContext: ComponentMetadataContext) { val details = componentMetadataContext.details if (details.id.group == "org.sample") {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 09 01:09:32 UTC 2024 - 4.2K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt
import okhttp3.MediaType import okhttp3.MediaType.Companion.toMediaTypeOrNull import okhttp3.Request import okhttp3.RequestBody.Companion.toRequestBody import okhttp3.curl.Main import okhttp3.internal.http.StatusLine import okio.sink internal fun Main.commonCreateRequest(): Request { val request = Request.Builder() val requestMethod = method ?: if (data != null) "POST" else "GET"
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0)