Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 94 for Gammon (8.51 sec)

  1. src/bytes/bytes.go

    // It returns the byte index of the first occurrence in s of any of the Unicode
    // code points in chars. It returns -1 if chars is empty or if there is no code
    // point in common.
    func IndexAny(s []byte, chars string) int {
    	if chars == "" {
    		// Avoid scanning all of s.
    		return -1
    	}
    	if len(s) == 1 {
    		r := rune(s[0])
    		if r >= utf8.RuneSelf {
    			// search utf8.RuneError.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  2. cmd/update.go

    	return getModTime(os.Args[0])
    }
    
    // IsDocker - returns if the environment minio is running in docker or
    // not. The check is a simple file existence check.
    //
    // https://github.com/moby/moby/blob/master/daemon/initlayer/setup_unix.go
    // https://github.com/containers/podman/blob/master/libpod/runtime.go
    //
    //	"/.dockerenv":        "file",
    //	"/run/.containerenv": "file",
    func IsDocker() bool {
    	var err error
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  3. istioctl/pkg/workload/workload.go

    	}
    	// respect the inbound port annotation and capture all traffic if no inbound ports are set
    	portBehavior := "*"
    	if len(ports) > 0 {
    		portBehavior = strings.Join(ports, ",")
    	}
    
    	// 22: ssh is extremely common for VMs, and we do not want to make VM inaccessible if there is an issue
    	// 15090: prometheus
    	// 15021/15020: agent
    	excludePorts := "22,15090,15021"
    	if config.StatusPort != 15090 && config.StatusPort != 15021 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    	}
    
    	filterOnlineDisksInplace(fi, onlineMeta, onlineDisks)
    	for i := range onlineMeta {
    		// verify metadata is valid, it has similar erasure info
    		// as well as common modtime, if modtime is not possible
    		// verify if it has common "etag" at least.
    		if onlineMeta[i].IsValid() && onlineMeta[i].Erasure.Equal(fi.Erasure) {
    			ok := onlineMeta[i].ModTime.Equal(modTime)
    			if modTime.IsZero() || modTime.Equal(timeSentinel) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  5. cmd/metrics-v2.go

    	"github.com/minio/minio/internal/mcontext"
    	"github.com/minio/minio/internal/rest"
    	"github.com/prometheus/client_golang/prometheus"
    	dto "github.com/prometheus/client_model/go"
    	"github.com/prometheus/common/expfmt"
    	"github.com/prometheus/procfs"
    )
    
    //go:generate msgp -file=$GOFILE -unexported -io=false
    
    var (
    	nodeCollector           *minioNodeCollector
    	clusterCollector        *minioClusterCollector
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    				ci.StatusCode == http.StatusPreconditionFailed || ci.StatusCode == http.StatusNotModified)
    			if okSt {
    				ci.WriteHeaders(w, func() {
    					// set common headers
    					setCommonHeaders(w)
    				}, func() {
    					okSt := (ci.StatusCode == http.StatusOK || ci.StatusCode == http.StatusPartialContent)
    					if okSt && len(ci.Data) > 0 {
    						for k, v := range ci.Metadata {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  7. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrOverlappingConfigs: {
    		Code:           "InvalidArgument",
    		Description:    "Configurations overlap. Configurations on the same bucket cannot share a common event type.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrUnsupportedNotification: {
    		Code:           "UnsupportedNotification",
    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)
  8. cmd/iam.go

    	hasSessionPolicy, isAllowedSP := isAllowedBySessionPolicy(args)
    	if hasSessionPolicy {
    		return isAllowedSP && (isOwnerDerived || combinedPolicy.IsAllowed(args))
    	}
    
    	// Sub policy not set, this is most common since subPolicy
    	// is optional, use the inherited policies.
    	return isOwnerDerived || combinedPolicy.IsAllowed(args)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  9. cmd/server_test.go

    	"sync"
    	"testing"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/minio-go/v7/pkg/set"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/pkg/v2/policy"
    )
    
    // API suite container common to both ErasureSD and Erasure.
    type TestSuiteCommon struct {
    	serverType string
    	testServer TestServer
    	endPoint   string
    	accessKey  string
    	secretKey  string
    	signer     signerType
    	secure     bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  10. src/archive/tar/common.go

    	c_ISUID = 04000 // Set uid
    	c_ISGID = 02000 // Set gid
    	c_ISVTX = 01000 // Save text (sticky bit)
    
    	// Common Unix mode constants; these are not defined in any common tar standard.
    	// Header.FileInfo understands these, but FileInfoHeader will never produce these.
    	c_ISDIR  = 040000  // Directory
    	c_ISFIFO = 010000  // FIFO
    	c_ISREG  = 0100000 // Regular file
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
Back to top