Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 226 for count (0.18 sec)

  1. cmd/xl-storage.go

    	// platforms, look for this value as NAME_MAX in
    	// /usr/include/linux/limits.h
    	var count int64
    	for _, p := range pathName {
    		switch p {
    		case '/':
    			count = 0 // Reset
    		case '\\':
    			if runtime.GOOS == globalWindowsOSName {
    				count = 0
    			}
    		default:
    			count++
    			if count > 255 {
    				return errFileNameTooLong
    			}
    		}
    	} // Success.
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  2. cmd/metrics-realtime.go

    				if v != 0 {
    					dm.LifeTimeOps[k] = v
    				}
    			}
    			dm.LastMinute.Operations = make(map[string]madmin.TimedAction, len(d.Metrics.APICalls))
    			for k, v := range d.Metrics.LastMinute {
    				if v.Count != 0 {
    					dm.LastMinute.Operations[k] = v
    				}
    			}
    		}
    
    		st, err := disk.GetDriveStats(d.Major, d.Minor)
    		if err == nil {
    			dm.IOStats = madmin.DiskIOStats{
    				ReadIOs:        st.ReadIOs,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 10 16:28:08 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  3. docs/bucket/replication/setup_ilm_expiry_replication.sh

    ./mc ilm edit --id "${id}" --expire-days "100" sitea/bucket
    sleep 30s
    
    count1=$(./mc ilm rule list sitea/bucket --json | jq '.config.Rules[0].Expiration.Days')
    count2=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules[0].Expiration.Days')
    if [ $count1 -ne 100 ]; then
    	echo "BUG: Expiration days not changed on 'sitea'"
    	exit 1
    fi
    if [ $count2 -ne 100 ]; then
    	echo "BUG: Modified ILM expiry rule not replicated to 'siteb'"
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. cmd/object-api-datatypes.go

    	{"GREATER_THAN_512_MB", humanize.MiByte * 512, math.MaxInt64},
    }
    
    // ObjectsVersionCountIntervals is the list of all intervals
    // of object version count to be included in objects histogram.
    var ObjectsVersionCountIntervals = [dataUsageVersionLen]objectHistogramInterval{
    	{"UNVERSIONED", 0, 0},
    	{"SINGLE_VERSION", 1, 1},
    	{"BETWEEN_2_AND_10", 2, 9},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  5. docs/bucket/replication/setup_3site_replication.sh

    upload_id=$(multipart-debug --endpoint 127.0.0.1:9001 --accesskey minio --secretkey minio123 multipart new --bucket bucket --object new-test-encrypted-object --encrypt)
    
    dd if=/dev/urandom bs=1 count=7048531 of=/tmp/7048531.txt
    dd if=/dev/urandom bs=1 count=2847391 of=/tmp/2847391.txt
    
    sudo apt install jq -y
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  6. internal/config/storageclass/storage-class.go

    		}
    	}
    	return nil
    }
    
    // GetParityForSC - Returns the data and parity drive count based on storage class
    // If storage class is set using the env vars MINIO_STORAGE_CLASS_RRS and
    // MINIO_STORAGE_CLASS_STANDARD or server config fields corresponding values are
    // returned.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  7. internal/s3select/csv/reader_contrib_test.go

    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 38.5K bytes
    - Viewed (0)
  8. internal/s3select/csv/record.go

    		// Check if index.
    		if strings.HasPrefix(name, "_") {
    			idx, err := strconv.Atoi(strings.TrimPrefix(name, "_"))
    			if err != nil {
    				return nil, fmt.Errorf("column %v not found", name)
    			}
    			// The position count starts at 1.
    			idx--
    			if idx >= len(r.csvRecord) || idx < 0 {
    				// If field index > number of columns, return null
    				return sql.FromNull(), nil
    			}
    			return sql.FromBytes([]byte(r.csvRecord[idx])), nil
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Sep 13 00:00:59 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  9. internal/s3select/select_test.go

    			},
    		},
    		{
    			[]byte(`
    <?xml version="1.0" encoding="UTF-8"?>
    <SelectObjectContentRequest>
        <Expression>SELECT COUNT(*) AS total_record_count from S3Object</Expression>
        <ExpressionType>SQL</ExpressionType>
        <InputSerialization>
            <CompressionType>NONE</CompressionType>
            <CSV>
                <FileHeaderInfo>USE</FileHeaderInfo>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  10. docs/metrics/prometheus/grafana/replication/minio-replication-cluster.json

              "datasource": {
                "type": "prometheus",
                "uid": "${DS_PROMETHEUS}"
              },
              "exemplar": true,
              "expr": "sum by (server) (minio_cluster_replication_received_count{job=\"$scrape_jobs\"})",
              "interval": "1m",
              "intervalFactor": 2,
              "legendFormat": "{{server}}",
              "refId": "A"
            }
          ],
          "title": "Received Objects",
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:15:39 GMT 2024
    - 71.1K bytes
    - Viewed (0)
Back to top