Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for Milesi (0.34 sec)

  1. .cm/plugins/filters/byPlatform/index.js

    /**
     * @module byPlatform
     * @description Groups the PR's files by platform based on the file's path.
     * @param {string[]} files - the gitStream's files context variable
     * @returns {Map} - Map from platform to list of files in this PR in it
     * @example {{ owners | byPlatform }}
     */
    function byPlatform(files) {
        const result = new Map();
        files.forEach(file => {
            const platform = getPlatform(file);
            if (!result.has(platform)) {
    JavaScript
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Apr 22 16:47:29 GMT 2024
    - 1K bytes
    - Viewed (0)
  2. .cm/plugins/filters/byCodeowner/index.js

     * @description Groups the PR's files' by owner based on the CODEOWNERs file.
     * @param {string[]} files - the gitStream's files context variable
     * @param {Object} pr - the gitStream's pr context variable
     * @param {string} token - access token with repo:read scope, used to read the CODEOWNERS file
     * @param {string} pathToCodeOwners - path from repo root to CODEOWNERS file
     * @returns {Map} - Map from owner name to list of files they own
    JavaScript
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Apr 22 19:12:32 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. common/config/.golangci.yml

        - genfiles$
        - vendor$
      # Which files to exclude: they will be analyzed, but issues from them won't be reported.
      # There is no need to include all autogenerated files,
      # we confidently recognize autogenerated files.
      # If it's not, please let us know.
      # "/" will be replaced by current OS file path separator to properly work on Windows.
      # Default: []
      exclude-files:
        - ".*\\.pb\\.go"
        - ".*\\.gen\\.go"
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 19:22:39 GMT 2024
    - 11K bytes
    - Viewed (0)
  4. docs/debugging/xl-meta/main.go

    			args = []string{"xl.meta"}
    		}
    		var files []string
    
    		for _, pattern := range args {
    			if pattern == "-" {
    				files = append(files, pattern)
    				continue
    			}
    			found, err := filepathx.Glob(pattern)
    			if err != nil {
    				return err
    			}
    			if len(found) == 0 {
    				return fmt.Errorf("unable to find file %v", pattern)
    			}
    			files = append(files, found...)
    		}
    		if len(files) == 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  5. maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

     * under the License.
     */
    package org.apache.maven.artifact.deployer;
    
    import javax.inject.Inject;
    
    import java.io.File;
    import java.nio.charset.StandardCharsets;
    import java.nio.file.Files;
    
    import org.apache.maven.artifact.AbstractArtifactComponentTestCase;
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.execution.MavenSession;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. cmd/storage-datatypes_gen.go

    		switch msgp.UnsafeString(field) {
    		case "Files":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Files")
    				return
    			}
    			if cap(z.Files) >= int(zb0002) {
    				z.Files = (z.Files)[:zb0002]
    			} else {
    				z.Files = make([]FileInfo, zb0002)
    			}
    			for za0001 := range z.Files {
    				err = z.Files[za0001].DecodeMsg(dc)
    				if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 127.5K bytes
    - Viewed (0)
  7. cmd/erasure-common.go

    }
    
    // readMultipleFiles Reads raw data from all specified files from all disks.
    func readMultipleFiles(ctx context.Context, disks []StorageAPI, req ReadMultipleReq, readQuorum int) ([]ReadMultipleResp, error) {
    	resps := make([]chan ReadMultipleResp, len(disks))
    	for i := range resps {
    		resps[i] = make(chan ReadMultipleResp, len(req.Files))
    	}
    	g := errgroup.WithNErrs(len(disks))
    	// Read files in parallel across disks.
    	for index := range disks {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  8. .cm/platform_labels.cm

      {% for platform in platforms %}
      platform_label_{{ platform.name }}:
        if:
          - {{ ('platform_labels' | isEnabledAutomation(pr)) }}
          - {{ files | byPlatform | categorize(branch.diff.files_metadata) | readField(platform.name, 'files') | nullToEmpty | some }}
        run:
          - action: add-label@v1
            args:
              label: 'platform:{{ platform.name }}'
              color: '0000FF'
      {% endfor %}
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Apr 22 15:32:31 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. cmd/storage-datatypes.go

    	}
    	return fi
    }
    
    // ReadMultipleReq contains information of multiple files to read from disk.
    type ReadMultipleReq struct {
    	Bucket       string   // Bucket. Can be empty if multiple buckets.
    	Prefix       string   // Shared prefix of all files. Can be empty. Will be joined to filename without modification.
    	Files        []string // Individual files to read.
    	MaxSize      int64    // Return error if size is exceed.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  10. cmd/erasure-multipart.go

    		if disk == nil {
    			continue
    		}
    
    		if !disk.IsOnline() {
    			continue
    		}
    
    		break
    	}
    
    	g := errgroup.WithNErrs(len(req.Files)).WithConcurrency(32)
    
    	partsInfo := make([]ObjectPartInfo, len(req.Files))
    	for i, file := range req.Files {
    		file := file
    		partN := i + start
    		i := i
    
    		g.Go(func() error {
    			buf, err := disk.ReadAll(ctx, minioMetaMultipartBucket, pathJoin(partPath, file))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
Back to top