Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 453 for string3 (0.17 sec)

  1. internal/grid/handlers_string.go

    // Code generated by "stringer -type=HandlerID -output=handlers_string.go -trimprefix=Handler msg.go handlers.go"; DO NOT EDIT.
    
    package grid
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[handlerInvalid-0]
    	_ = x[HandlerLockLock-1]
    	_ = x[HandlerLockRLock-2]
    	_ = x[HandlerLockUnlock-3]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  2. cmd/os-instrumented.go

    	defer updateOSMetrics(osMetricMkdirAll, dirPath)(err)
    	return osMkdirAll(dirPath, mode, baseDir)
    }
    
    // Rename captures time taken to call os.Rename
    func Rename(src, dst string) (err error) {
    	defer updateOSMetrics(osMetricRename, src, dst)(err)
    	return RenameSys(src, dst)
    }
    
    // OpenFile captures time taken to call os.OpenFile
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  3. cmd/bootstrap-peer-server.go

    	}
    	// We do not need the response after returning.
    	defer serverVerifyHandler.PutResponse(recvCfg)
    
    	return srcCfg.Diff(recvCfg)
    }
    
    // Stringer provides a canonicalized representation of node.
    func (client *bootstrapRESTClient) String() string {
    	return client.gridConn.String()
    }
    
    func verifyServerSystemConfig(ctx context.Context, endpointServerPools EndpointServerPools, gm *grid.Manager) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  4. cmd/auth-handler.go

    			return nil, errAuthentication
    		}
    		claims.MapClaims[sessionPolicyNameExtracted] = string(spBytes)
    	}
    
    	return claims.Map(), nil
    }
    
    // Fetch claims in the security token returned by the client.
    func getClaimsFromToken(token string) (map[string]interface{}, error) {
    	return getClaimsFromTokenWithSecret(token, globalActiveCred.SecretKey)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    // header values specified in X-Amz-Metadata-Directive.
    func getCpObjMetadataFromHeader(ctx context.Context, r *http.Request, userMeta map[string]string) (map[string]string, error) {
    	// Make a copy of the supplied metadata to avoid
    	// to change the original one.
    	defaultMeta := make(map[string]string, len(userMeta))
    	for k, v := range userMeta {
    		// skip tier metadata when copying metadata from source object
    		switch k {
    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)
  6. docs/debugging/reorder-disks/main.go

    	"log"
    	"net/url"
    	"os"
    	"path/filepath"
    	"strings"
    	"syscall"
    
    	"github.com/minio/pkg/v2/ellipses"
    )
    
    type xl struct {
    	This string     `json:"this"`
    	Sets [][]string `json:"sets"`
    }
    
    type format struct {
    	ID string `json:"id"`
    	XL xl     `json:"xl"`
    }
    
    func getMountMap() (map[string]string, error) {
    	result := make(map[string]string)
    
    	mountInfo, err := os.Open("/proc/self/mountinfo")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  7. cmd/api-utils.go

    	name := runtime.FuncForPC(reflect.ValueOf(f).Pointer()).Name()
    
    	packageName := fmt.Sprintf("github.com/minio/minio/cmd.%s.", cmdType)
    	name = strings.TrimPrefix(name, packageName)
    	name = strings.TrimSuffix(name, "Handler-fm")
    	name = strings.TrimSuffix(name, "-fm")
    	return name
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  8. internal/grid/trace.go

    func (c *tracer) subroute(subroute string) *tracer {
    	if c == nil {
    		return nil
    	}
    	c2 := *c
    	c2.Subroute = subroute
    	return &c2
    }
    
    type tracer struct {
    	Publisher *pubsub.PubSub[madmin.TraceInfo, madmin.TraceType]
    	TraceType madmin.TraceType
    	Prefix    string
    	Local     string
    	Remote    string
    	Subroute  string
    }
    
    const (
    	httpScheme  = "http://"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 22:54:54 GMT 2024
    - 4K bytes
    - Viewed (0)
  9. internal/event/rules.go

    package event
    
    import (
    	"strings"
    
    	"github.com/minio/pkg/v2/wildcard"
    )
    
    // NewPattern - create new pattern for prefix/suffix.
    func NewPattern(prefix, suffix string) (pattern string) {
    	if prefix != "" {
    		if !strings.HasSuffix(prefix, "*") {
    			prefix += "*"
    		}
    
    		pattern = prefix
    	}
    
    	if suffix != "" {
    		if !strings.HasPrefix(suffix, "*") {
    			suffix = "*" + suffix
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  10. cmd/iam.go

    	stsPrefix := strings.HasPrefix(event.keyPath, iamConfigSTSPrefix)
    	svcPrefix := strings.HasPrefix(event.keyPath, iamConfigServiceAccountsPrefix)
    	policyPrefix := strings.HasPrefix(event.keyPath, iamConfigPoliciesPrefix)
    	policyDBUsersPrefix := strings.HasPrefix(event.keyPath, iamConfigPolicyDBUsersPrefix)
    	policyDBSTSUsersPrefix := strings.HasPrefix(event.keyPath, iamConfigPolicyDBSTSUsersPrefix)
    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)
Back to top