Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for loaders (1.16 sec)

  1. cmd/erasure-object.go

    			readers[index] = newBitrotReader(disk, metaArr[index].Data, bucket, partPath, tillOffset,
    				checksumInfo.Algorithm, checksumInfo.Hash, erasure.ShardSize())
    
    			// Prefer local disks
    			prefer[index] = disk.Hostname() == ""
    		}
    
    		written, err := erasure.Decode(ctx, writer, readers, partOffset, partLength, partSize, prefer)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  2. cmd/api-errors.go

    		Code:           "KeyTooLongError",
    		Description:    "Your key is too long",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrUnsignedHeaders: {
    		Code:           "AccessDenied",
    		Description:    "There were headers present in the request which were not signed",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidQueryParams: {
    		Code:           "AuthorizationQueryParametersError",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  3. internal/s3select/select_test.go

    		requestXML []byte // override request XML
    		wantResult string
    		wantErr    bool
    	}{
    		{
    			name:  "select-all",
    			input: testInput,
    			query: ``,
    			// Since we are doing offset, no headers are used.
    			wantResult: `{"_1":"2","_2":"2017-01-02T03:04Z","_3":"-5","_4":" 0.765111","_5":""}`,
    			requestXML: []byte(`<?xml version="1.0" encoding="UTF-8"?>
    <SelectObjectContentRequest>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    		// If request header key is not in ignored headers, then add it.
    		if _, ok := ignoredStreamingHeaders[http.CanonicalHeaderKey(k)]; !ok {
    			headerMap[strings.ToLower(k)] = vv
    		}
    	}
    
    	// Get header keys.
    	headers := []string{"host"}
    	for k := range headerMap {
    		headers = append(headers, k)
    	}
    	sort.Strings(headers)
    
    	// Get canonical headers.
    	var buf bytes.Buffer
    	for _, k := range headers {
    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)
  5. cmd/iam-store.go

    	//
    	// An in-memory cache must be replaced only if we know for sure that the
    	// values loaded from disk are not stale. They might be stale if the
    	// cached.updatedAt is more recent than the refresh cycle began.
    	if cache.updatedAt.Before(loadedAt) {
    		// No one has updated anything since the config was loaded,
    		// so we just replace whatever is on the disk into memory.
    		cache.iamGroupPolicyMap = newCache.iamGroupPolicyMap
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  6. cmd/object-api-listobjects_test.go

    func testListObjectsVersionedFolders(obj ObjectLayer, instanceType string, t1 TestErrHandler) {
    	t, _ := t1.(*testing.T)
    	testBuckets := []string{
    		// This bucket is used for testing ListObject operations.
    		"test-bucket-folders",
    		// This bucket has file delete marker.
    		"test-bucket-files",
    	}
    	for _, bucket := range testBuckets {
    		err := obj.MakeBucket(context.Background(), bucket, MakeBucketOptions{
    			VersioningEnabled: true,
    		})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    		}
    		return s, err
    	}
    	s.formatData = formatData
    	s.formatFileInfo = formatFi
    	s.formatFile = pathJoin(s.drivePath, minioMetaBucket, formatConfigFile)
    
    	// Create all necessary bucket folders if possible.
    	if err = makeFormatErasureMetaVolumes(s); err != nil {
    		return s, err
    	}
    
    	if len(s.formatData) > 0 {
    		format := &formatErasureV3{}
    		json := jsoniter.ConfigCompatibleWithStandardLibrary
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  8. cmd/batch-handlers.go

    				VersionID: entry.VersionID,
    				Content:   gr,
    				Headers:   make(http.Header),
    				Close: func() {
    					gr.Close()
    				},
    			}
    
    			opts, err := batchReplicationOpts(ctx, "", gr.ObjInfo)
    			if err != nil {
    				batchLogIf(ctx, err)
    				continue
    			}
    
    			for k, vals := range opts.Header() {
    				for _, v := range vals {
    					snowballObj.Headers.Add(k, v)
    				}
    			}
    
    			input <- snowballObj
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  9. docs/bucket/notifications/README.md

    ```
    
    MinIO supports all the exchanges available in [RabbitMQ](https://www.rabbitmq.com/). For this setup, we are using `fanout` exchange.
    
    MinIO also sends with the notifications two headers: `minio-bucket` and `minio-event`. An exchange using the type "headers" can use this information to route the notifications to proper queues.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
  10. cmd/bucket-handlers.go

    		maxMemoryBytes -= int64(len(name))
    		maxMemoryBytes -= mapEntryOverhead
    		if maxMemoryBytes < 0 {
    			// We can't actually take this path, since nextPart would already have
    			// rejected the MIME headers for being too large. Check anyway.
    			apiErr := errorCodes.ToAPIErr(ErrMalformedPOSTRequest)
    			apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, multipart.ErrMessageTooLarge)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top