Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for whale (0.13 sec)

  1. cmd/bitrot-whole.go

    }
    
    func (b *wholeBitrotWriter) Close() error {
    	return nil
    }
    
    // Returns whole-file bitrot writer.
    func newWholeBitrotWriter(disk StorageAPI, volume, filePath string, algo BitrotAlgorithm, shardSize int64) io.WriteCloser {
    	return &wholeBitrotWriter{disk, volume, filePath, shardSize, algo.New()}
    }
    
    // Implementation to verify bitrot for the whole file.
    type wholeBitrotReader struct {
    	disk       StorageAPI
    	volume     string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. cmd/copy-part-range.go

    // offsets. See
    // http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadUploadPartCopy.html
    // for full details. This function treats an empty rangeString as
    // referring to the whole resource.
    func parseCopyPartRangeSpec(rangeString string) (hrange *HTTPRangeSpec, err error) {
    	hrange, err = parseRequestRangeSpec(rangeString)
    	if err != nil {
    		return nil, err
    	}
    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)
  3. cmd/leak-detect_test.go

    	}
    }
    
    // list of functions to be ignored from the stack trace.
    // Leak detection is done when tests are run, should ignore the tests related functions,
    // and other runtime functions while identifying leaks.
    var ignoredStackFns = []string{
    	"",
    	// Below are the stacks ignored by the upstream leaktest code.
    	"testing.Main(",
    	"testing.tRunner(",
    	"testing.tRunner(",
    	"runtime.goexit",
    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)
  4. internal/bucket/lifecycle/transition.go

    func (tDate *TransitionDate) UnmarshalXML(d *xml.Decoder, startElement xml.StartElement) error {
    	var dateStr string
    	err := d.DecodeElement(&dateStr, &startElement)
    	if err != nil {
    		return err
    	}
    	// While AWS documentation mentions that the date specified
    	// must be present in ISO 8601 format, in reality they allow
    	// users to provide RFC 3339 compliant dates.
    	trnDate, err := time.Parse(time.RFC3339, dateStr)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 10 17:07:49 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  5. cmd/metacache-manager.go

    			debug.PrintStack()
    		}
    		return b
    	}
    
    	m.mu.RUnlock()
    	m.mu.Lock()
    	defer m.mu.Unlock()
    	// See if someone else fetched it while we waited for the lock.
    	b, ok = m.buckets[bucket]
    	if ok {
    		if b.bucket != bucket {
    			logger.Info("getBucket: newly cached bucket %s does not match this bucket %s", b.bucket, bucket)
    			debug.PrintStack()
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  6. operator/cmd/mesh/profile-dump.go

    	cmd.PersistentFlags().StringVarP(&args.configPath, "config-path", "p", "",
    		"The path the root of the configuration subtree to dump e.g. components.pilot. By default, dump whole tree")
    	cmd.PersistentFlags().StringVarP(&args.outputFormat, "output", "o", yamlOutput,
    		"Output format: one of json|yaml|flags")
    	cmd.PersistentFlags().StringVarP(&args.manifestsPath, "charts", "", "", ChartsDeprecatedStr)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  7. cmd/test-utils_test.go

    // return URL for HEAD on the object.
    func getHeadObjectURL(endPoint, bucketName, objectName string) string {
    	return makeTestTargetURL(endPoint, bucketName, objectName, url.Values{})
    }
    
    // return url to be used while copying the object.
    func getCopyObjectURL(endPoint, bucketName, objectName string) string {
    	return makeTestTargetURL(endPoint, bucketName, objectName, url.Values{})
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  8. cmd/sftp-server.go

    	})
    	if err != nil {
    		logger.Fatal(err, "Unable to start SFTP Server")
    	}
    
    	err = sftpServer.Listen()
    	if err != nil {
    		logger.Fatal(err, "SFTP Server had an unrecoverable error while accepting connections")
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  9. internal/dsync/dsync_test.go

    	case <-ctx.Done():
    		t.Fatal("Lock context canceled which is not expected")
    	case <-timer.C:
    	}
    
    	// Should be safe operation in all cases
    	dm.Unlock(context.Background())
    }
    
    // Test canceling context while quorum servers report lock not found
    func TestFailedRefreshLock(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping test in short mode.")
    	}
    
    	// Simulate Refresh response to return no locking found
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  10. src/archive/tar/format.go

    	FormatUnknown
    
    	// The format of the original Unix V7 tar tool prior to standardization.
    	formatV7
    
    	// FormatUSTAR represents the USTAR header format defined in POSIX.1-1988.
    	//
    	// While this format is compatible with most tar readers,
    	// the format has several limitations making it unsuitable for some usages.
    	// Most notably, it cannot support sparse files, files larger than 8GiB,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
Back to top