Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getal (0.13 sec)

  1. internal/disk/directio_unix.go

    	return directio.OpenFile(filePath, flag, perm)
    }
    
    // DisableDirectIO - disables directio mode.
    func DisableDirectIO(f *os.File) error {
    	fd := f.Fd()
    	flag, err := unix.FcntlInt(fd, unix.F_GETFL, 0)
    	if err != nil {
    		return err
    	}
    	flag &= ^(syscall.O_DIRECT)
    	_, err = unix.FcntlInt(fd, unix.F_SETFL, flag)
    	return err
    }
    
    // AlignedBlock - pass through to directio implementation.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jun 17 14:31:36 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  2. internal/event/target/kafka.go

    	if key.IsLast || target.batch.IsFull() {
    		return target.commitBatch()
    	}
    	return nil
    }
    
    func (target *KafkaTarget) commitBatch() error {
    	keys, msgs, err := target.batch.GetAll()
    	if err != nil {
    		return err
    	}
    	if err = target.producer.SendMessages(msgs); err != nil {
    		if isKafkaConnErr(err) {
    			return store.ErrNotConnected
    		}
    		return err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
  3. internal/store/batch.go

    		return ErrBatchFull
    	}
    
    	if _, ok := b.items[key]; !ok {
    		b.keys = append(b.keys, key)
    	}
    	b.items[key] = item
    
    	return nil
    }
    
    // GetAll fetches the items and resets the batch
    // Returned items are not referenced by the batch
    func (b *Batch[K, T]) GetAll() (orderedKeys []K, orderedItems []T, err error) {
    	b.Lock()
    	defer b.Unlock()
    
    	orderedKeys = append([]K(nil), b.keys...)
    	for _, key := range orderedKeys {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  4. cmd/bucket-replication-stats.go

    		rs.Completed = true
    	case replication.Pending:
    		rs.Pending = true
    	case replication.Failed:
    		rs.Failed = true
    		rs.Err = err
    	}
    }
    
    // GetAll returns replication metrics for all buckets at once.
    func (r *ReplicationStats) GetAll() map[string]BucketReplicationStats {
    	if r == nil {
    		return map[string]BucketReplicationStats{}
    	}
    
    	r.RLock()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  5. cmd/peer-rest-server.go

    func (s *peerRESTServer) GetAllBucketStatsHandler(mss *grid.MSS) (*BucketStatsMap, *grid.RemoteErr) {
    	replicationStats := globalReplicationStats.GetAll()
    	bucketStatsMap := make(map[string]BucketStats, len(replicationStats))
    	for k, v := range replicationStats {
    		bucketStatsMap[k] = BucketStats{
    			ReplicationStats: v,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  6. internal/store/batch_test.go

    		t.Fatal("Expected batch.IsFull to be true but got false")
    	}
    	batchLen := batch.Len()
    	if batchLen != int(limit) {
    		t.Fatalf("expected batch length to be %v but got %v", limit, batchLen)
    	}
    	keys, items, err := batch.GetAll()
    	if err != nil {
    		t.Fatalf("unable to get the items from the batch; %v", err)
    	}
    	if len(items) != int(limit) {
    		t.Fatalf("Expected length of the batch items to be %v but got %v", limit, len(items))
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  7. README.md

    This README provides quickstart instructions on running MinIO on bare metal hardware, including container-based installations. For Kubernetes environments, use the [MinIO Kubernetes Operator](https://github.com/minio/operator/blob/master/README.md).
    
    ## Container Installation
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 14 17:51:34 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  8. cmd/notification.go

    		if nErr.Err != nil {
    			peersLogOnceIf(logger.SetReqInfo(ctx, reqInfo), nErr.Err, nErr.Host.String())
    		}
    	}
    
    	replicationStatsList := globalReplicationStats.GetAll()
    	bucketStatsMap := BucketStatsMap{
    		Stats:     make(map[string]BucketStats, len(replicationStatsList)),
    		Timestamp: UTCNow(),
    	}
    	for k, replicationStats := range replicationStatsList {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  9. cmd/testdata/xl-meta-merge.zip

    v3.0. It is API compatible with Amazon S3 cloud storage service. Use MinIO to build high performance infrastructure for machine learning, analytics and application data workloads. This README provides quickstart instructions on running MinIO on bare metal hardware, including container-based installations. For Kubernetes environments, use the [MinIO Kubernetes Operator](https://github.com/minio/operator/blob/master/README.md). ## Container Installation Use the following commands to run a standalone MinIO...
    ZIP Archive
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 30.2K bytes
    - Viewed (0)
Back to top