Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for th (0.16 sec)

  1. internal/bucket/bandwidth/monitor_test.go

    			t.Parallel()
    			thr := bucketThrottle{
    				NodeBandwidthPerSec: 1024 * 1024,
    			}
    			th := make(map[BucketOptions]*bucketThrottle)
    			th[BucketOptions{Name: "bucket", ReplicationARN: "arn"}] = &thr
    			m := &Monitor{
    				bucketsMeasurement: tt.fields.activeBuckets,
    				bucketsThrottle:    th,
    				NodeCount:          1,
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Sep 06 03:21:59 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  2. cmd/erasure-sets.go

    	})
    	if err != nil {
    		return nil, nil, err
    	}
    
    	return disk, format, nil
    }
    
    // findDiskIndex - returns the i,j'th position of the input `diskID` against the reference
    // format, after successful validation.
    //   - i'th position is the set index
    //   - j'th position is the disk index in the current set
    func findDiskIndexByDiskID(refFormat *formatErasureV3, diskID string) (int, int, error) {
    	if diskID == "" {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 37.5K bytes
    - Viewed (5)
  3. cmd/endpoint.go

    type Endpoints []Endpoint
    
    // HTTPS - returns true if secure for URLEndpointType.
    func (endpoints Endpoints) HTTPS() bool {
    	return endpoints[0].HTTPS()
    }
    
    // GetString - returns endpoint string of i-th endpoint (0-based),
    // and empty string for invalid indexes.
    func (endpoints Endpoints) GetString(i int) string {
    	if i < 0 || i >= len(endpoints) {
    		return ""
    	}
    	return endpoints[i].String()
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  4. cmd/sts-handlers_test.go

    // container and canned data from https://github.com/minio/minio-ldap-testing
    //
    // Each set of client app params corresponds to a separate openid server, and
    // the i-th server in this will be applied the i-th policy in `rolePolicies`. If
    // a rolePolicies entry is an empty string, that server will be configured as
    // policy-claim based openid server. NOTE that a valid configuration can have a
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    	}
    
    	req, err := http.NewRequest(method, urlStr, nil)
    	if err != nil {
    		return nil, err
    	}
    
    	if body == nil {
    		// this is added to avoid panic during io.ReadAll(req.Body).
    		// th stack trace can be found here  https://github.com/minio/minio/pull/2074 .
    		// This is very similar to https://github.com/golang/go/issues/7527.
    		req.Body = io.NopCloser(bytes.NewReader([]byte("")))
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
Back to top