- Sort Score
- Result 10 results
- Languages All
Results 21 - 25 of 25 for nextFast (0.19 sec)
-
docs/changelogs/changelog_4x.md
```kotlin val response: Response = call.execute() val multipartReader = MultipartReader(response.body!!) multipartReader.use { while (true) { val part = multipartReader.nextPart() ?: break process(part.headers, part.body) } } ``` * New: `MediaType.parameter()` gets a parameter like `boundary` from a media type like `multipart/mixed; boundary="abc"`.
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 17 13:25:31 UTC 2024 - 25.2K bytes - Viewed (0) -
src/net/http/fs_test.go
t.Errorf("range=%q Content-Length = %d; want %d", rt.r, g, w) continue } mr := multipart.NewReader(bytes.NewReader(body), params["boundary"]) for ri, rng := range rt.ranges { part, err := mr.NextPart() if err != nil { t.Errorf("range=%q, reading part index %d: %v", rt.r, ri, err) continue Cases } wantContentRange = fmt.Sprintf("bytes %d-%d/%d", rng.start, rng.end-1, testFileLen)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 23:39:44 UTC 2024 - 49.9K bytes - Viewed (0) -
cmd/bucket-handlers.go
maxMemoryBytes := 2 * int64(10<<20) maxMemoryBytes -= int64(len(name)) maxMemoryBytes -= mapEntryOverhead if maxMemoryBytes < 0 { // We can't actually take this path, since nextPart would already have // rejected the MIME headers for being too large. Check anyway. apiErr := errorCodes.ToAPIErr(ErrMalformedPOSTRequest)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 14 13:28:35 UTC 2024 - 61.2K bytes - Viewed (0) -
okhttp/api/okhttp.api
public fun <init> (Lokhttp3/ResponseBody;)V public fun <init> (Lokio/BufferedSource;Ljava/lang/String;)V public final fun boundary ()Ljava/lang/String; public fun close ()V public final fun nextPart ()Lokhttp3/MultipartReader$Part; } public final class okhttp3/MultipartReader$Part : java/io/Closeable { public fun <init> (Lokhttp3/Headers;Lokio/BufferedSource;)V public final fun body ()Lokio/BufferedSource;
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 70.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"(*Form).RemoveAll", Method, 0}, {"(*Part).Close", Method, 0}, {"(*Part).FileName", Method, 0}, {"(*Part).FormName", Method, 0}, {"(*Part).Read", Method, 0}, {"(*Reader).NextPart", Method, 0}, {"(*Reader).NextRawPart", Method, 14}, {"(*Reader).ReadForm", Method, 0}, {"(*Writer).Boundary", Method, 0}, {"(*Writer).Close", Method, 0}, {"(*Writer).CreateFormField", Method, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)