Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 68 for moving (0.32 sec)

  1. internal/bucket/bandwidth/monitor.go

    	bucketsThrottle    map[BucketOptions]*bucketThrottle
    	bucketsMeasurement map[BucketOptions]*bucketMeasurement // Buckets with objects in flight
    
    	bucketMovingAvgTicker *time.Ticker    // Ticker for calculating moving averages
    	ctx                   context.Context // Context for generate
    	NodeCount             uint64
    }
    
    // NewMonitor returns a monitor with defaults.
    func NewMonitor(ctx context.Context, numNodes uint64) *Monitor {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 6K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    		// It is possible that some drives may not have `xl.meta` file
    		// in such scenarios verify if at least `part.1` files exist
    		// to verify for legacy version.
    		if formatLegacy {
    			// We only need this code if we are moving
    			// from `xl.json` to `xl.meta`, we can avoid
    			// one extra readdir operation here for all
    			// new deployments.
    			entries, err := readDir(currentDataPath)
    			if err != nil && err != errFileNotFound {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  3. istioctl/pkg/multixds/gather.go

    // By this way, even if istioctl cannot access a specific `istiod` instance directly,
    // `istioctl` can access the debug endpoint.
    // If `all` is true, `queryDebugSynczViaAgents` iterates all the pod having a proxy
    // except the pods of which status information is already queried.
    func queryDebugSynczViaAgents(all bool, dr *discovery.DiscoveryRequest, istioNamespace string, kubeClient kube.CLIClient,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  4. chainable_api.go

    	})
    	return
    }
    
    // Having specify HAVING conditions for GROUP BY
    //
    //	// Select the sum age of users with name jinzhu
    //	db.Model(&User{}).Select("name, sum(age) as total").Group("name").Having("name = ?", "jinzhu").Find(&result)
    func (db *DB) Having(query interface{}, args ...interface{}) (tx *DB) {
    	tx = db.getInstance()
    	tx.Statement.AddClause(clause.GroupBy{
    		Having: tx.Statement.BuildCondition(query, args...),
    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)
  5. clause/benchmarks_test.go

    			}},
    			clause.Where{Exprs: []clause.Expression{
    				clause.Or(clause.Gt{Column: "score", Value: 100}, clause.Like{Column: "name", Value: "%linus%"}),
    			}},
    			clause.GroupBy{Columns: []clause.Column{{Name: "role"}}, Having: []clause.Expression{clause.Eq{"role", "admin"}}},
    			clause.Limit{Limit: &limit10, Offset: 20},
    			clause.OrderBy{Columns: []clause.OrderByColumn{{Column: clause.PrimaryColumn, Desc: true}}},
    		}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Oct 07 12:14:14 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  6. cmd/copy-part-range.go

    		return nil, errInvalidRange
    	}
    	return hrange, nil
    }
    
    // checkCopyPartRangeWithSize adds more check to the range string in case of
    // copy object part. This API requires having specific start and end  range values
    // e.g. 'bytes=3-10'. Other use cases will be rejected.
    func checkCopyPartRangeWithSize(rs *HTTPRangeSpec, resourceSize int64) (err error) {
    	if rs == nil {
    		return nil
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jun 18 03:27:04 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  7. istioctl/pkg/clioptions/central.go

    	// XdsPodPort is a port exposing XDS (typically 15010 or 15012)
    	XdsPodPort int
    
    	// CertDir is the local directory containing certificates
    	CertDir string
    
    	// Timeout is how long to wait before giving up on XDS
    	Timeout time.Duration
    
    	// InsecureSkipVerify skips client verification the server's certificate chain and host name.
    	InsecureSkipVerify bool
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jun 06 03:39:27 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  8. tests/postgres_test.go

    	}
    
    	DB.Migrator().DropTable(&Post{}, &Category{}, "post_categories")
    	DB.AutoMigrate(&Post{}, &Category{})
    
    	post := Post{
    		Title: "Hello World",
    		Categories: []*Category{
    			{Title: "Coding"},
    			{Title: "Golang"},
    		},
    	}
    
    	if err := DB.Create(&post).Error; err != nil {
    		t.Errorf("Failed, got error: %v", err)
    	}
    }
    
    func TestPostgresOnConstraint(t *testing.T) {
    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)
  9. cmd/endpoint-ellipses.go

    	}
    	result = totalSizes[0]
    	for i := 1; i < len(totalSizes); i++ {
    		result = gcd(result, totalSizes[i])
    	}
    	return result
    }
    
    // isValidSetSize - checks whether given count is a valid set size for erasure coding.
    var isValidSetSize = func(count uint64) bool {
    	return (count >= setSizes[0] && count <= setSizes[len(setSizes)-1])
    }
    
    func commonSetDriveCount(divisibleSize uint64, setCounts []uint64) (setSize uint64) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  10. cmd/batch-rotate.go

    //     token: "Bearer xxxxx" # optional authentication token for the notification endpoint
    
    //   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 (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
Back to top