Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 118 for unexported (0.09 sec)

  1. common/config/.golangci.yml

        severity: "warning"
        confidence: 0.0
        rules:
          - name: blank-imports
          - name: context-keys-type
          - name: time-naming
          - name: var-declaration
          - name: unexported-return
          - name: errorf
          - name: context-as-argument
          - name: dot-imports
          - name: error-return
          - name: error-strings
          - name: error-naming
          - name: increment-decrement
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. src/cmd/api/main_test.go

    	sig := m.Type().(*types.Signature)
    	recv := sig.Recv().Type()
    	// report exported methods with unexported receiver base type
    	if true {
    		base := recv
    		if p, _ := recv.(*types.Pointer); p != nil {
    			base = p.Elem()
    		}
    		if obj := base.(*types.Named).Obj(); !obj.Exported() {
    			log.Fatalf("exported method with unexported receiver base type: %s", m)
    		}
    	}
    	tps := ""
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v1.go

    func isXLMetaErasureInfoValid(data, parity int) bool {
    	return ((data >= parity) && (data > 0) && (parity >= 0))
    }
    
    //msgp:clearomitted
    
    //go:generate msgp -file=$GOFILE -unexported
    
    // A xlMetaV1Object represents `xl.meta` metadata header.
    type xlMetaV1Object struct {
    	Version string   `json:"version"` // Version of the current `xl.meta`.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. cmd/background-newdisks-heal-ops.go

    	"github.com/minio/pkg/v3/env"
    )
    
    const (
    	defaultMonitorNewDiskInterval = time.Second * 10
    	healingTrackerFilename        = ".healing.bin"
    )
    
    //go:generate msgp -file $GOFILE -unexported
    
    // healingTracker is used to persist healing information during a heal.
    type healingTracker struct {
    	disk StorageAPI    `msg:"-"`
    	mu   *sync.RWMutex `msg:"-"`
    
    	ID         string
    	PoolIndex  int
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. cmd/batch-rotate.go

    //   retry:
    //     attempts: 10 # number of retries for the job before giving up
    //     delay: "500ms" # least amount of delay between each retry
    
    //go:generate msgp -file $GOFILE -unexported
    
    // BatchKeyRotationType defines key rotation type
    type BatchKeyRotationType string
    
    const (
    	sses3  BatchKeyRotationType = "sse-s3"
    	ssekms BatchKeyRotationType = "sse-kms"
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. cmd/bucket-metadata.go

    	NotificationConfigUpdatedAt      time.Time
    	BucketTargetsConfigUpdatedAt     time.Time
    	BucketTargetsConfigMetaUpdatedAt time.Time
    	// Add a new UpdatedAt field and update lastUpdate function
    
    	// Unexported fields. Must be updated atomically.
    	policyConfig           *policy.BucketPolicy
    	notificationConfig     *event.Config
    	lifecycleConfig        *lifecycle.Lifecycle
    	objectLockConfig       *objectlock.Config
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. src/cmd/cgo/doc.go

    only operation you can do with a zero-sized field) you must take the
    address of the struct and add the size of the struct.
    
    Cgo translates C types into equivalent unexported Go types.
    Because the translations are unexported, a Go package should not
    expose C types in its exported API: a C type used in one Go package
    is different from the same C type used in another.
    
    Any C function (even void functions) may be called in a multiple
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 01 22:52:54 UTC 2024
    - 44K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-rebalance.go

    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/env"
    	"github.com/minio/pkg/v3/workers"
    )
    
    //go:generate msgp -file $GOFILE -unexported
    
    // rebalanceStats contains per-pool rebalance statistics like number of objects,
    // versions and bytes rebalanced out of a pool
    type rebalanceStats struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    	} else {
    		if _, err = c.PutObject(ctx, tgtBucket, pathJoin(tgtPrefix, objInfo.Name), rd, size, "", "", putOpts); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    //go:generate msgp -file $GOFILE -unexported
    
    // batchJobInfo current batch replication information
    type batchJobInfo struct {
    	mu sync.RWMutex `json:"-" msg:"-"`
    
    	Version       int       `json:"-" msg:"v"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-decom.go

    	return PoolStatus{
    		ID:           ps.ID,
    		CmdLine:      ps.CmdLine,
    		LastUpdate:   ps.LastUpdate,
    		Decommission: ps.Decommission.Clone(),
    	}
    }
    
    //go:generate msgp -file $GOFILE -unexported
    type poolMeta struct {
    	Version int          `msg:"v"`
    	Pools   []PoolStatus `msg:"pls"`
    
    	// Value should not be saved when we have not loaded anything yet.
    	dontSave bool `msg:"-"`
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
Back to top