Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for good (0.27 sec)

  1. internal/kms/context.go

    func (c Context) MarshalText() ([]byte, error) {
    	if len(c) == 0 {
    		return []byte{'{', '}'}, nil
    	}
    
    	// Pre-allocate a buffer - 128 bytes is an arbitrary
    	// heuristic value that seems like a good starting size.
    	b := bytes.NewBuffer(make([]byte, 0, 128))
    	if len(c) == 1 {
    		for k, v := range c {
    			b.WriteString(`{"`)
    			escapeStringJSON(b, k)
    			b.WriteString(`":"`)
    			escapeStringJSON(b, v)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 6K bytes
    - Viewed (0)
  2. internal/cachevalue/cache.go

    	// even if updating the value errors out.
    	// Returns the last good value AND the error.
    	ReturnLastGood bool
    
    	// If CacheError is set, errors will be cached as well
    	// and not continuously try to update.
    	// Should not be combined with ReturnLastGood.
    	CacheError bool
    
    	// If NoWait is set, Get() will return the last good value,
    	// if TTL has expired but 2x TTL has not yet passed,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. buildscripts/checkdeps.sh

    	SunOS)
    		ARCH=$(isainfo -k)
    		;;
    	esac
    }
    
    ## FIXME:
    ## In OSX, 'readlink -f' option does not exist, hence
    ## we have our own readlink -f behavior here.
    ## Once OSX has the option, below function is good enough.
    ##
    ## readlink() {
    ##     return /bin/readlink -f "$1"
    ## }
    ##
    readlink() {
    	TARGET_FILE=$1
    
    	cd $(dirname $TARGET_FILE)
    	TARGET_FILE=$(basename $TARGET_FILE)
    
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  4. cmd/metacache-set.go

    	bucket, path  string
    	recursive     bool
    
    	// Only return results with this prefix.
    	filterPrefix string
    
    	// Forward to this prefix before returning results.
    	forwardTo string
    
    	// Minimum number of good disks to continue.
    	// An error will be returned if this many disks returned an error.
    	minDisks       int
    	reportNotFound bool
    
    	// perDiskLimit will limit each disk to return n objects.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  5. cmd/erasure-healing-common_test.go

    	threeNanoSecs := time.Unix(3, 0).UTC()
    	fourNanoSecs := time.Unix(4, 0).UTC()
    	modTimesThreeNone := make([]time.Time, 16)
    	modTimesThreeFour := make([]time.Time, 16)
    	for i := 0; i < 16; i++ {
    		// Have 13 good xl.meta, 12 for default parity count = 4 (EC:4) and one
    		// to be tampered with.
    		if i > 12 {
    			modTimesThreeFour[i] = fourNanoSecs
    			modTimesThreeNone[i] = timeSentinel
    			continue
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  6. internal/http/listener_test.go

    			}
    		}
    		if listener != nil {
    			listener.Close()
    		}
    	}
    }
    
    func TestHTTPListenerStartClose(t *testing.T) {
    	if runtime.GOOS == "windows" {
    		t.Skip()
    	}
    
    	nonLoopBackIP := getNonLoopBackIP(t)
    
    	testCases := []struct {
    		serverAddrs []string
    	}{
    		{[]string{"localhost:0"}},
    		{[]string{nonLoopBackIP + ":0"}},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Jun 12 16:09:28 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  7. cmd/build-constants.go

    	CopyrightYear = "0000"
    
    	// MinioReleaseTagTimeLayout - release tag time layout.
    	MinioReleaseTagTimeLayout = "2006-01-02T15-04-05Z"
    
    	// MinioOSARCH - OS and ARCH.
    	minioOSARCH = runtime.GOOS + "-" + runtime.GOARCH
    
    	// MinioReleaseBaseURL - release url without os and arch.
    	MinioReleaseBaseURL = "https://dl.min.io/server/minio/release/"
    
    	// MinioReleaseURL - release URL.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 12 00:54:37 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  8. internal/disk/stat_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    import (
    	"os"
    	"reflect"
    	"runtime"
    	"testing"
    )
    
    func TestReadDriveStats(t *testing.T) {
    	if runtime.GOOS == "windows" {
    		t.Skip("skipping this test in windows")
    	}
    	testCases := []struct {
    		stat            string
    		expectedIOStats IOStats
    		expectErr       bool
    	}{
    		{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  9. cmd/admin-handlers-users-race_test.go

    func runAllIAMConcurrencyTests(suite *TestSuiteIAM, c *check) {
    	suite.SetUpSuite(c)
    	suite.TestDeleteUserRace(c)
    	suite.TearDownSuite(c)
    }
    
    func TestIAMInternalIDPConcurrencyServerSuite(t *testing.T) {
    	if runtime.GOOS == globalWindowsOSName {
    		t.Skip("windows is clunky")
    	}
    
    	baseTestCases := []TestSuiteCommon{
    		// Init and run test on ErasureSD backend with signature v4.
    		{serverType: "ErasureSD", signer: signerV4},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  10. cmd/admin-handlers_test.go

    	}
    	defer adminTestBed.TearDown()
    
    	// Initialize admin peers to make admin RPC calls. Note: In a
    	// single node setup, this degenerates to a simple function
    	// call under the hood.
    	globalMinioAddr = "127.0.0.1:9000"
    
    	var wg sync.WaitGroup
    
    	// Setting up a go routine to simulate ServerRouter's
    	// handleServiceSignals for stop and restart commands.
    	if cmd == restartCmd {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
Back to top