Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for prepare (0.2 sec)

  1. cmd/prepare-storage.go

    	if len(endpoints) == 0 || setCount == 0 || setDriveCount == 0 {
    		return nil, nil, errInvalidArgument
    	}
    
    	// prepare getElapsedTime() to calculate elapsed time since we started trying formatting disks.
    	// All times are rounded to avoid showing milli, micro and nano seconds
    	formatStartTime := time.Now().Round(time.Second)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  2. internal/event/target/mysql.go

    		if target.updateStmt, err = target.db.Prepare(fmt.Sprintf(mysqlUpdateRow, target.args.Table)); err != nil {
    			return err
    		}
    		// delete statement
    		if target.deleteStmt, err = target.db.Prepare(fmt.Sprintf(mysqlDeleteRow, target.args.Table)); err != nil {
    			return err
    		}
    	case event.AccessFormat:
    		// insert statement
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  3. cmd/admin-handlers_test.go

    	}
    
    	defer adminTestBed.TearDown()
    
    	// Initialize admin peers to make admin RPC calls.
    	globalMinioAddr = "127.0.0.1:9000"
    
    	// Prepare query params for set-config mgmt REST API.
    	queryVal := url.Values{}
    	queryVal.Set("info", "")
    
    	req, err := buildAdminRequest(queryVal, http.MethodGet, "/info", 0, nil)
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  4. cmd/http-stats.go

    		s3InputBytes:         s.getS3InputBytes(),         // Traffic S3 received
    		s3OutputBytes:        s.getS3OutputBytes(),        // Traffic S3 sent
    	}
    }
    
    // Prepare new ConnStats structure
    func newConnStats() *connStats {
    	return &connStats{}
    }
    
    type bucketS3RXTX struct {
    	s3InputBytes  uint64
    	s3OutputBytes uint64
    }
    
    type bucketHTTPAPIStats struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  5. cmd/metrics-v3.go

    			)
    		}
    		mg.SetCache(metricsCache)
    		if mg.IsBucketMetricsGroup() {
    			bucketMGMap[mg.CollectorPath] = mg
    		} else {
    			mgMap[mg.CollectorPath] = mg
    		}
    	}
    
    	// Prepare to register the collectors. Other than `MetricGroup` collectors,
    	// we also have standard collectors like `GoCollector`.
    
    	// Create all Non-`MetricGroup` collectors here.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 16:07:23 GMT 2024
    - 10K bytes
    - Viewed (0)
  6. buildscripts/verify-healing-with-root-disks.sh

    	for i in $(seq 1 4); do
    		while [ "$(curl -m 1 -s -o /dev/null -w "%{http_code}" http://localhost:$((start_port + i)))" -ne "403" ]; do
    			echo -n "."
    			sleep 1
    		done
    	done
    
    }
    
    # Prepare fake disks with losetup
    function prepare_block_devices() {
    	set -e
    	mkdir -p ${WORK_DIR}/disks/ ${WORK_DIR}/mnt/
    	sudo modprobe loop
    	for i in 1 2 3 4; do
    		dd if=/dev/zero of=${WORK_DIR}/disks/img.${i} bs=1M count=2000
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  7. internal/logger/logger.go

    // unique set. data is expected to be pre-sorted, and the resulting set in
    // the range [0:size] will remain in sorted order. Uniq, following a
    // sort.Sort call, can be used to prepare arbitrary inputs for use as sets.
    func uniq(data sort.Interface) (size int) {
    	p, l := 0, data.Len()
    	if l <= 1 {
    		return l
    	}
    	for i := 1; i < l; i++ {
    		if !data.Less(p, i) {
    			continue
    		}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  8. docs/site-replication/run-ssec-object-replication-with-compression.sh

    		chmod +x mc
    	echo "done"
    fi
    
    sleep 10
    
    export MC_HOST_minio1=https://minio:minio123@localhost:9001
    export MC_HOST_minio2=https://minio:minio123@localhost:9002
    
    # Prepare data for tests
    echo -n "Preparing test data ..."
    mkdir -p /tmp/data
    echo "Hello world" >/tmp/data/plainfile
    echo "Hello from encrypted world" >/tmp/data/encrypted
    touch /tmp/data/defpartsize
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  9. CREDITS

          this License, each Contributor hereby grants to You a perpetual,
          worldwide, non-exclusive, no-charge, royalty-free, irrevocable
          copyright license to reproduce, prepare Derivative Works of,
          publicly display, publicly perform, sublicense, and distribute the
          Work and such Derivative Works in Source or Object form.
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 1.6M bytes
    - Viewed (0)
  10. docs/site-replication/run-sse-kms-object-replication.sh

    		chmod +x mc
    	echo "done"
    fi
    
    sleep 10
    
    export MC_HOST_minio1=https://minio:minio123@localhost:9001
    export MC_HOST_minio2=https://minio:minio123@localhost:9002
    
    # Prepare data for tests
    echo -n "Preparing test data ..."
    mkdir -p /tmp/data
    echo "Hello from encrypted world" >/tmp/data/encrypted
    touch /tmp/data/mpartobj
    shred -s 500M /tmp/data/mpartobj
    touch /tmp/data/defpartsize
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 10K bytes
    - Viewed (0)
Back to top