- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 568 for CONST (0.04 sec)
-
internal/config/crypto.go
} stream, err := algorithm.Stream(key.Plaintext) if err != nil { return nil, err } nonce := make([]byte, stream.NonceSize()) if _, err := rand.Read(nonce); err != nil { return nil, err } const ( MaxMetadataSize = 1 << 20 // max. size of the metadata Version = 1 ) var ( header [5]byte buffer bytes.Buffer ) json := jsoniter.ConfigCompatibleWithStandardLibrary
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 5K bytes - Viewed (0) -
internal/bucket/versioning/versioning.go
"io" "strings" "github.com/minio/pkg/v3/wildcard" ) // State - enabled/disabled/suspended states // for multifactor and status of versioning. type State string // Various supported states const ( Enabled State = "Enabled" // Disabled State = "Disabled" only used by MFA Delete not supported yet. Suspended State = "Suspended" ) var (
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.6K bytes - Viewed (0) -
internal/s3select/sql/stringfuncs.go
errInvalidTrimArg = errors.New("Trim argument is invalid - this should not happen") errInvalidSubstringIndexLen = errors.New("Substring start index or length falls outside the string") ) const ( percent rune = '%' underscore rune = '_' runeZero rune = 0 ) func evalSQLLike(text, pattern string, escape rune) (match bool, err error) { s := []rune{} prev := runeZero hasLeadingPercent := false
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 4.2K bytes - Viewed (0) -
internal/crypto/auto-encryption.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package crypto import ( "github.com/minio/minio/internal/config" "github.com/minio/pkg/v3/env" ) const ( // EnvKMSAutoEncryption is the environment variable used to en/disable // SSE-S3 auto-encryption. SSE-S3 auto-encryption, if enabled, // requires a valid KMS configuration and turns any non-SSE-C
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 1.4K bytes - Viewed (0) -
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 Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 8.3K bytes - Viewed (0) -
internal/bucket/replication/destination.go
"encoding/xml" "fmt" "strings" "github.com/minio/pkg/v3/wildcard" ) // DestinationARNPrefix - destination ARN prefix as per AWS S3 specification. const DestinationARNPrefix = "arn:aws:s3:::" // DestinationARNMinIOPrefix - destination ARN prefix for MinIO. const DestinationARNMinIOPrefix = "arn:minio:replication:" // Destination - destination in ReplicationConfiguration. type Destination struct {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4K bytes - Viewed (0) -
internal/config/ilm/help.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 ilm import "github.com/minio/minio/internal/config" const ( transitionWorkers = "transition_workers" expirationWorkers = "expiration_workers" // EnvILMTransitionWorkers env variable to configure number of transition workers EnvILMTransitionWorkers = "MINIO_ILM_TRANSITION_WORKERS"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 30 08:14:58 UTC 2024 - 1.8K bytes - Viewed (0) -
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 Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 25 19:36:57 UTC 2022 - 988 bytes - Viewed (0) -
cmd/metrics-v3-audit.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "github.com/minio/minio/internal/logger" ) const ( auditFailedMessages = "failed_messages" auditTargetQueueLength = "target_queue_length" auditTotalMessages = "total_messages" targetID = "target_id" ) var (
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 10 14:50:39 UTC 2024 - 1.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt
// timeout is hit we like to tear down the whole stream. private const val SOURCE_UPSTREAM = 1 private const val SOURCE_FILE = 2 @JvmField val PREFIX_CLEAN = "OkHttp cache v1\n".encodeUtf8() @JvmField val PREFIX_DIRTY = "OkHttp DIRTY :(\n".encodeUtf8() private const val FILE_HEADER_SIZE = 32L /**
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.8K bytes - Viewed (0)