Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for linting (0.23 sec)

  1. cmd/metacache.go

    	// Max time between client calls before dropping an async cache listing.
    	metacacheMaxClientWait = 3 * time.Minute
    
    	// metacacheBlockSize is the number of file/directory entries to have in each block.
    	metacacheBlockSize = 5000
    
    	// metacacheSharePrefix controls whether prefixes on dirty paths are always shared.
    	// This will make `test/a` and `test/b` share listings if they are concurrent.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  2. cmd/metacache-set.go

    	"github.com/minio/pkg/v2/console"
    )
    
    //go:generate msgp -file $GOFILE -unexported
    
    type listPathOptions struct {
    	// ID of the listing.
    	// This will be used to persist the list.
    	ID string
    
    	// Bucket of the listing.
    	Bucket string
    
    	// Directory inside the bucket.
    	// When unset listPath will set this based on Prefix
    	BaseDir string
    
    	// Scan/return only content with prefix.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users_test.go

    	err := s.adm.SetUser(ctx, accessKey, secretKey, madmin.AccountEnabled)
    	if err != nil {
    		c.Fatalf("Unable to set user: %v", err)
    	}
    
    	// 2. Check new user appears in listing
    	usersMap, err := s.adm.ListUsers(ctx)
    	if err != nil {
    		c.Fatalf("error listing: %v", err)
    	}
    	v, ok := usersMap[accessKey]
    	if !ok {
    		c.Fatalf("user not listed: %s", accessKey)
    	}
    	c.Assert(v.Status, madmin.AccountEnabled)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  4. cmd/s3-zip-handlers.go

    	zipPath, _, err := splitZipExtensionPath(prefix)
    	if err != nil {
    		// Return empty listing
    		return ListObjectsV2Info{}, nil
    	}
    
    	zipObjInfo, err := objectAPI.GetObjectInfo(ctx, bucket, zipPath, ObjectOptions{})
    	if err != nil {
    		// Return empty listing
    		return ListObjectsV2Info{}, nil
    	}
    
    	zipInfo := zipObjInfo.ArchiveInfo()
    	if len(zipInfo) == 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  5. internal/config/lambda/event/event.go

    	OutputToken string `json:"outputToken"`
    	InputS3URL  string `json:"inputS3Url"`
    }
    
    // Event represents lambda function event, this is undocumented in AWS S3. This
    // structure bases itself on this structure but there is no binding.
    //
    //	{
    //	  "xAmzRequestId": "a2871150-1df5-4dc9-ad9f-3da283ca1bf3",
    //	  "getObjectContext": {
    //	    "outputRoute": "...",
    //	    "outputToken": "...",
    //	    "inputS3Url": "<presignedURL>"
    //	  },
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  6. cmd/erasure-multipart.go

    }
    
    // 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
    // towards simplification of multipart APIs.
    // The resulting ListMultipartsInfo structure is unmarshalled directly as XML.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  7. src/bufio/bufio.go

    func (b *Reader) Buffered() int { return b.w - b.r }
    
    // ReadSlice reads until the first occurrence of delim in the input,
    // returning a slice pointing at the bytes in the buffer.
    // The bytes stop being valid at the next read.
    // If ReadSlice encounters an error before finding a delimiter,
    // it returns all the data in the buffer and the error itself (often io.EOF).
    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)
  8. cmd/metacache-walk.go

    		objReturned(entry.metadata)
    		select {
    		case <-ctx.Done():
    			return ctx.Err()
    		case out <- entry:
    		}
    		return nil
    	}
    
    	// Fast exit track to check if we are listing an object with
    	// a trailing slash, this will avoid to list the object content.
    	if HasSuffix(opts.BaseDir, SlashSeparator) {
    		metadata, err := s.readMetadata(ctx, pathJoin(volumeDir,
    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)
  9. cmd/object-api-interface.go

    type BucketOptions struct {
    	Deleted bool // true only when site replication is enabled
    	Cached  bool // true only when we are requesting a cached response instead of hitting the disk for example ListBuckets() call.
    }
    
    // SetReplicaStatus sets replica status and timestamp for delete operations in ObjectOptions
    func (o *ObjectOptions) SetReplicaStatus(st replication.StatusType) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  10. src/cmd/cgo/doc.go

    code can only be used as a dynamic library). On the other hand, when
    using internal linking, cmd/link can generate Go binaries by itself.
    
    In order to allow linking arbitrary object files without requiring
    dynamic libraries, cgo supports an "external" linking mode too. In
    external linking mode, cmd/link does not process any host object files.
    Instead, it collects all the Go code and writes a single go.o object
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
Back to top