Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 281 for street (0.24 sec)

  1. cmd/xl-storage-disk-id-check.go

    	atomic.StoreInt64(&d.lastSuccess, time.Now().UnixNano())
    }
    
    func (d *diskHealthTracker) isFaulty() bool {
    	return d.status.Load() == diskHealthFaulty
    }
    
    type (
    	healthDiskCtxKey   struct{}
    	healthDiskCtxValue struct {
    		lastSuccess *int64
    	}
    )
    
    // logSuccess will update the last successful operation time.
    func (h *healthDiskCtxValue) logSuccess() {
    	atomic.StoreInt64(h.lastSuccess, time.Now().UnixNano())
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  2. internal/s3select/json/errors.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 json
    
    type s3Error struct {
    	code       string
    	message    string
    	statusCode int
    	cause      error
    }
    
    func (err *s3Error) Cause() error {
    	return err.cause
    }
    
    func (err *s3Error) ErrorCode() string {
    	return err.code
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.6K bytes
    - Viewed (0)
  3. cmd/storagemetric_string.go

    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[storageMetricMakeVolBulk-0]
    	_ = x[storageMetricMakeVol-1]
    	_ = x[storageMetricListVols-2]
    	_ = x[storageMetricStatVol-3]
    	_ = x[storageMetricDeleteVol-4]
    	_ = x[storageMetricWalkDir-5]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Dec 01 20:10:54 GMT 2022
    - 2K bytes
    - Viewed (0)
  4. cmd/update.go

    		}
    	}
    	uaAppend("; ", "")
    
    	if cpus, err := gopsutilcpu.Info(); err == nil && len(cpus) > 0 {
    		cpuMap := make(map[string]struct{}, len(cpus))
    		coreMap := make(map[string]struct{}, len(cpus))
    		for i := range cpus {
    			cpuMap[cpus[i].PhysicalID] = struct{}{}
    			coreMap[cpus[i].CoreID] = struct{}{}
    		}
    		cpu := cpus[0]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-rebalance.go

    )
    
    //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 {
    	InitFreeSpace uint64 `json:"initFreeSpace" msg:"ifs"` // Pool free space at the start of rebalance
    	InitCapacity  uint64 `json:"initCapacity" msg:"ic"`   // Pool capacity at the start of rebalance
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  6. cmd/bucket-encryption_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"testing"
    )
    
    func TestValidateBucketSSEConfig(t *testing.T) {
    	testCases := []struct {
    		inputXML    string
    		expectedErr error
    		shouldPass  bool
    	}{
    		// MinIO supported XML
    		{
    			inputXML: `<ServerSideEncryptionConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
    			<Rule>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 14 07:59:05 GMT 2021
    - 2.1K bytes
    - Viewed (0)
  7. cmd/object-api-common.go

    // Global object layer mutex, used for safely updating object layer.
    var globalObjLayerMutex sync.RWMutex
    
    // Global object layer, only accessed by globalObjectAPI.
    var globalObjectAPI ObjectLayer
    
    type storageOpts struct {
    	cleanUp     bool
    	healthCheck bool
    }
    
    // Depending on the disk type network or local, initialize storage API.
    func newStorageAPI(endpoint Endpoint, opts storageOpts) (storage StorageAPI, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  8. internal/config/identity/ldap/legacy.go

    package ldap
    
    import (
    	"github.com/minio/minio/internal/config"
    )
    
    // LegacyConfig contains AD/LDAP server connectivity information from old config
    // V33.
    type LegacyConfig struct {
    	Enabled bool `json:"enabled"`
    
    	// E.g. "ldap.minio.io:636"
    	ServerAddr string `json:"serverAddr"`
    
    	// User DN search parameters
    	UserDNSearchBaseDistName  string   `json:"userDNSearchBaseDN"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 08 05:12:36 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  9. docs/config/README.md

    list_quorum                     (string)    set the acceptable quorum expected for list operations e.g. "optimal", "reduced", "disk", "strict" (default: 'strict')
    replication_priority            (string)    set replication priority (default: 'auto')
    transition_workers              (number)    set the number of transition workers (default: '100')
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 17.7K bytes
    - Viewed (0)
  10. internal/once/init.go

    import (
    	"context"
    	"sync"
    	"sync/atomic"
    )
    
    // Inspired from Golang sync.Once but it is only marked
    // initialized when the provided function returns nil.
    
    // Init represents the structure.
    type Init struct {
    	done uint32
    	m    sync.Mutex
    }
    
    // Do is similar to sync.Once.Do - makes one successful
    // call to the function. ie, it invokes the function
    // if it is not successful yet.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 04:20:31 GMT 2023
    - 2.1K bytes
    - Viewed (0)
Back to top