- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 605 for Const (0.02 seconds)
-
internal/config/api/api.go
"encoding/json" "errors" "fmt" "math" "slices" "strconv" "strings" "time" "github.com/minio/minio/internal/config" "github.com/minio/pkg/v3/env" ) // API sub-system constants const ( apiRequestsMax = "requests_max" apiClusterDeadline = "cluster_deadline" apiCorsAllowOrigin = "cors_allow_origin" apiRemoteTransportDeadline = "remote_transport_deadline"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 11.5K bytes - Click Count (1) -
internal/bucket/bandwidth/monitor_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package bandwidth import ( "reflect" "testing" "time" ) const ( oneMiB uint64 = 1024 * 1024 ) func TestMonitor_GetReport(t *testing.T) { type fields struct { activeBuckets map[BucketOptions]*bucketMeasurement endTime time.Time update2 uint64
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.3K bytes - Click Count (0) -
cmd/xl-storage-format-v2.go
// Likely candidate... version, err := x.getIdx(i) if err == nil { // Check write date... // RELEASE.2023-12-02T10-51-33Z -> RELEASE.2024-10-29T16-01-48Z const dateStart = 1701471618 const dateEnd = 1730156418 if version.WrittenByVersion > dateStart && version.WrittenByVersion < dateEnd && version.ObjectV2 != nil && len(version.ObjectV2.PartIndices) > 0 { var changed bool
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 65.6K bytes - Click Count (1) -
src/bufio/bufio_test.go
// fills the buffer before switching over to ReadFrom. func TestWriterReadFromWithBufferedData(t *testing.T) { const bufsize = 16 input := createTestInput(64) rfw := &readFromWriter{} w := NewWriterSize(rfw, bufsize) const writeSize = 8 if n, err := w.Write(input[:writeSize]); n != writeSize || err != nil {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 07 01:08:54 GMT 2025 - 51.6K bytes - Click Count (0) -
cmd/bucket-replication-metrics.go
package cmd import ( "fmt" "sync" "sync/atomic" "time" "github.com/rcrowley/go-metrics" ) //go:generate msgp -file $GOFILE const ( // beta is the weight used to calculate exponential moving average beta = 0.1 // Number of averages considered = 1/(1-beta) ) // rateMeasurement captures the transfer details for one bucket/target
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 15 12:04:40 GMT 2024 - 14.2K bytes - Click Count (0) -
utils/utils.go
case uint16: return strconv.FormatUint(uint64(v), 10) case uint32: return strconv.FormatUint(uint64(v), 10) case uint64: return strconv.FormatUint(v, 10) } return "" } const nestedRelationSplit = "__" // NestedRelationName nested relationships like `Manager__Company` func NestedRelationName(prefix, name string) string { return prefix + nestedRelationSplit + name }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 4.9K bytes - Click Count (0) -
docs/bucket/versioning/DESIGN.md
ModTime int64 // Unix nanoseconds. Signature [4]byte // Signature of metadata. Type uint8 // Type if the version Flags uint8 } ``` The following flags are defined: ``` const ( FreeVersion = 1 << 0 UsesDataDir = 1 << 1 InlineData = 1 << 2 ) ``` The "Metadata" section contains a single version, encoded in similar fashion as each version in the `Versions` array
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jul 17 15:43:14 GMT 2022 - 5.8K bytes - Click Count (0) -
cmd/signature-v4-utils.go
// client did not calculate sha256 of the payload. const unsignedPayload = "UNSIGNED-PAYLOAD" // http Header "x-amz-content-sha256" == "STREAMING-UNSIGNED-PAYLOAD-TRAILER" indicates that the // client did not calculate sha256 of the payload and there is a trailer. const unsignedPayloadTrailer = "STREAMING-UNSIGNED-PAYLOAD-TRAILER"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Nov 25 17:10:22 GMT 2024 - 9.1K bytes - Click Count (0) -
cmd/globals.go
"github.com/minio/minio/internal/pubsub" "github.com/minio/pkg/v3/certs" "github.com/minio/pkg/v3/env" xnet "github.com/minio/pkg/v3/net" ) // minio configuration related constants. const ( GlobalMinioDefaultPort = "9000" globalMinioDefaultRegion = "" // This is a sha256 output of ``arn:aws:iam::minio:user/admin``, // this is kept in present form to be compatible with S3 owner ID // requirements -
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Sep 03 18:23:41 GMT 2024 - 16.2K bytes - Click Count (1) -
.teamcity/src/main/kotlin/common/CommonExtensions.kt
import jetbrains.buildServer.configs.kotlin.failureConditions.BuildFailureOnText import jetbrains.buildServer.configs.kotlin.failureConditions.failOnText import jetbrains.buildServer.configs.kotlin.ui.add import java.util.Locale const val PLUGINS_PORTAL_URL_OVERRIDE = "-Dorg.gradle.internal.plugins.portal.url.override=%gradle.plugins.portal.url%" fun BuildSteps.customGradle( init: GradleBuildStep.() -> Unit, custom: GradleBuildStep.() -> Unit,
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 13 05:03:56 GMT 2026 - 14.8K bytes - Click Count (0)