Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 237 for have (0.17 sec)

  1. cmd/erasure-healing-common.go

    	}
    
    	for _, count := range vidMap {
    		// do we have enough common versions
    		// that have enough quorum to satisfy
    		// the etag.
    		if count >= quorum {
    			return etags
    		}
    	}
    
    	return make([]string, len(partsMetadata))
    }
    
    // Extracts list of times from FileInfo slice and returns, skips
    // slice elements which have errors.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  2. cmd/erasure-healing.go

    			// do have the FileInfo{}.
    			return validMeta, true
    		}
    
    		// We have no idea what this file is, leave it as is.
    		return validMeta, false
    	}
    
    	if nonActionableMetaErrs > 0 || nonActionablePartsErrs > 0 {
    		return validMeta, false
    	}
    
    	if validMeta.Deleted {
    		// notFoundPartsErrs is ignored since
    		// - delete marker does not have any parts
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 08 09:26:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  3. cni/pkg/install/install.go

    	// so we have to re-watch after re-copy to make sure we always have fresh watches.
    	watcher, err := util.CreateFileWatcher(targets...)
    	if err != nil {
    		return err
    	}
    	defer func() {
    		setNotReady(in.isReady)
    		watcher.Close()
    	}()
    
    	// Before we process whether any file events have been triggered, we must check that the file is correct
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  4. internal/s3select/message.go

    // Payload specification:
    // Progress message payload is an XML document containing information about the progress of a request.
    //   - BytesScanned => Number of bytes that have been processed before being uncompressed (if the file is compressed).
    //   - BytesProcessed => Number of bytes that have been processed after being uncompressed (if the file is compressed).
    //   - BytesReturned => Current number of bytes of records payload data returned by S3.
    //
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 15.2K bytes
    - Viewed (0)
  5. cmd/erasure-healing-common_test.go

    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    			},
    			time.Unix(0, 3).UTC(),
    			4,
    		},
    		{
    			// 3. Tests common time obtained when elements have a mixture of
    			// sentinel values and don't have read quorum on any of the values.
    			[]time.Time{
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 2).UTC(),
    				time.Unix(0, 1).UTC(),
    				time.Unix(0, 3).UTC(),
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  6. cni/pkg/nodeagent/informers.go

    			// for the pod. If this is a pod added via informer, the pod should have already gone thru
    			// the CNI plugin chain, and have a PodIP.
    			//
    			// If PodIPs exists, it is preferred, otherwise fallback to PodIP.
    			//
    			// If we get to this point and have a pod that really and truly has no IP in either of those,
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  7. src/bufio/scan.go

    // scanners.
    func (s *Scanner) Scan() bool {
    	if s.done {
    		return false
    	}
    	s.scanCalled = true
    	// Loop until we have a token.
    	for {
    		// See if we can get a token with what we already have.
    		// If we've run out of data but have an error, give the split function
    		// a chance to recover any remaining, possibly empty token.
    		if s.end > s.start || s.err != nil {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  8. cmd/s3-zip-handlers.go

    			// If the object you request does not exist,
    			// the error Amazon S3 returns depends on
    			// whether you also have the s3:ListBucket
    			// permission.
    			// * If you have the s3:ListBucket permission
    			//   on the bucket, Amazon S3 will return an
    			//   HTTP status code 404 ("no such key")
    			//   error.
    			// * if you don’t have the s3:ListBucket
    			//   permission, Amazon S3 will return an HTTP
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  9. internal/dsync/drwmutex.go

    		// then we need to make sure we have unlocked
    		// upto tolerance+1 - especially for RUnlock
    		// to ensure that we don't end up with active
    		// read locks on the resource after unlocking
    		// only half of the lockers.
    		return unlocksFailed >= tolerance
    	}
    	return unlocksFailed > tolerance
    }
    
    // checkQuorumLocked determines whether we have locked the required quorum of underlying locks or not
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  10. internal/etag/etag_test.go

    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // 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 etag
    
    import (
    	"context"
    	"io"
    	"net/http"
    	"strings"
    	"testing"
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 12.6K bytes
    - Viewed (0)
Back to top