Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for executor (1.22 sec)

  1. src/cmd/gofmt/gofmt.go

    // a task to be executed without any other concurrent tasks.
    const exclusive = -1
    
    // Add blocks until the sequencer has enough weight to spare, then adds f as a
    // task to be executed concurrently.
    //
    // If the weight is either negative or larger than the sequencer's maximum
    // weight, Add blocks until all other tasks have completed, then the task
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. src/cmd/go/alldocs.go

    //
    // For more about gofmt, see 'go doc cmd/gofmt'.
    // For more about specifying packages, see 'go help packages'.
    //
    // The -n flag prints commands that would be executed.
    // The -x flag prints commands as they are executed.
    //
    // The -mod flag's value sets which module download mode
    // to use: readonly or vendor. See 'go help modules' for more.
    //
    // To run gofmt with specific options, run gofmt itself.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  3. src/cmd/go/internal/par/work.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package par implements parallel execution helpers.
    package par
    
    import (
    	"errors"
    	"math/rand"
    	"sync"
    	"sync/atomic"
    )
    
    // Work manages a set of work items to be executed in parallel, at most once each.
    // The items in the set must all be valid map keys.
    type Work[T comparable] struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:54:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/cmd/trace/tasks.go

    			return cmp.Compare(a.Duration, b.Duration)
    		})
    
    		// Emit table.
    		err = templUserTaskType.Execute(w, struct {
    			Name  string
    			Tasks []task
    		}{
    			Name:  filter.name,
    			Tasks: tasks,
    		})
    		if err != nil {
    			log.Printf("failed to execute template: %v", err)
    			http.Error(w, fmt.Sprintf("failed to execute template: %v", err), http.StatusInternalServerError)
    			return
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. src/cmd/go/internal/test/test.go

    Several of the flags control profiling and write an execution profile
    suitable for "go tool pprof"; run "go tool pprof -h" for more
    information. The --alloc_space, --alloc_objects, and --show_bytes
    options of pprof control how the information is presented.
    
    The following flags are recognized by the 'go test' command and
    control the execution of any test:
    
    	-bench regexp
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  6. src/cmd/go/internal/clean/clean.go

    archive or binary (what 'go install' would create).
    
    The -n flag causes clean to print the remove commands it would execute,
    but not run them.
    
    The -r flag causes clean to be applied recursively to all the
    dependencies of the packages named by the import paths.
    
    The -x flag causes clean to print remove commands as it executes them.
    
    The -cache flag causes clean to remove the entire go build cache.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/labels.go

    			name := s.Label.Value
    			switch s.Tok {
    			case syntax.Break:
    				// spec: "If there is a label, it must be that of an enclosing
    				// "for", "switch", or "select" statement, and that is the one
    				// whose execution terminates."
    				valid := false
    				if t := b.enclosingTarget(name); t != nil {
    					switch t.Stmt.(type) {
    					case *syntax.SwitchStmt, *syntax.SelectStmt, *syntax.ForStmt:
    						valid = true
    					}
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. src/cmd/go/internal/help/help.go

    		w.err = err
    	}
    	return n, err
    }
    
    // tmpl executes the given template text on data, writing the result to w.
    func tmpl(w io.Writer, text string, data any) {
    	t := template.New("top")
    	t.Funcs(template.FuncMap{"trim": strings.TrimSpace, "capitalize": capitalize})
    	template.Must(t.Parse(text))
    	ew := &errWriter{w: w}
    	err := t.Execute(ew, data)
    	if ew.err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. src/cmd/trace/regions.go

    			allNonOverlappingStats = append(allNonOverlappingStats, name)
    		}
    		slices.SortFunc(allNonOverlappingStats, func(a, b string) int {
    			if a == b {
    				return 0
    			}
    			if a == "Execution time" {
    				return -1
    			}
    			if b == "Execution time" {
    				return 1
    			}
    			return cmp.Compare(a, b)
    		})
    
    		// Write down all the range stats and sort them.
    		allRangeStats := make([]string, 0, len(validRangeStats))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. src/cmd/go/script_test.go

    		// If time allows, increase the termination grace period to 5% of the
    		// remaining time.
    		if gp := timeout / 20; gp > gracePeriod {
    			gracePeriod = gp
    		}
    
    		// When we run commands that execute subprocesses, we want to reserve two
    		// grace periods to clean up. We will send the first termination signal when
    		// the context expires, then wait one grace period for the process to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top