Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for zones (0.12 sec)

  1. cmd/erasure-server-pool-decom.go

    	decomBuckets := make([]decomBucketInfo, len(buckets))
    	for i := range buckets {
    		decomBuckets[i] = decomBucketInfo{
    			Name: buckets[i].Name,
    		}
    	}
    
    	// Buckets data are dispersed in multiple zones/sets, make
    	// sure to decommission the necessary metadata.
    	decomMetaBuckets := []decomBucketInfo{
    		{
    			Name:   minioMetaBucket,
    			Prefix: minioConfigPrefix,
    		},
    		{
    			Name:   minioMetaBucket,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  2. internal/s3select/sql/timestampfuncs.go

    		return FromInt(int64(t.Minute())), nil
    	case timePartSecond:
    		return FromInt(int64(t.Second())), nil
    	case timePartTimezoneHour:
    		_, zoneOffset := t.Zone()
    		return FromInt(int64(zoneOffset / 3600)), nil
    	case timePartTimezoneMinute:
    		_, zoneOffset := t.Zone()
    		return FromInt(int64((zoneOffset % 3600) / 60)), nil
    	default:
    		// This does not happen
    		return nil, errNotImplemented
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  3. tests/postgres_test.go

    		t.Skip()
    	}
    
    	type Yasuo struct {
    		ID        string `gorm:"default:gen_random_uuid()"`
    		Name      string
    		CreatedAt time.Time `gorm:"type:TIMESTAMP WITHOUT TIME ZONE"`
    		UpdatedAt time.Time `gorm:"type:TIMESTAMP WITHOUT TIME ZONE;default:current_timestamp"`
    	}
    
    	if err := DB.Exec("CREATE EXTENSION IF NOT EXISTS pgcrypto;").Error; err != nil {
    		t.Errorf("Failed to create extension pgcrypto, got error %v", err)
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Oct 08 09:16:32 GMT 2022
    - 6.4K bytes
    - Viewed (3)
  4. operator/cmd/mesh/manifest-diff.go

    type manifestDiffArgs struct {
    	// compareDir indicates comparison between directory.
    	compareDir bool
    	// verbose generates verbose output.
    	verbose bool
    	// selectResources constrains the list of resources to compare to only the ones in this list, ignoring all others.
    	// The format of each list item is :: and the items are comma separated. The * character represents wildcard selection.
    	// e.g.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. cmd/leak-detect_test.go

    			ok = false
    			continue
    		}
    		break
    	}
    	return ok
    }
    
    // pickRelevantGoroutines returns all goroutines we care about for the purpose
    // of leak checking. It excludes testing or runtime ones.
    func pickRelevantGoroutines() (gs []string) {
    	// get runtime stack buffer.
    	buf := debug.Stack()
    	// runtime stack of go routines will be listed with 2 blank spaces between each of them, so split on "\n\n" .
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  6. src/bufio/scan.go

    // in the tests.
    func isSpace(r rune) bool {
    	if r <= '\u00FF' {
    		// Obvious ASCII ones: \t through \r plus space. Plus two Latin-1 oddballs.
    		switch r {
    		case ' ', '\t', '\n', '\v', '\f', '\r':
    			return true
    		case '\u0085', '\u00A0':
    			return true
    		}
    		return false
    	}
    	// High-valued ones.
    	if '\u2000' <= r && r <= '\u200a' {
    		return true
    	}
    	switch r {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  7. cmd/net.go

    // isHostIP - helper for validating if the provided arg is an ip address.
    func isHostIP(ipAddress string) bool {
    	host, _, err := net.SplitHostPort(ipAddress)
    	if err != nil {
    		host = ipAddress
    	}
    	// Strip off IPv6 zone information.
    	if i := strings.Index(host, "%"); i > -1 {
    		host = host[:i]
    	}
    	return net.ParseIP(host) != nil
    }
    
    // extractHostPort - extracts host/port from many address formats
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  8. chainable_api.go

    // Unscoped allows queries to include records marked as deleted,
    // overriding the soft deletion behavior.
    // Example:
    //    var users []User
    //    db.Unscoped().Find(&users)
    //    // Retrieves all users, including deleted ones.
    func (db *DB) Unscoped() (tx *DB) {
    	tx = db.getInstance()
    	tx.Statement.Unscoped = true
    	return
    }
    
    func (db *DB) Raw(sql string, values ...interface{}) (tx *DB) {
    	tx = db.getInstance()
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  9. cmd/admin-heal-ops.go

    	t.HealedBuckets = append(make([]string, 0, len(tracker.HealedBuckets)), tracker.HealedBuckets...)
    	ahs.healStatus[tracker.ID] = t
    	tracker.mu.RUnlock()
    }
    
    // Sort by zone, set and disk index
    func sortDisks(disks []madmin.Disk) {
    	sort.Slice(disks, func(i, j int) bool {
    		a, b := &disks[i], &disks[j]
    		if a.PoolIndex != b.PoolIndex {
    			return a.PoolIndex < b.PoolIndex
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  10. istioctl/cmd/sysexits.go

    // See e.g. https://man.openbsd.org/sysexits.3
    // or `less /usr/includes/sysexits.h` if you're on Linux
    //
    // Picking the right range is tricky--there are a lot of reserved ones (see
    // https://www.tldp.org/LDP/abs/html/exitcodes.html#EXITCODESREF) and then some
    // used by convention (see sysexits).
    //
    // The intention here is to use 64-78 in a way that matches the attempt in
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.9K bytes
    - Viewed (0)
Back to top