Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 236 for dopts (0.05 sec)

  1. cmd/sftp-server-driver.go

    		// Send object names that are needed to be removed to objectsCh
    		go func() {
    			defer xioutil.SafeClose(objectsCh)
    			opts := minio.ListObjectsOptions{
    				Prefix:    prefix,
    				Recursive: true,
    			}
    			for object := range clnt.ListObjects(cctx, bucket, opts) {
    				if object.Err != nil {
    					return
    				}
    				objectsCh <- object
    			}
    		}()
    
    		// Call RemoveObjects API
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. cmd/bucket-quota.go

    }
    
    var bucketStorageCache = cachevalue.New[DataUsageInfo]()
    
    // Init initialize bucket quota.
    func (sys *BucketQuotaSys) Init(objAPI ObjectLayer) {
    	bucketStorageCache.InitOnce(10*time.Second,
    		cachevalue.Opts{ReturnLastGood: true, NoWait: true},
    		func(ctx context.Context) (DataUsageInfo, error) {
    			if objAPI == nil {
    				return DataUsageInfo{}, errServerNotInitialized
    			}
    			ctx, done := context.WithTimeout(ctx, 2*time.Second)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 00:34:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. internal/s3select/sql/record.go

    type Record interface {
    	Get(name string) (*Value, error)
    
    	// Set a value.
    	// Can return a different record type.
    	Set(name string, value *Value) (Record, error)
    	WriteCSV(writer io.Writer, opts WriteCSVOpts) error
    	WriteJSON(writer io.Writer) error
    
    	// Clone the record and if possible use the destination provided.
    	Clone(dst Record) Record
    	Reset()
    
    	// Returns underlying representation
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  4. cmd/storage-datatypes.go

    type DeleteVersionHandlerParams struct {
    	DiskID         string        `msg:"id"`
    	Volume         string        `msg:"v"`
    	FilePath       string        `msg:"fp"`
    	ForceDelMarker bool          `msg:"fdm"`
    	Opts           DeleteOptions `msg:"do"`
    	FI             FileInfo      `msg:"fi"`
    }
    
    // MetadataHandlerParams is request info for UpdateMetadataHandle and WriteMetadataHandler.
    type MetadataHandlerParams struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. cmd/object-handlers_test.go

    ) {
    	var err error
    
    	var opts ObjectOptions
    	// object used for the test.
    	objectName := "test-object-new-multipart"
    
    	// upload IDs collected.
    	var uploadIDs []string
    
    	for i := 0; i < 2; i++ {
    		// initiate new multipart uploadID.
    		res, err := obj.NewMultipartUpload(context.Background(), bucketName, objectName, opts)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                int i, len, dots;
                char[] data;
    
                i = dots = 0;                    /* quick IP address validation */
                len = calledName.length();
                data = calledName.toCharArray();
                while( i < len && Character.isDigit( data[i++] )) {
                    if( i == len && dots == 3 ) {
                        // probably an IP address
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  7. cmd/erasure-metadata-utils.go

    func readAllFileInfo(ctx context.Context, disks []StorageAPI, origbucket string, bucket, object, versionID string, readData, healing bool) ([]FileInfo, []error) {
    	metadataArray := make([]FileInfo, len(disks))
    
    	opts := ReadOptions{
    		ReadData: readData,
    		Healing:  healing,
    	}
    
    	g := errgroup.WithNErrs(len(disks))
    	// Read `xl.meta` in parallel across disks.
    	for index := range disks {
    		index := index
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. cmd/warm-backend.go

    	PutWithMeta(ctx context.Context, object string, r io.Reader, length int64, meta map[string]string) (remoteVersionID, error)
    	Get(ctx context.Context, object string, rv remoteVersionID, opts WarmBackendGetOpts) (io.ReadCloser, error)
    	Remove(ctx context.Context, object string, rv remoteVersionID) error
    	InUse(ctx context.Context) (bool, error)
    }
    
    const probeObject = "probeobject"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. cmd/post-policy_test.go

    	if err := newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatalf("Initializing config.json failed")
    	}
    
    	// get random bucket name.
    	bucketName := getRandomBucketName()
    
    	var opts ObjectOptions
    	// Register the API end points with Erasure/FS object layer.
    	apiRouter := initTestAPIEndPoints(obj, []string{"PostPolicy"})
    
    	credentials := globalActiveCred
    
    	curTime := UTCNow()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  10. migrator/migrator.go

    		).Row().Scan(&count)
    	})
    
    	return count > 0
    }
    
    // BuildIndexOptions build index options
    func (m Migrator) BuildIndexOptions(opts []schema.IndexOption, stmt *gorm.Statement) (results []interface{}) {
    	for _, opt := range opts {
    		str := stmt.Quote(opt.DBName)
    		if opt.Expression != "" {
    			str = opt.Expression
    		} else if opt.Length > 0 {
    			str += fmt.Sprintf("(%d)", opt.Length)
    		}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
Back to top