Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for snippet (0.14 sec)

  1. cmd/signature-v4-utils_test.go

    		// When "X-Amz-Content-Sha256" header is set to  "UNSIGNED-PAYLOAD", validation of content sha256 has to be skipped.
    		{"X-Amz-Content-Sha256", unsignedPayload, "X-Amz-Credential", "", true},
    
    		// Test case - 4.
    		// Enabling PreSigned Signature v4, but X-Amz-Content-Sha256 not set has to be skipped.
    		{"", "", "X-Amz-Credential", "", true},
    
    		// Test case - 5.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  2. internal/config/identity/tls/config.go

    	// MinIO verifies the client certificate present by the client
    	// when requesting temp. credentials.
    	// By default, MinIO always verify the client certificate.
    	//
    	// The client certificate verification should only be skipped
    	// when debugging or testing a setup since it allows arbitrary
    	// clients to obtain temp. credentials with arbitrary policy
    	// permissions - including admin permissions.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  3. cmd/metacache-entries.go

    type metaCacheEntriesSorted struct {
    	o metaCacheEntries
    	// list id is not serialized
    	listID string
    	// Reuse buffers
    	reuse bool
    	// Contain the last skipped object after an ILM expiry evaluation
    	lastSkippedEntry string
    }
    
    // shallowClone will create a shallow clone of the array objects,
    // but object metadata will not be cloned.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  4. cmd/object-api-utils.go

    		start = end + 1
    		end = start + oi.Parts[i].ActualSize - 1
    	}
    
    	return &HTTPRangeSpec{Start: start, End: end}
    }
    
    // Returns the compressed offset which should be skipped.
    // If encrypted offsets are adjusted for encrypted block headers/trailers.
    // Since de-compression is after decryption encryption overhead is only added to compressedOffset.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  5. chainable_api.go

    //	    return func (db *gorm.DB) *gorm.DB {
    //	        return db.Scopes(AmountGreaterThan1000).Where("status in (?)", status)
    //	    }
    //	}
    //
    //	db.Scopes(AmountGreaterThan1000, OrderStatus([]string{"paid", "shipped"})).Find(&orders)
    func (db *DB) Scopes(funcs ...func(*DB) *DB) (tx *DB) {
    	tx = db.getInstance()
    	tx.Statement.scopes = append(tx.Statement.scopes, funcs...)
    	return tx
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  6. src/archive/zip/reader.go

    	f.CompressedSize64 = uint64(f.CompressedSize)
    	f.UncompressedSize64 = uint64(f.UncompressedSize)
    	filenameLen := int(b.uint16())
    	extraLen := int(b.uint16())
    	commentLen := int(b.uint16())
    	b = b[4:] // skipped start disk number and internal attributes (2x uint16)
    	f.ExternalAttrs = b.uint32()
    	f.headerOffset = int64(b.uint32())
    	d := make([]byte, filenameLen+extraLen+commentLen)
    	if _, err := io.ReadFull(r, d); err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  7. cmd/test-utils_test.go

    //	    (that are executed by other agents) or when customers pass requests through proxies, which may
    //	    modify the user-agent.
    //
    //	Authorization:
    //
    //	    Is skipped for obvious reasons
    var ignoredHeaders = map[string]bool{
    	"Authorization": true,
    	"User-Agent":    true,
    }
    
    // Headers to ignore in streaming v4
    var ignoredStreamingHeaders = map[string]bool{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  8. tests/create_test.go

    	AssertEqual(t, u2.Email, "on-conflict-user-email-2")
    	AssertEqual(t, u2.Mobile, "133xxxx")
    }
    
    func TestCreateFromMapWithoutPK(t *testing.T) {
    	if !isMysql() {
    		t.Skipf("This test case skipped, because of only supporting for mysql")
    	}
    
    	// case 1: one record, create from map[string]interface{}
    	mapValue1 := map[string]interface{}{"name": "create_from_map_with_schema1", "age": 1}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 26.4K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-decom.go

    				// Apply lifecycle rules on the objects that are expired.
    				if filterLifecycle(bi.Name, version.Name, version) {
    					expired++
    					decommissioned++
    					stopFn(errors.New("ILM expired object/version will be skipped"))
    					continue
    				}
    
    				// any object with only single DEL marker we don't need
    				// to decommission, just skip it, this also includes
    				// any other versions that have already expired.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  10. cmd/object-api-multipart_test.go

    				},
    			},
    		},
    		// listMultipartResults - 17.
    		// Testing for listing of 3 uploadID's (uploadIDs[1-3]) for a given object with uploadID Marker set.
    		// uploadIDs[1] is set as UploadMarker, Expecting it to be skipped in the result.
    		// uploadIDs[2] and uploadIDs[3] are expected to be in the result.
    		// Istruncted is expected to be false.
    		// Will be used to list on bucketNames[1].
    		{
    			MaxUploads:     100,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
Back to top