Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for PUT (0.22 sec)

  1. internal/grid/types.go

    		return make([]T, 0, sz)
    	}
    	t2 := *t
    	return t2[:0]
    }
    
    func (p *ArrayOf[T]) putA(v []T) {
    	var zero T // nil
    	for i, t := range v {
    		p.ePool.Put(t)
    		v[i] = zero
    	}
    	if v != nil {
    		v = v[:0]
    		p.aPool.Put(&v)
    	}
    }
    
    func (p *ArrayOf[T]) newE() T {
    	return p.ePool.Get().(T)
    }
    
    // Array provides a wrapper for an underlying array of serializable objects.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. internal/event/name.go

    	case ObjectCreatedCopy:
    		return "s3:ObjectCreated:Copy"
    	case ObjectCreatedPost:
    		return "s3:ObjectCreated:Post"
    	case ObjectCreatedPut:
    		return "s3:ObjectCreated:Put"
    	case ObjectCreatedPutTagging:
    		return "s3:ObjectCreated:PutTagging"
    	case ObjectCreatedDeleteTagging:
    		return "s3:ObjectCreated:DeleteTagging"
    	case ObjectCreatedPutRetention:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. cmd/mrf.go

    }
    
    // mrfState sncapsulates all the information
    // related to the global background MRF.
    type mrfState struct {
    	opCh chan partialOperation
    }
    
    // Add a partial S3 operation (put/delete) when one or more disks are offline.
    func (m *mrfState) addPartialOp(op partialOperation) {
    	if m == nil {
    		return
    	}
    
    	select {
    	case m.opCh <- op:
    	default:
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. cmd/auth-handler.go

    }
    
    // Verify if the request has AWS Streaming Signature Version '4'. This is only valid for 'PUT' operation.
    func isRequestSignStreamingV4(r *http.Request) bool {
    	return r.Header.Get(xhttp.AmzContentSha256) == streamingContentSHA256 &&
    		r.Method == http.MethodPut
    }
    
    // Verify if the request has AWS Streaming Signature Version '4'. This is only valid for 'PUT' operation.
    func isRequestSignStreamingTrailerV4(r *http.Request) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    		// Remove the transitioned object whose object version is being overwritten.
    		os.Sweep()
    	}
    }
    
    // PutObjectHandler - PUT Object
    // ----------
    // This implementation of the PUT operation adds an object to a bucket.
    // Notice: The S3 client can send secret keys in headers for encryption related jobs,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  6. cmd/server_test.go

    }
    
    func (s *TestSuiteCommon) TestBucketSQSNotificationWebHook(c *check) {
    	// Sample bucket notification.
    	bucketNotificationBuf := `<NotificationConfiguration><QueueConfiguration><Event>s3:ObjectCreated:Put</Event><Filter><S3Key><FilterRule><Name>prefix</Name><Value>images/</Value></FilterRule></S3Key></Filter><Id>1</Id><Queue>arn:minio:sqs:us-east-1:444455556666:webhook</Queue></QueueConfiguration></NotificationConfiguration>`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  7. cmd/untar.go

    				rc := disconnectReader{r: bytes.NewReader(b)}
    				defer func() {
    					rc.Close()
    					<-asyncWriters
    					wg.Done()
    					//nolint:staticcheck // SA6002 we are fine with the tiny alloc
    					poolBuf128k.Put(b)
    				}()
    				if err := putObject(&rc, fi, name); err != nil {
    					if o.ignoreErrs {
    						s3LogIf(ctx, err)
    						return
    					}
    					asyncErrMu.Lock()
    					if asyncErr == nil {
    						asyncErr = err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. cmd/update.go

    	}
    	defer xhttp.DrainBody(reader)
    
    	b := bytebufferpool.Get()
    	bc := bytebufferpool.Get()
    	defer func() {
    		b.Reset()
    		bc.Reset()
    
    		bytebufferpool.Put(b)
    		bytebufferpool.Put(bc)
    	}()
    
    	w, err := zstd.NewWriter(bc)
    	if err != nil {
    		return nil, nil, err
    	}
    
    	if _, err = io.Copy(w, io.TeeReader(reader, b)); err != nil {
    		return nil, nil, err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  9. cmd/erasure-object.go

    	if data.Size() >= bigFileThreshold {
    		// We use 2 buffers, so we always have a full buffer of input.
    		pool := globalBytePoolCap.Load()
    		bufA := pool.Get()
    		bufB := pool.Get()
    		defer pool.Put(bufA)
    		defer pool.Put(bufB)
    		ra, err := readahead.NewReaderBuffer(data, [][]byte{bufA[:fi.Erasure.BlockSize], bufB[:fi.Erasure.BlockSize]})
    		if err == nil {
    			toEncode = ra
    			defer ra.Close()
    		}
    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)
  10. internal/event/target/kafka.go

    }
    
    // Save - saves the events to the store which will be replayed when the Kafka connection is active.
    func (target *KafkaTarget) Save(eventData event.Event) error {
    	if target.store != nil {
    		return target.store.Put(eventData)
    	}
    	if err := target.init(); err != nil {
    		return err
    	}
    	return target.send(eventData)
    }
    
    // send - sends an event to the kafka.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
Back to top