Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 495 for partID (0.11 sec)

  1. cmd/encryption-v1.go

    	partDecRelOffset, partEncRelOffset int64
    }
    
    func (d *DecryptBlocksReader) buildDecrypter(partID int) error {
    	var partIDbin [4]byte
    	binary.LittleEndian.PutUint32(partIDbin[:], uint32(partID)) // marshal part ID
    
    	mac := hmac.New(sha256.New, d.objectEncryptionKey) // derive part encryption key from part ID and object key
    	mac.Write(partIDbin[:])
    	partEncryptionKey := mac.Sum(nil)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    		// Upload each part
    		var cp []CompletePart
    		cumulativeSum := int64(0)
    		for i, partLen := range partSizes {
    			partID := i + 1
    			partSrc := NewDummyDataGen(partLen, cumulativeSum)
    			cumulativeSum += partLen
    			req, errP := newTestSignedRequestV4(http.MethodPut,
    				getPutObjectPartURL("", bucketName, objectName, upID, fmt.Sprintf("%d", partID)),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    	for _, part := range parts {
    		_, err = obj.PutObjectPart(context.Background(), part.bucketName, part.objName, part.uploadID, part.PartID,
    			mustGetPutObjReader(t, strings.NewReader(part.inputReaderData), part.inputDataSize, part.inputMd5, ""), opts)
    		if err != nil {
    			t.Fatalf("%s : %s", instanceType, err)
    		}
    	}
    	// Parts to be sent as input for CompleteMultipartUpload.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/Fingerprint2011.java

        long part1 = load64(bytes, offset);
        long part2 = load64(bytes, offset + 8);
        long part3 = load64(bytes, offset + 16);
        long part4 = load64(bytes, offset + 24);
    
        seedA += part1;
        seedB = rotateRight(seedB + seedA + part4, 51);
        long c = seedA;
        seedA += part2;
        seedA += part3;
        seedB += rotateRight(seedA, 23);
        output[0] = seedA + part4;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Dec 28 17:50:25 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  5. cmd/erasure-object_test.go

    		storageClassCfg     storageclass.Config
    		expectedError       error
    	}{
    		{parts1, errs1, 12, 12, parts1SC, nil},
    		{parts2, errs2, 14, 14, parts2SC, nil},
    		{parts3, errs3, 12, 12, parts3SC, nil},
    		{parts4, errs4, 10, 10, parts4SC, nil},
    		{parts5, errs5, 14, 14, parts5SC, nil},
    		{parts6, errs6, 12, 12, parts6SC, nil},
    		{parts7, errs7, 11, 11, parts7SC, nil},
    	}
    	for _, tt := range tests {
    		tt := tt
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

            int index = version.indexOf('-');
    
            String part1;
            String part2 = null;
    
            if (index < 0) {
                part1 = version;
            } else {
                part1 = version.substring(0, index);
                part2 = version.substring(index + 1);
            }
    
            if (part2 != null) {
                if (part2.length() == 1 || !part2.startsWith("0")) {
                    buildNumber = tryParseInt(part2);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. docs/fr/docs/advanced/additional-responses.md

    ```
    
    /// note | "Remarque"
    
    Gardez à l'esprit que vous devez renvoyer directement `JSONResponse`.
    
    ///
    
    /// info
    
    La clé `model` ne fait pas partie d'OpenAPI.
    
    **FastAPI** prendra le modèle Pydantic à partir de là, générera le `JSON Schema` et le placera au bon endroit.
    
    Le bon endroit est :
    
    * Dans la clé `content`, qui a pour valeur un autre objet JSON (`dict`) qui contient :
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/body-multiple-params.md

    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="19-21"
    {!> ../../docs_src/body_multiple_params/tutorial001.py!}
    ```
    
    ////
    
    /// note | "Nota"
    
    Repare que, neste caso, o `item` que seria capturado a partir do corpo é opcional. Visto que ele possui `None` como valor padrão.
    
    ///
    
    ## Múltiplos parâmetros de corpo
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. .teamcity/src/test/kotlin/BuildScanTagUtilsTest.kt

        )
    
        @Test
        fun `test stage tags`() {
            assertEquals(
                "-DbuildScan.PartOf=QuickFeedbackLinuxOnly,QuickFeedback,PullRequestFeedback,ReadyforNightly,ReadyforRelease",
                model.stages[0].getBuildScanCustomValueParam()
            )
            assertEquals(
                "-DbuildScan.PartOf=QuickFeedback,PullRequestFeedback,ReadyforNightly,ReadyforRelease",
                model.stages[1].getBuildScanCustomValueParam()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 07:24:00 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. internal/hash/checksum.go

    			b = b[n:]
    			if part > 0 {
    				cs = ""
    			}
    			if typ.Is(ChecksumIncludesMultipart) {
    				wantLen := int(t) * length
    				if len(b) < wantLen {
    					break
    				}
    				// Read part checksum
    				if part > 0 && uint64(part) <= t {
    					offset := (part - 1) * length
    					partCs := b[offset:]
    					cs = base64.StdEncoding.EncodeToString(partCs[:length])
    				}
    				b = b[wantLen:]
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top