- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 568 for CONST (0.04 sec)
-
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 Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Sep 03 20:55:15 UTC 2024 - 18.6K bytes - Viewed (0) -
cmd/mrf.go
"io" "sync" "sync/atomic" "time" "github.com/google/uuid" "github.com/minio/madmin-go/v3" "github.com/minio/pkg/v3/wildcard" "github.com/tinylib/msgp/msgp" ) const ( mrfOpsQueueSize = 100000 ) const ( healDir = ".heal" healMRFDir = bucketMetaPrefix + SlashSeparator + healDir + SlashSeparator + "mrf" healMRFMetaFormat = 1 healMRFMetaVersionV1 = 1 )
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:26:05 UTC 2024 - 6.5K bytes - Viewed (0) -
internal/disk/directio_darwin.go
package disk import ( "os" "github.com/ncw/directio" "golang.org/x/sys/unix" ) // ODirectPlatform indicates if the platform supports O_DIRECT const ODirectPlatform = true // OpenFileDirectIO - bypass kernel cache. func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) { return directio.OpenFile(filePath, flag, perm) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 17 14:31:36 UTC 2023 - 1.4K bytes - Viewed (0) -
cmd/stserrorcode_string.go
_ = x[ErrSTSInsecureConnection-8] _ = x[ErrSTSInvalidClientCertificate-9] _ = x[ErrSTSNotInitialized-10] _ = x[ErrSTSIAMNotInitialized-11] _ = x[ErrSTSUpstreamError-12] _ = x[ErrSTSInternalError-13] }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 03 20:24:25 UTC 2023 - 1.4K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.5K bytes - Viewed (0) -
cmd/metrics-v3-scanner.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" "time" ) const ( scannerBucketScansFinished = "bucket_scans_finished" scannerBucketScansStarted = "bucket_scans_started" scannerDirectoriesScanned = "directories_scanned" scannerObjectsScanned = "objects_scanned"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 19:29:25 UTC 2024 - 2.8K bytes - Viewed (0) -
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 Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 15 01:09:38 UTC 2024 - 1.3K bytes - Viewed (0) -
cmd/metrics-v3-cluster-usage.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" "time" ) const ( usageSinceLastUpdateSeconds = "since_last_update_seconds" usageTotalBytes = "total_bytes" usageObjectsCount = "count" usageVersionsCount = "versions_count"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jul 14 18:11:42 UTC 2024 - 6.5K bytes - Viewed (0) -
internal/crypto/sse.go
"context" "errors" "fmt" "io" "net/http" "github.com/minio/minio/internal/fips" "github.com/minio/minio/internal/ioutil" "github.com/minio/minio/internal/logger" "github.com/minio/sio" ) const ( // SealAlgorithm is the encryption/sealing algorithm used to derive & seal // the key-encryption-key and to en/decrypt the object data. SealAlgorithm = "DAREv2-HMAC-SHA256"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 30 15:26:43 UTC 2022 - 4.4K bytes - Viewed (0) -
cmd/erasure-decode_test.go
panic(err) } closeBitrotReaders(bitrotReaders) } } func BenchmarkErasureDecodeQuick(b *testing.B) { const size = 12 * 1024 * 1024 b.Run(" 00|00 ", func(b *testing.B) { benchmarkErasureDecode(2, 2, 0, 0, size, b) }) b.Run(" 00|X0 ", func(b *testing.B) { benchmarkErasureDecode(2, 2, 0, 1, size, b) })
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 21.1K bytes - Viewed (0)