- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 511 for part (0.03 sec)
-
okhttp/src/test/java/okhttp3/MultipartReaderTest.kt
.replace("\n", "\r\n") val parts = MultipartReader( boundary = "simple boundary", source = Buffer().writeUtf8(multipart), ) val part = parts.nextPart()!! assertThat(part.body.readUtf8()).isEqualTo("abcd\r\n--simple boundar\r\n\r\nefgh") assertThat(parts.nextPart()).isNull() } @Test fun `do not need to read entire part`() { val multipart = """
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/MultipartBody.kt
parts += part } /** Assemble the specified parts into a request body. */ fun build(): MultipartBody { check(parts.isNotEmpty()) { "Multipart body must have at least one part." } return MultipartBody(boundary, type, parts.toImmutableList()) } } companion object { /** * The "mixed" subtype of "multipart" is intended for use when the body parts are independent
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.9K bytes - Viewed (0) -
cmd/erasure-multipart.go
} } // Add the current part. fi.AddObjectPart(part.Number, part.ETag, part.Size, part.ActualSize, part.ModTime, part.Index, part.Checksums) } // Calculate full object size. var objectSize int64 // Calculate consolidated actual size. var objectActualSize int64 // Order online disks in accordance with distribution order.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 44.7K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
*/ private static boolean validateSyntax(List<String> parts) { int lastIndex = parts.size() - 1; // Validate the last part specially, as it has different syntax rules. if (!validatePart(parts.get(lastIndex), true)) { return false; } for (int i = 0; i < lastIndex; i++) { String part = parts.get(i); if (!validatePart(part, false)) { return false; } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 05 20:47:23 UTC 2024 - 28K bytes - Viewed (0) -
internal/hash/checksum.go
} // Skip main checksum b = b[length:] parts, n := binary.Uvarint(b) if n <= 0 { break } if !typ.Is(ChecksumIncludesMultipart) { continue } if len(res) == 0 { res = make([]map[string]string, parts) } b = b[n:] for part := 0; part < int(parts); part++ { if len(b) < length { break } // Read part checksum
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 19 12:59:07 UTC 2024 - 12.7K bytes - Viewed (0) -
internal/etag/etag.go
// // e1 := MD5(part-1) // e2 := MD5(part-2) // ... // eN := MD5(part-N) // // Then, the ETag of the object is computed as MD5 of all individual // part checksums. S3 also encodes the number of parts into the ETag // by appending a -<number-of-parts> at the end: // // ETag := MD5(e1 || e2 || e3 ... || eN) || -N // // For example: ceb8853ddc5086cc4ab9e149f8f09c88-5 //
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Mar 10 21:09:36 UTC 2024 - 13.3K bytes - Viewed (0) -
cmd/erasure-metadata.go
Checksums: checksums, } // Update part info if it already exists. for i, part := range fi.Parts { if partNumber == part.Number { fi.Parts[i] = partInfo return } } // Proceed to include new part info. fi.Parts = append(fi.Parts, partInfo) // Parts in FileInfo should be in sorted order by part number.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 21.3K bytes - Viewed (0) -
cmd/object-api-datatypes.go
} // PartInfo - represents individual part metadata. type PartInfo struct { // Part number that identifies the part. This is a positive integer between // 1 and 10,000. PartNumber int // Date and time at which the part was uploaded. LastModified time.Time // Entity tag returned when the part was initially uploaded. ETag string // Size in bytes of the part. Size int64
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 20.9K bytes - Viewed (0) -
docs/security/README.md
ciphertext := sealed_chunk_0 || sealed_chunk_1 || sealed_chunk_2 || ... ``` In case of a S3 multi-part operation each part is en/decrypted with the scheme shown in Figure 1. However, for each part an unique secret key is derived from the OEK and the part number using a PRF. So in case of multi-part not the OEK but the output of `PRF(OEK, part_id)` is used as secret key. #### Cryptographic Primitives
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Feb 12 00:51:25 UTC 2022 - 13.8K bytes - Viewed (0) -
cmd/utils_test.go
} } } // Tests maximum allowed part number. func TestMaxPartID(t *testing.T) { sizes := []struct { isMax bool partN int }{ // Test - 1 part number within max part number. { false, globalMaxPartID - 1, }, // Test - 2 part number bigger than max part number. { true, globalMaxPartID + 1, }, }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Feb 23 21:28:14 UTC 2024 - 10.2K bytes - Viewed (0)