Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for ending1 (0.2 sec)

  1. internal/s3select/simdj/reader.go

    		readCloser.Close()
    		for range r.input {
    			// Read until EOF trickles through.
    			// Otherwise, we risk the decoder hanging.
    		}
    		r.readerWg.Done()
    	}
    
    	// We cannot reuse as we are sending parsed objects elsewhere.
    	simdjson.ParseNDStream(readCloser, r.input, nil)
    	r.readerWg.Add(1)
    	go r.startReader()
    	return &r
    }
    
    // NewElementReader - creates new JSON reader using readCloser.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue May 30 17:02:22 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  2. cmd/metacache-walk.go

    	if !skipAccessChecks(opts.Bucket) {
    		// Stat a volume entry.
    		if err = Access(volumeDir); err != nil {
    			return convertAccessError(err, errVolumeAccessDenied)
    		}
    	}
    
    	// Use a small block size to start sending quickly
    	w := newMetacacheWriter(wr, 16<<10)
    	w.reuseBlocks = true // We are not sharing results, so reuse buffers.
    	defer w.Close()
    	out, err := w.stream()
    	if err != nil {
    		return err
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/lifecycle.go

    )
    
    const (
    	// TransitionComplete marks completed transition
    	TransitionComplete = "complete"
    	// TransitionPending - transition is yet to be attempted
    	TransitionPending = "pending"
    )
    
    // Action represents a delete action or other transition
    // actions that will be implemented later.
    type Action int
    
    //go:generate stringer -type Action $GOFILE
    
    const (
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  4. cmd/generic-handlers.go

    		switch strings.TrimSpace(p) {
    		case dotdotComponent:
    			return true
    		case dotComponent:
    			return true
    		}
    	}
    	return false
    }
    
    // Check if client is sending a malicious request.
    func hasMultipleAuth(r *http.Request) bool {
    	authTypeCount := 0
    	for _, hasValidAuth := range []func(*http.Request) bool{
    		isRequestSignatureV2, isRequestPresignedSignatureV2,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  5. cmd/batch-handlers.go

    	}
    	_, err = api.CompleteMultipartUpload(ctx, tgtBucket, tgtObject, res.UploadID, uploadedParts, opts)
    	return err
    }
    
    // StartFromSource starts the batch replication job from remote source, resumes if there was a pending job via "job.ID"
    func (r *BatchJobReplicateV1) StartFromSource(ctx context.Context, api ObjectLayer, job BatchJobRequest) error {
    	ri := &batchJobInfo{
    		JobID:     job.ID,
    		JobType:   string(job.Type()),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  6. src/bufio/bufio.go

    	s := 0 // search start index
    	for {
    		// Search buffer.
    		if i := bytes.IndexByte(b.buf[b.r+s:b.w], delim); i >= 0 {
    			i += s
    			line = b.buf[b.r : b.r+i+1]
    			b.r += i + 1
    			break
    		}
    
    		// Pending error?
    		if b.err != nil {
    			line = b.buf[b.r:b.w]
    			b.r = b.w
    			err = b.readErr()
    			break
    		}
    
    		// Buffer full?
    		if b.Buffered() >= len(b.buf) {
    			b.r = b.w
    			line = b.buf
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  7. cmd/notification.go

    	"github.com/minio/pkg/v2/workers"
    
    	"github.com/minio/minio/internal/bucket/bandwidth"
    	"github.com/minio/minio/internal/logger"
    )
    
    // This file contains peer related notifications. For sending notifications to
    // external systems, see event-notification.go
    
    // NotificationSys - notification system.
    type NotificationSys struct {
    	peerClients    []*peerRESTClient // Excludes self
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  8. cmd/erasure-multipart.go

    				renameAll(pathJoin(drivePath, minioMetaTmpBucket, tmpDir), targetPath, pathJoin(drivePath, minioMetaBucket))
    			}
    			wait()
    			return nil
    		})
    	})
    }
    
    // ListMultipartUploads - lists all the pending multipart
    // uploads for a particular object in a bucket.
    //
    // Implements minimal S3 compatible ListMultipartUploads API. We do
    // not support prefix based listing, this is a deliberate attempt
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    	// try this server to generate a new token.
    
    	type healResp struct {
    		respBytes []byte
    		apiErr    APIError
    		errBody   string
    	}
    
    	// Define a closure to start sending whitespace to client
    	// after 10s unless a response item comes in
    	keepConnLive := func(w http.ResponseWriter, r *http.Request, respCh chan healResp) {
    		ticker := time.NewTicker(time.Second * 10)
    		defer ticker.Stop()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  10. cmd/bucket-replication_test.go

    			// 1: Pending replication
    			name: "existing object replication on object in Pending replication status",
    			info: ObjectInfo{
    				Size:                      100,
    				ReplicationStatusInternal: "arn1:PENDING;",
    				ReplicationStatus:         replication.Pending,
    				VersionID:                 "a3348c34-c352-4498-82f0-1098e8b34df9",
    			},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Sep 16 09:28:06 GMT 2023
    - 12.2K bytes
    - Viewed (0)
Back to top