- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 87 for delimiter (0.16 sec)
-
okhttp/src/main/kotlin/okhttp3/MultipartReader.kt
@get:JvmName("boundary") val boundary: String, ) : Closeable { /** This delimiter typically precedes the first part. */ private val dashDashBoundary = Buffer() .writeUtf8("--") .writeUtf8(boundary) .readByteString() /** * This delimiter typically precedes all subsequent parts. It may also precede the first part * if the body contains a preamble.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.1K bytes - Viewed (0) -
src/bufio/bufio.go
return fullBuffers, frag, totalLen, err } // ReadBytes reads until the first occurrence of delim in the input, // returning a slice containing the data up to and including the delimiter. // If ReadBytes encounters an error before finding a delimiter, // it returns the data read before the error and the error itself (often io.EOF). // ReadBytes returns err != nil if and only if the returned data does not end in // delim.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Oct 12 14:39:08 GMT 2023 - 21.8K bytes - Viewed (0) -
cmd/s3-zip-handlers.go
continue } if strings.HasPrefix(objName, prefix) { if count == maxKeys { isTruncated = true break } if delimiter != "" { i := strings.Index(objName[len(prefix):], delimiter) if i >= 0 { commonPrefix := objName[:len(prefix)+i+1] if len(listObjectsInfo.Prefixes) == 0 || commonPrefix != listObjectsInfo.Prefixes[len(listObjectsInfo.Prefixes)-1] {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 09 10:41:25 GMT 2024 - 15.8K bytes - Viewed (0) -
cmd/object-api-input-checks.go
Bucket: bucket, Object: prefix, } } return nil } // Checks for all ListMultipartUploads arguments validity. func checkListMultipartArgs(ctx context.Context, bucket, prefix, keyMarker, uploadIDMarker, delimiter string) error { if err := checkListObjsArgs(ctx, bucket, prefix, keyMarker); err != nil { return err } if uploadIDMarker != "" { if HasSuffix(keyMarker, SlashSeparator) { return InvalidUploadIDKeyCombination{
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 5.7K bytes - Viewed (0) -
src/bytes/buffer.go
b.off-- } return nil } // ReadBytes reads until the first occurrence of delim in the input, // returning a slice containing the data up to and including the delimiter. // If ReadBytes encounters an error before finding a delimiter, // it returns the data read before the error and the error itself (often io.EOF). // ReadBytes returns err != nil if and only if the returned data does not end in // delim.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 17:10:31 GMT 2023 - 15.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt
} } /** * Consumes and returns a non-empty token, terminating at special characters in * [TOKEN_DELIMITERS]. Returns null if the buffer is empty or prefixed with a delimiter. */ private fun Buffer.readToken(): String? { var tokenSize = indexOfElement(TOKEN_DELIMITERS) if (tokenSize == -1L) tokenSize = size return when { tokenSize != 0L -> readUtf8(tokenSize) else -> null }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MultipartReaderTest.kt
assertThat(part.headers).isEqualTo(headersOf()) assertThat(part.body.readUtf8()).isEqualTo("abcd") assertThat(parts.nextPart()).isNull() } @Test fun `skip whitespace after close delimiter`() { val multipart = """ |--simple boundary | |abcd |--simple boundary-- """.trimMargin()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 13.8K bytes - Viewed (0) -
internal/config/config_test.go
expectedFields: map[string]struct{}{ `connection_string="host=localhost port=2832"`: {}, `comment="really long comment"`: {}, }, }, // Incorrect delimiter, expected fields should be empty. { input: `comment:"really long comment" connection_string:"host=localhost port=2832"`, keys: []string{"connection_string", "comment"},
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Aug 18 22:55:17 GMT 2022 - 4.2K bytes - Viewed (0) -
docs/iam/access-management-plugin.md
], "CurrentTime": [ "2022-05-07T18:31:41Z" ], "Delimiter": [ "/" ], "EpochTime": [ "1651948301" ], "Prefix": [ "" ], "Referer": [ "" ], "SecureTransport": [
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Dec 13 22:28:48 GMT 2022 - 4.4K bytes - Viewed (0) -
cmd/warm-backend-gcs.go
return gcsToObjectError(err, gcs.Bucket, key) } func (gcs *warmBackendGCS) InUse(ctx context.Context) (bool, error) { it := gcs.client.Bucket(gcs.Bucket).Objects(ctx, &storage.Query{ Delimiter: "/", Prefix: gcs.Prefix, Versions: false, }) pager := iterator.NewPager(it, 1, "") gcsObjects := make([]*storage.ObjectAttrs, 0) _, err := pager.NextPage(&gcsObjects) if err != nil {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 21 11:43:18 GMT 2024 - 5.9K bytes - Viewed (0)