Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 186 for Parts (0.09 sec)

  1. internal/hash/checksum.go

    		if c.Type.RawByteLen() == 0 || len(parts)%c.Type.RawByteLen() != 0 {
    			hashLogIf(context.Background(), fmt.Errorf("internal error: Unexpected checksum length: %d, each checksum %d", len(parts), c.Type.RawByteLen()))
    			checksums = 0
    			parts = nil
    		} else if len(parts) > 0 {
    			checksums = len(parts) / c.Type.RawByteLen()
    		}
    		if !c.Type.Is(ChecksumIncludesMultipart) {
    			parts = nil
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/MultipartBodyTest.kt

        assertThat(body.boundary).isEqualTo("123")
        assertThat(body.type).isEqualTo(MultipartBody.MIXED)
        assertThat(body.contentType().toString())
          .isEqualTo("multipart/mixed; boundary=123")
        assertThat(body.parts.size).isEqualTo(1)
        assertThat(body.contentLength()).isEqualTo(33L)
        val buffer = Buffer()
        body.writeTo(buffer)
        assertThat(body.contentLength()).isEqualTo(buffer.size)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. internal/s3select/sql/stringfuncs.go

    	if !leadingPercent {
    		res = strings.TrimPrefix(text, pat)
    		if len(text) == len(res) {
    			return "", false
    		}
    	} else {
    		parts := strings.SplitN(text, pat, 2)
    		if len(parts) == 1 {
    			return "", false
    		}
    		res = parts[1]
    	}
    	return res, true
    }
    
    func dropRune(text string) (res string, ok bool) {
    	r := []rune(text)
    	if len(r) == 0 {
    		return "", false
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  4. cmd/erasure-metadata_test.go

    	// Setup.
    	fi := newFileInfo("test-object", 8, 8)
    	fi.Erasure.Index = 1
    	if !fi.IsValid() {
    		t.Fatalf("unable to get xl meta")
    	}
    
    	// Add some parts for testing.
    	// Total size of all parts is 5,242,899 bytes.
    	for _, partNum := range []int{1, 2, 4, 5, 7} {
    		partNumString := strconv.Itoa(partNum)
    		fi.AddObjectPart(partNum, "etag."+partNumString, int64(partNum+humanize.MiByte), ActualSize, UTCNow(), nil, nil)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:02:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

                    Enumeration<?> parts = nameSequence.getObjects();
                    while ( parts.hasMoreElements() ) {
                        Object part = parts.nextElement();
                        DERGeneralString stringPart = ASN1Util.as(DERGeneralString.class, part);
                        nameBuilder.append(stringPart.getString());
                        if ( parts.hasMoreElements() )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  6. docs/minio-limits.md

    | Maximum number of parts per upload                                              | 10,000                                                                          |
    | Part size range                                                                 | 5 MiB to 5 TiB. Last part can be 0 B to 5 TiB                                   |
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. cmd/erasure-healing.go

    		for partIndex := 0; partIndex < len(latestMeta.Parts); partIndex++ {
    			partSize := latestMeta.Parts[partIndex].Size
    			partActualSize := latestMeta.Parts[partIndex].ActualSize
    			partModTime := latestMeta.Parts[partIndex].ModTime
    			partNumber := latestMeta.Parts[partIndex].Number
    			partIdx := latestMeta.Parts[partIndex].Index
    			partChecksums := latestMeta.Parts[partIndex].Checksums
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  8. istioctl/pkg/metrics/metrics.go

    	}
    	return promv1.NewAPI(promClient), nil
    }
    
    func metrics(promAPI promv1.API, workload string, duration time.Duration) (workloadMetrics, error) {
    	parts := strings.Split(workload, ".")
    	wname := parts[0]
    	wns := ""
    	if len(parts) > 1 {
    		wns = parts[1]
    	}
    
    	rpsQuery := fmt.Sprintf(`sum(rate(%s{%s=~"%s.*", %s=~"%s.*",reporter="destination"}[%s]))`,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v1_gen.go

    			}
    		case "Parts":
    			var zb0004 uint32
    			zb0004, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Parts")
    				return
    			}
    			if cap(z.Parts) >= int(zb0004) {
    				z.Parts = (z.Parts)[:zb0004]
    			} else {
    				z.Parts = make([]ObjectPartInfo, zb0004)
    			}
    			for za0003 := range z.Parts {
    				err = z.Parts[za0003].DecodeMsg(dc)
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  10. cmd/object-api-utils.go

    	return partFile
    }
    
    func partNumberToRangeSpec(oi ObjectInfo, partNumber int) *HTTPRangeSpec {
    	if oi.Size == 0 || len(oi.Parts) == 0 {
    		return nil
    	}
    
    	var start int64
    	end := int64(-1)
    	for i := 0; i < len(oi.Parts) && i < partNumber; i++ {
    		start = end + 1
    		end = start + oi.Parts[i].ActualSize - 1
    	}
    
    	return &HTTPRangeSpec{Start: start, End: end}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
Back to top