Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 782 for Consts (0.09 sec)

  1. internal/auth/credentials.go

    }
    
    // Default access and secret keys.
    const (
    	DefaultAccessKey = "minioadmin"
    	DefaultSecretKey = "minioadmin"
    )
    
    // Default access credentials
    var (
    	DefaultCredentials = Credentials{
    		AccessKey: DefaultAccessKey,
    		SecretKey: DefaultSecretKey,
    	}
    )
    
    // claim key found in credentials which are service accounts
    const iamPolicyClaimNameSA = "sa-policy"
    
    const (
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    	initHelp()
    
    	resetTestGlobals()
    
    	globalIsCICD = true
    
    	os.Exit(m.Run())
    }
    
    // concurrency level for certain parallel tests.
    const testConcurrencyLevel = 10
    
    const iso8601TimeFormat = "2006-01-02T15:04:05.000Z"
    
    // Excerpts from @lsegal - https://github.com/aws/aws-sdk-js/issues/659#issuecomment-120477258
    //
    //	User-Agent:
    //
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  3. src/bytes/buffer_test.go

    	}
    }
    
    func BenchmarkWriteByte(b *testing.B) {
    	const n = 4 << 10
    	b.SetBytes(n)
    	buf := NewBuffer(make([]byte, n))
    	for i := 0; i < b.N; i++ {
    		buf.Reset()
    		for i := 0; i < n; i++ {
    			buf.WriteByte('x')
    		}
    	}
    }
    
    func BenchmarkWriteRune(b *testing.B) {
    	const n = 4 << 10
    	const r = '☺'
    	b.SetBytes(int64(n * utf8.RuneLen(r)))
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Nov 14 19:01:17 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  4. cmd/rebalancemetric_string.go

    	_ = x[rebalanceMetricRebalanceBuckets-0]
    	_ = x[rebalanceMetricRebalanceBucket-1]
    	_ = x[rebalanceMetricRebalanceObject-2]
    	_ = x[rebalanceMetricRebalanceRemoveObject-3]
    	_ = x[rebalanceMetricSaveMetadata-4]
    }
    
    const _rebalanceMetric_name = "RebalanceBucketsRebalanceBucketRebalanceObjectRebalanceRemoveObjectSaveMetadata"
    
    var _rebalanceMetric_index = [...]uint8{0, 16, 31, 46, 67, 79}
    
    func (i rebalanceMetric) String() string {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Oct 25 19:36:57 UTC 2022
    - 988 bytes
    - Viewed (0)
  5. internal/grid/handlers_string.go

    	_ = x[HandlerCheckParts2-74]
    	_ = x[HandlerRenamePart-75]
    	_ = x[HandlerClearUploadID-76]
    	_ = x[HandlerCheckParts3-77]
    	_ = x[handlerTest-78]
    	_ = x[handlerTest2-79]
    	_ = x[handlerLast-80]
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Dec 12 05:50:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. cmd/format_string.go

    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[formatUnknown-0]
    	_ = x[formatGzip-1]
    	_ = x[formatZstd-2]
    	_ = x[formatLZ4-3]
    	_ = x[formatS2-4]
    	_ = x[formatBZ2-5]
    }
    
    const _format_name = "UnknownGzipZstdLZ4S2BZ2"
    
    var _format_index = [...]uint8{0, 7, 11, 15, 18, 20, 23}
    
    func (i format) String() string {
    	if i < 0 || i >= format(len(_format_index)-1) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 737 bytes
    - Viewed (0)
  7. clause/clause.go

    			builder.WriteByte(' ')
    		}
    
    		c.Expression.Build(builder)
    
    		if c.AfterExpression != nil {
    			builder.WriteByte(' ')
    			c.AfterExpression.Build(builder)
    		}
    	}
    }
    
    const (
    	PrimaryKey   string = "~~~py~~~" // primary key
    	CurrentTable string = "~~~ct~~~" // current table
    	Associations string = "~~~as~~~" // associations
    )
    
    var (
    	currentTable  = Table{Name: CurrentTable}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Feb 02 09:15:08 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. cmd/metrics-v3-cluster-config.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import "context"
    
    const (
    	configRRSParity      = "rrs_parity"
    	configStandardParity = "standard_parity"
    )
    
    var (
    	configRRSParityMD = NewGaugeMD(configRRSParity,
    		"Reduced redundancy storage class parity")
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 24 12:50:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. internal/kms/secret-key.go

    	if req.Name != s.keyID {
    		return DEK{}, ErrKeyNotFound
    	}
    	associatedData, err := req.AssociatedData.MarshalText()
    	if err != nil {
    		return DEK{}, err
    	}
    
    	const randSize = 28
    	random, err := sioutil.Random(randSize)
    	if err != nil {
    		return DEK{}, err
    	}
    	iv, nonce := random[:16], random[16:]
    
    	prf := hmac.New(sha256.New, s.key)
    	prf.Write(iv)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Apr 21 16:23:51 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. cmd/osmetric_string.go

    	_ = x[osMetricStat-12]
    	_ = x[osMetricAccess-13]
    	_ = x[osMetricCreate-14]
    	_ = x[osMetricReadDirent-15]
    	_ = x[osMetricFdatasync-16]
    	_ = x[osMetricSync-17]
    	_ = x[osMetricLast-18]
    }
    
    const _osMetric_name = "RemoveAllMkdirAllMkdirRenameOpenFileWOpenFileROpenFileWFdOpenFileRFdOpenOpenFileDirectIOLstatRemoveStatAccessCreateReadDirentFdatasyncSyncLast"
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Feb 15 01:09:38 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top