Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for shout (0.15 sec)

  1. internal/config/identity/openid/openid.go

    				}
    			}
    			if p.ClientID == "" {
    				return c, config.Errorf("client ID must not be empty")
    			}
    
    			// We set the resource ID of the role arn as a hash of client
    			// ID, so we can get a short roleARN that stays the same on
    			// restart.
    			var resourceID string
    			{
    				h := sha1.New()
    				h.Write([]byte(p.ClientID))
    				bs := h.Sum(nil)
    				resourceID = base64.RawURLEncoding.EncodeToString(bs)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  2. docs/debugging/xl-meta/main.go

    			if ei.V2Obj.Size != size {
    				return fmt.Errorf("size mismatch. Meta size: %d", ei.V2Obj.Size)
    			}
    		} else {
    			return err
    		}
    		if len(b) < 32 {
    			return fmt.Errorf("file %s too short", file)
    		}
    		// Trim hash. Fine for inline data, since only one block.
    		b = b[32:]
    
    		set := parityData[data]
    		if set == nil {
    			set = make(map[int][]byte)
    		}
    		set[idx] = b
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  3. cmd/object_api_suite_test.go

    }
    
    func execExtended(t *testing.T, fn func(t *testing.T)) {
    	// Exec with default settings...
    	resetCompressEncryption()
    	t.Run("default", func(t *testing.T) {
    		fn(t)
    	})
    
    	if testing.Short() {
    		return
    	}
    
    	t.Run("compressed", func(t *testing.T) {
    		resetCompressEncryption()
    		enableCompression(t, false)
    		fn(t)
    	})
    
    	t.Run("encrypted", func(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  4. cmd/api-errors.go

    		HTTPStatusCode: http.StatusNotImplemented,
    	},
    	ErrAdminLDAPExpectedLoginName: {
    		Code:           "XMinioLDAPExpectedLoginName",
    		Description:    "Expected LDAP short username but was given full DN.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    }
    
    // toAPIErrorCode - Converts embedded errors. Convenience
    // function written to handle all cases where we have known types of
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  5. internal/dsync/dsync_test.go

    	dm1.Unlock(context.Background())
    	dm2.Unlock(context.Background())
    }
    
    // Test refreshing lock - refresh should always return true
    func TestSuccessfulLockRefresh(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping test in short mode.")
    	}
    
    	dm := NewDRWMutex(ds, "aap")
    	dm.refreshInterval = testDrwMutexRefreshInterval
    
    	ctx, cancel := context.WithCancel(context.Background())
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  6. cmd/leak-detect_test.go

    func (initialSnapShot LeakDetect) DetectLeak(t TestErrHandler) {
    	if t.Failed() {
    		return
    	}
    	// Loop, waiting for goroutines to shut down.
    	// Wait up to 5 seconds, but finish as quickly as possible.
    	deadline := UTCNow().Add(leakDetectDeadline * time.Second)
    	for {
    		// get sack snapshot of relevant go routines.
    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)
  7. cmd/erasure-decode_test.go

    // This test is t.Skip()ed as it a long time to run, hence should be run
    // explicitly after commenting out t.Skip()
    func TestErasureDecodeRandomOffsetLength(t *testing.T) {
    	if testing.Short() {
    		t.Skip()
    	}
    	// Initialize environment needed for the test.
    	dataBlocks := 7
    	parityBlocks := 7
    	blockSize := int64(1 * humanize.MiByte)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  8. internal/grid/connection.go

    	// The connection will remain in this stat until the connection has been successfully re-established.
    	StateConnectionError
    
    	// StateShutdown is the state when the server has been shut down.
    	// This will not be used under normal operation.
    	StateShutdown
    
    	// MaxDeadline is the maximum deadline allowed,
    	// Approx 49 days.
    	MaxDeadline = time.Duration(math.MaxUint32) * time.Millisecond
    )
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  9. cmd/admin-heal-ops.go

    	"fmt"
    	"net/http"
    	"sort"
    	"sync"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/logger"
    )
    
    // healStatusSummary - overall short summary of a healing sequence
    type healStatusSummary string
    
    // healStatusSummary constants
    const (
    	healNotStartedStatus healStatusSummary = "not started"
    	healRunningStatus                      = "running"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  10. cmd/object-api-utils.go

    		return false
    	}
    
    	// Did not match any inclusion filters, exclude from compression.
    	return true
    }
    
    // Utility which returns if a string is present in the list.
    // Comparison is case insensitive. Explicit short-circuit if
    // the list contains the wildcard "*".
    func hasStringSuffixInSlice(str string, list []string) bool {
    	str = strings.ToLower(str)
    	for _, v := range list {
    		if v == "*" {
    			return true
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
Back to top