Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,250 for struct (0.05 sec)

  1. cmd/bucket-replication-metrics.go

    	}
    	return w
    }
    
    // QStat holds queue stats for replication
    type QStat struct {
    	Count float64 `json:"count"`
    	Bytes float64 `json:"bytes"`
    }
    
    func (q *QStat) add(o QStat) QStat {
    	return QStat{Bytes: q.Bytes + o.Bytes, Count: q.Count + o.Count}
    }
    
    // InQueueMetric holds queue stats for replication
    type InQueueMetric struct {
    	Curr QStat `json:"curr" msg:"cq"`
    	Avg  QStat `json:"avg" msg:"aq"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. tests/associations_test.go

    	// do nothing
    }
    
    func TestAssociationEmptyQueryClause(t *testing.T) {
    	type Organization struct {
    		gorm.Model
    		Name string
    	}
    	type Region struct {
    		gorm.Model
    		Name          string
    		Organizations []Organization `gorm:"many2many:region_orgs;"`
    	}
    	type RegionOrg struct {
    		RegionId       uint
    		OrganizationId uint
    		Empty          myType
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 08 08:29:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  3. cmd/utils_test.go

    import (
    	"encoding/json"
    	"errors"
    	"fmt"
    	"net/http"
    	"net/url"
    	"reflect"
    	"strings"
    	"testing"
    )
    
    // Tests maximum object size.
    func TestMaxObjectSize(t *testing.T) {
    	sizes := []struct {
    		isMax bool
    		size  int64
    	}{
    		// Test - 1 - maximum object size.
    		{
    			true,
    			globalMaxObjectSize + 1,
    		},
    		// Test - 2 - not maximum object size.
    		{
    			false,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. cmd/config-versions.go

    	"github.com/minio/pkg/v3/quick"
    )
    
    // FileLogger is introduced to workaround the dependency about logrus
    type FileLogger struct {
    	Enable   bool   `json:"enable"`
    	Filename string `json:"filename"`
    }
    
    // ConsoleLogger is introduced to workaround the dependency about logrus
    type ConsoleLogger struct {
    	Enable bool `json:"enable"`
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v1.go

    type ChecksumInfo struct {
    	PartNumber int
    	Algorithm  BitrotAlgorithm
    	Hash       []byte
    }
    
    type checksumInfoJSON struct {
    	Name      string `json:"name"`
    	Algorithm string `json:"algorithm"`
    	Hash      string `json:"hash,omitempty"`
    }
    
    // MarshalJSON marshals the ChecksumInfo struct
    func (c ChecksumInfo) MarshalJSON() ([]byte, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), type BpfInsn struct, Jf uint8
    pkg syscall (netbsd-arm64-cgo), type BpfInsn struct, Jt uint8
    pkg syscall (netbsd-arm64-cgo), type BpfInsn struct, K uint32
    pkg syscall (netbsd-arm64-cgo), type BpfProgram struct
    pkg syscall (netbsd-arm64-cgo), type BpfProgram struct, Insns *BpfInsn
    pkg syscall (netbsd-arm64-cgo), type BpfProgram struct, Len uint32
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Aug 08 18:44:16 UTC 2019
    - 452.6K bytes
    - Viewed (0)
  7. cmd/object-api-options_test.go

    	bucket := minioMetaBucket
    	ctx := context.Background()
    	testCases := []struct {
    		name            string
    		headers         http.Header
    		wantObjectAttrs map[string]struct{}
    	}{
    		{
    			name:            "empty header",
    			headers:         http.Header{},
    			wantObjectAttrs: map[string]struct{}{},
    		},
    		{
    			name: "single header line",
    			headers: http.Header{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. api/go1.8.txt

    pkg database/sql, type ColumnType struct
    pkg database/sql, type IsolationLevel int
    pkg database/sql, type NamedArg struct
    pkg database/sql, type NamedArg struct, Name string
    pkg database/sql, type NamedArg struct, Value interface{}
    pkg database/sql, type TxOptions struct
    pkg database/sql, type TxOptions struct, Isolation IsolationLevel
    pkg database/sql, type TxOptions struct, ReadOnly bool
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Dec 21 05:25:57 UTC 2016
    - 16.3K bytes
    - Viewed (0)
  9. api/go1.12.txt

    pkg syscall (freebsd-386), type Stat_t struct, Ctim_ext int32
    pkg syscall (freebsd-386), type Stat_t struct, Dev uint64
    pkg syscall (freebsd-386), type Stat_t struct, Gen uint64
    pkg syscall (freebsd-386), type Stat_t struct, Ino uint64
    pkg syscall (freebsd-386), type Stat_t struct, Mtim_ext int32
    pkg syscall (freebsd-386), type Stat_t struct, Nlink uint64
    pkg syscall (freebsd-386), type Stat_t struct, Padding0 int16
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 02 21:21:53 UTC 2019
    - 13.5K bytes
    - Viewed (0)
  10. cmd/net_test.go

    package cmd
    
    import (
    	"errors"
    	"fmt"
    	"reflect"
    	"testing"
    
    	"github.com/minio/minio-go/v7/pkg/set"
    )
    
    func TestMustSplitHostPort(t *testing.T) {
    	testCases := []struct {
    		hostPort     string
    		expectedHost string
    		expectedPort string
    	}{
    		{":54321", "", "54321"},
    		{"server:54321", "server", "54321"},
    		{":0", "", "0"},
    		{"server:https", "server", "443"},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 19 08:43:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top