Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for parser (0.34 sec)

  1. cmd/test-utils_test.go

    	queryValue := url.Values{}
    	queryValue.Set("uploads", "")
    	queryValue.Set("prefix", prefix)
    	queryValue.Set("delimiter", delimiter)
    	queryValue.Set("key-marker", keyMarker)
    	queryValue.Set("upload-id-marker", uploadIDMarker)
    	queryValue.Set("max-uploads", maxUploads)
    	return makeTestTargetURL(endPoint, bucketName, "", queryValue)
    }
    
    // return URL for a listing parts on a given upload id.
    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)
  2. cmd/peer-rest-server.go

    	if !s.IsValid(w, r) {
    		s.writeErrorResponse(w, errors.New("Invalid request"))
    		return
    	}
    
    	if r.ContentLength < 0 {
    		s.writeErrorResponse(w, errInvalidArgument)
    		return
    	}
    
    	u, err := url.Parse(r.Form.Get(peerRESTURL))
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    
    	sha256Sum, err := hex.DecodeString(r.Form.Get(peerRESTSha256Sum))
    	if err != nil {
    		s.writeErrorResponse(w, err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  3. cmd/iam.go

    }
    
    // GetRolePolicy - returns policies associated with a role ARN.
    func (sys *IAMSys) GetRolePolicy(arnStr string) (arn.ARN, string, error) {
    	roleArn, err := arn.Parse(arnStr)
    	if err != nil {
    		return arn.ARN{}, "", fmt.Errorf("RoleARN parse err: %v", err)
    	}
    	rolePolicy, ok := sys.rolesMap[roleArn]
    	if !ok {
    		return arn.ARN{}, "", fmt.Errorf("RoleARN %s is not defined.", arnStr)
    	}
    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)
  4. cmd/iam-store.go

    		}
    		groups.Remove(group)
    		c.iamUserGroupMemberships[member] = groups
    	}
    }
    
    // policyDBGet - lower-level helper; does not take locks.
    //
    // If a group is passed, it returns policies associated with the group.
    //
    // If a user is passed, it returns policies of the user along with any groups
    // that the server knows the user is a member of.
    //
    // In LDAP users mode, the server does not store any group membership
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  5. cmd/xl-storage.go

    	err = readDirFn(baseDir, func(name string, typ os.FileMode) error {
    		if !typ.IsDir() {
    			return nil
    		}
    		// See if directory has a UUID name.
    		base := filepath.Base(name)
    		_, err := uuid.Parse(base)
    		if err == nil {
    			foundDirs[base] = struct{}{}
    		}
    		return nil
    	})
    	if err != nil {
    		return err
    	}
    	wantDirs, err := xl.getDataDirs()
    	if err != nil {
    		return err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  6. tests/migrate_test.go

    	const table = "unique_struct"
    
    	checkField := func(model interface{}, fieldName string, unique bool, uniqueIndex string) {
    		stmt := &gorm.Statement{DB: DB}
    		err := stmt.Parse(model)
    		if err != nil {
    			t.Fatalf("%v: failed to parse schema, got error: %v", utils.FileWithLineNum(), err)
    		}
    		_ = stmt.Schema.ParseIndexes()
    		field := stmt.Schema.LookUpField(fieldName)
    		if field == nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  7. cmd/api-errors.go

    		HTTPStatusCode: http.StatusInsufficientStorage,
    	},
    	ErrRequestBodyParse: {
    		Code:           "XMinioRequestBodyParse",
    		Description:    "The request body failed to parse.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrObjectExistsAsDirectory: {
    		Code:           "XMinioObjectExistsAsDirectory",
    		Description:    "Object name already exists as a directory.",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  8. src/cmd/cgo/gcc.go

    				n.Const = fmt.Sprintf("%#x", i)
    			} else if n.Define[0] == '\'' {
    				if _, err := parser.ParseExpr(n.Define); err == nil {
    					n.Kind = "iconst"
    					n.Const = n.Define
    				}
    			} else if n.Define[0] == '"' {
    				if _, err := parser.ParseExpr(n.Define); err == nil {
    					n.Kind = "sconst"
    					n.Const = n.Define
    				}
    			}
    
    			if n.IsConst() {
    				continue
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    		ctx, cancel := context.WithCancel(ctx)
    		// one of source/target is s3, skip delete marker and all versions under the same object name.
    		s3Type := r.Target.Type == BatchJobReplicateResourceS3 || r.Source.Type == BatchJobReplicateResourceS3
    
    		if err := api.Walk(ctx, r.Source.Bucket, r.Source.Prefix, walkCh, WalkOptions{
    			Marker:   lastObject,
    			Filter:   selectObj,
    			AskDisks: walkQuorum,
    		}); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  10. istioctl/pkg/describe/describe.go

    // When the config has no selector labels, this method will treat it as qualified namespace level
    // config. So configs passed into this method should only contains workload's namespaces configs
    // and rootNamespaces configs, caller should be responsible for controlling configs passed
    // in.
    func findMatchedConfigs(podsLabels klabels.Set, configs []*config.Config) []*config.Config {
    	var cfgs []*config.Config
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top