- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 614 for const (0.2 seconds)
-
cmd/metrics-v3-bucket-replication.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 ( bucketReplLastHrFailedBytes = "last_hour_failed_bytes" bucketReplLastHrFailedCount = "last_hour_failed_count" bucketReplLastMinFailedBytes = "last_minute_failed_bytes"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jun 04 20:45:31 GMT 2025 - 8.3K bytes - Click Count (0) -
cmd/metrics-v3-system-process.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "runtime" "time" "github.com/prometheus/procfs" ) const ( processLocksReadTotal = "locks_read_total" processLocksWriteTotal = "locks_write_total" processCPUTotalSeconds = "cpu_total_seconds" processGoRoutineTotal = "go_routine_total"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jun 20 17:55:03 GMT 2024 - 6.5K bytes - Click Count (0) -
internal/kms/conn.go
MAC(context.Context, *MACRequest) ([]byte, error) } var ( // compiler checks _ conn = (*kmsConn)(nil) _ conn = (*kesConn)(nil) _ conn = secretKey{} ) // Supported KMS types const ( MinKMS Type = iota + 1 // MinIO KMS MinKES // MinIO MinKES Builtin // Builtin single key KMS implementation ) // Type identifies the KMS type. type Type uint
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Aug 18 06:43:03 GMT 2024 - 5K bytes - Click Count (0) -
doc/go_spec.html
constant, even if the literal's fractional part is zero. </p> <pre> const Pi float64 = 3.14159265358979323846 const zero = 0.0 // untyped floating-point constant const ( size int64 = 1024 eof = -1 // untyped integer constant ) const a, b, c = 3, 4, "foo" // a = 3, b = 4, c = "foo", untyped integer and string constants const u, v float32 = 0, 3 // u = 0.0, v = 3.0 </pre> <p>
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 02 23:07:19 GMT 2025 - 286.5K bytes - Click Count (1) -
cmd/healthcheck-handler.go
package cmd import ( "context" "net/http" "strconv" "time" xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/kms" ) const unavailable = "offline" func checkHealth(w http.ResponseWriter) ObjectLayer { objLayer := newObjectLayerFn() if objLayer == nil { w.Header().Set(xhttp.MinIOServerStatus, unavailable)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jun 26 07:44:34 GMT 2024 - 6.9K bytes - Click Count (0) -
cmd/httprange.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "errors" "fmt" "strconv" "strings" ) const ( byteRangePrefix = "bytes=" ) // HTTPRangeSpec represents a range specification as supported by S3 GET // object request. // // Case 1: Not present -> represented by a nil RangeSpec
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.9K bytes - Click Count (0) -
cmd/iam.go
// Types of users configured in the server. const ( // This mode uses the internal users system in MinIO. MinIOUsersSysType UsersSysType = "MinIOUsersSys" // This mode uses users and groups from a configured LDAP // server. LDAPUsersSysType UsersSysType = "LDAPUsersSys" ) const ( statusEnabled = "enabled" statusDisabled = "disabled" ) const ( embeddedPolicyType = "embedded-policy"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 76.5K bytes - Click Count (0) -
cmd/last-minute.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. //go:generate msgp -file=$GOFILE -unexported package cmd import ( "time" "github.com/minio/madmin-go/v3" ) const ( sizeLessThan1KiB = iota sizeLessThan1MiB sizeLessThan10MiB sizeLessThan100MiB sizeLessThan1GiB sizeGreaterThan1GiB // Add new entries here sizeLastElemMarker )
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jul 05 17:40:45 GMT 2023 - 4.8K bytes - Click Count (0) -
cmd/dummy-data-generator_test.go
if totalLength < 0 { panic("Negative length passed to DummyDataGen!") } if skipOffset < 0 { panic("Negative rotations are not allowed") } skipOffset %= int64(len(alphabets)) const multiply = 100 as := bytes.Repeat(alphabets, multiply) b := as[skipOffset : skipOffset+int64(len(alphabets)*(multiply-1))] return &DummyDataGen{ length: totalLength, b: b, } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0) -
internal/dsync/drwmutex_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package dsync import ( "context" "fmt" "runtime" "sync/atomic" "testing" "time" ) const ( id = "1234-5678" source = "main.go" ) func testSimpleWriteLock(t *testing.T, duration time.Duration) (locked bool) { drwm1 := NewDRWMutex(ds, "simplelock") ctx1, cancel1 := context.WithCancel(t.Context())
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.4K bytes - Click Count (0)