Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for Parts (0.02 sec)

  1. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

          fun addPart(part: Part) =
            apply {
              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 {
        /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/net/InternetDomainName.java

       */
      private InternetDomainName(String name, ImmutableList<String> parts) {
        checkArgument(!parts.isEmpty(), "Cannot create an InternetDomainName with zero parts.");
        this.name = name;
        this.parts = parts;
      }
    
      /**
       * The index in the {@link #parts()} list at which the public suffix begins. For example, for the
       * domain name {@code myblog.blogspot.co.uk}, the value would be 1 (the index of the {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  3. docs/site-replication/run-replication-with-checksum-header.sh

    	PART_ETAG=$(echo "${UPLOAD_PART_OUT}" | jq '.ETag')
    	if [ "${idx}" == 10 ]; then
    		PARTS="${PARTS}{\"ETag\": ${PART_ETAG}, \"ChecksumSHA256\": \"${PART_CHKSUM}\", \"PartNumber\": ${idx}}"
    	else
    		PARTS="${PARTS}{\"ETag\": ${PART_ETAG}, \"ChecksumSHA256\": \"${PART_CHKSUM}\", \"PartNumber\": ${idx}},"
    	fi
    done
    
    echo "{\"Parts\":[${PARTS}]}" >fileparts.json
    jq <fileparts.json
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 08:02:16 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

          )
    
        assertThat(parts.nextPart()).isNotNull()
        assertThat(parts.nextPart()).isNull()
        assertThat(parts.nextPart()).isNull()
      }
    
      @Test fun `empty source`() {
        val parts =
          MultipartReader(
            boundary = "simple boundary",
            source = Buffer(),
          )
    
        assertFailsWith<EOFException> {
          parts.nextPart()
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. cmd/erasure-multipart.go

    			partsMetadata[index].Parts = fi.Parts
    			partsMetadata[index].Checksum = fi.Checksum
    			partsMetadata[index].Versioned = opts.Versioned || opts.VersionSuspended
    		}
    	}
    
    	paths := make([]string, 0, len(currentFI.Parts))
    	// Remove parts that weren't present in CompleteMultipartUpload request.
    	for _, curpart := range currentFI.Parts {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  6. cmd/erasure-metadata.go

    	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.
    	sort.Slice(fi.Parts, func(i, j int) bool { return fi.Parts[i].Number < fi.Parts[j].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)
  7. cmd/xl-storage-format_test.go

    	}
    	if len(unMarshalXLMeta.Parts) != len(jsoniterXLMeta.Parts) {
    		t.Errorf("Expected info of  %d parts to be present, but got %d instead.", len(unMarshalXLMeta.Parts), len(jsoniterXLMeta.Parts))
    	} else {
    		for i := 0; i < len(unMarshalXLMeta.Parts); i++ {
    			if unMarshalXLMeta.Parts[i].Number != jsoniterXLMeta.Parts[i].Number {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InternetDomainName.java

       */
      private InternetDomainName(String name, ImmutableList<String> parts) {
        checkArgument(!parts.isEmpty(), "Cannot create an InternetDomainName with zero parts.");
        this.name = name;
        this.parts = parts;
      }
    
      /**
       * The index in the {@link #parts()} list at which the public suffix begins. For example, for the
       * domain name {@code myblog.blogspot.co.uk}, the value would be 1 (the index of the {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  9. cmd/erasure-healing-common.go

    	dataErrsByDisk = make(map[int][]int, len(onlineDisks))
    	for i := range onlineDisks {
    		dataErrsByDisk[i] = make([]int, len(latestMeta.Parts))
    	}
    
    	dataErrsByPart = make(map[int][]int, len(latestMeta.Parts))
    	for i := range latestMeta.Parts {
    		dataErrsByPart[i] = make([]int, len(onlineDisks))
    	}
    
    	inconsistent := 0
    	for i, meta := range partsMetadata {
    		if !meta.IsValid() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. cmd/encryption-v1.go

    // a io.Reader compatible interface.
    type DecryptBlocksReader struct {
    	// Source of the encrypted content that will be decrypted
    	reader io.Reader
    	// Current decrypter for the current encrypted data block
    	decrypter io.Reader
    	// Start sequence number
    	startSeqNum uint32
    	// Current part index
    	partIndex int
    	// Parts information
    	parts []ObjectPartInfo
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
Back to top