Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 559 for Ball (0.14 sec)

  1. cmd/data-scanner-metric.go

    }
    
    // currentPathUpdater provides a lightweight update function for keeping track of
    // current objects for each disk.
    // Returns a function that can be used to update the current object
    // and a function to call to when processing finished.
    func (p *scannerMetrics) currentPathUpdater(disk, initial string) (update func(path string), done func()) {
    	initialPtr := unsafe.Pointer(&initial)
    	tracker := &currentPathTracker{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 25 05:15:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  2. cmd/bitrot-streaming.go

    	if offset%b.shardSize != 0 {
    		// Offset should always be aligned to b.shardSize
    		// Can never happen unless there are programmer bugs
    		return 0, errUnexpected
    	}
    	if b.rc == nil {
    		// For the first ReadAt() call we need to open the stream for reading.
    		b.currOffset = offset
    		streamOffset := (offset/b.shardSize)*int64(b.h.Size()) + offset
    		if len(b.data) == 0 && b.tillOffset != streamOffset {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. cmd/erasure-healing.go

    	if err := listPathRaw(ctx, lopts); err != nil {
    		return fmt.Errorf("listPathRaw returned %w: opts(%#v)", err, lopts)
    	}
    
    	return nil
    }
    
    // listAllBuckets lists all buckets from all disks. It also
    // returns the occurrence of each buckets in all disks
    func listAllBuckets(ctx context.Context, storageDisks []StorageAPI, healBuckets map[string]VolInfo, readQuorum int) error {
    	g := errgroup.WithNErrs(len(storageDisks))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  4. cmd/server-main.go

    		if globalIsDistErasure {
    			logger.Info("Waiting for all MinIO sub-systems to be initialize...")
    		}
    
    		// Upon success migrating the config, initialize all sub-systems
    		// if all sub-systems initialized successfully return right away
    		err := initConfigSubsystem(ctx, newObject)
    		if err == nil {
    			// All successful return.
    			if globalIsDistErasure {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 33K bytes
    - Viewed (1)
  5. internal/logger/logger.go

    // uniq swaps away duplicate elements in data, returning the size of the
    // unique set. data is expected to be pre-sorted, and the resulting set in
    // the range [0:size] will remain in sorted order. Uniq, following a
    // sort.Sort call, can be used to prepare arbitrary inputs for use as sets.
    func uniq(data sort.Interface) (size int) {
    	p, l := 0, data.Len()
    	if l <= 1 {
    		return l
    	}
    	for i := 1; i < l; i++ {
    		if !data.Less(p, i) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  6. cmd/object-handlers_test.go

    			if objLen == 0 {
    				continue
    			}
    
    			// Various ranges to query - all are valid!
    			rangeHdrs := []string{
    				// Read first byte of object
    				fmt.Sprintf("bytes=%d-%d", 0, 0),
    				// Read second byte of object
    				fmt.Sprintf("bytes=%d-%d", 1, 1),
    				// Read last byte of object
    				fmt.Sprintf("bytes=-%d", 1),
    				// Read all but first byte of object
    				"bytes=1-",
    				// Read first half of object
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    }
    
    // ServiceHandler - POST /minio/admin/v3/service?action={action}
    // ----------
    // Supports following actions:
    // - restart (restarts all the MinIO instances in a setup)
    // - stop (stops all the MinIO instances in a setup)
    // - freeze (freezes all incoming S3 API calls)
    // - unfreeze (unfreezes previously frozen S3 API calls)
    func (a adminAPIHandlers) ServiceHandler(w http.ResponseWriter, r *http.Request) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  8. cmd/lock-rest-client.go

    	return c.call(ctx, lockRPCRLock, &args)
    }
    
    // Lock calls lock REST API.
    func (c *lockRESTClient) Lock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    	return c.call(ctx, lockRPCLock, &args)
    }
    
    // RUnlock calls read unlock REST API.
    func (c *lockRESTClient) RUnlock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    	return c.call(ctx, lockRPCRUnlock, &args)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Nov 24 17:07:14 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/arch/arm.go

    	"BCC":  true,
    	"BLO":  true,
    	"BMI":  true,
    	"BPL":  true,
    	"BVS":  true,
    	"BVC":  true,
    	"BHI":  true,
    	"BLS":  true,
    	"BGE":  true,
    	"BLT":  true,
    	"BGT":  true,
    	"BLE":  true,
    	"CALL": true,
    	"JMP":  true,
    }
    
    func jumpArm(word string) bool {
    	return armJump[word]
    }
    
    // IsARMCMP reports whether the op (as defined by an arm.A* constant) is
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Nov 18 17:59:44 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  10. misc/go_android_exec/main.go

    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This wrapper uses syscall.Flock to prevent concurrent adb commands,
    // so for now it only builds on platforms that support that system call.
    // TODO(#33974): use a more portable library for file locking.
    
    //go:build darwin || dragonfly || freebsd || illumos || linux || netbsd || openbsd
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
Back to top