Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,444 for runFix (0.21 sec)

  1. src/cmd/go/internal/fix/fix.go

    See also: go fmt, go vet.
    	`,
    }
    
    var fixes = CmdFix.Flag.String("fix", "", "comma-separated list of fixes to apply")
    
    func init() {
    	work.AddBuildFlags(CmdFix, work.DefaultBuildFlags)
    	CmdFix.Run = runFix // fix cycle
    }
    
    func runFix(ctx context.Context, cmd *base.Command, args []string) {
    	pkgs := load.PackagesAndErrors(ctx, load.PackageOpts{}, args)
    	w := 0
    	for _, pkg := range pkgs {
    		if pkg.Error != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:52:29 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/runlit.cfg.py

    from lit.llvm import llvm_config
    from lit.llvm.subst import ToolSubst
    
    # Lint for undefined variables is disabled as config is not defined inside this
    # file, instead config is injected by way of evaluating runlit.cfg.py from
    # runlit.site.cfg.py which in turn is evaluated by lit.py. The structure is
    # common for lit tests and intended to only persist temporarily (b/136126535).
    # pylint: disable=undefined-variable
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 18:52:19 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. src/internal/goos/unix.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build unix
    
    package goos
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 14:05:53 UTC 2022
    - 211 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/runlit.site.cfg.py

    # Let the main config do the real work.
    lit_config.load_config(
        config,
        os.path.join(
            os.path.join(real_test_srcdir, os.environ['TEST_WORKSPACE'],
                         'tensorflow/compiler/mlir/runlit.cfg.py')))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 21:33:52 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. pkg/test/framework/testcontext.go

    	dir, err := os.MkdirTemp(c.workDir, name)
    	if err != nil {
    		scopes.Framework.Errorf("Error creating dir: runID='%v', prefix='%s', workDir='%v', err='%v'",
    			c.suite.settings.RunID, name, c.workDir, err)
    	} else {
    		scopes.Framework.Debugf("Created a dir: runID='%v', name='%s'", c.suite.settings.RunID, dir)
    	}
    	return dir, err
    }
    
    func (c *testContext) CreateDirectoryOrFail(name string) string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. pkg/test/framework/resource/settings.go

    }
    
    func (s *Settings) OnlyWorkloadClassesAsSet() sets.String {
    	return sets.New[string](s.OnlyWorkloadClasses...)
    }
    
    // RunDir is the name of the dir to output, for this particular run.
    func (s *Settings) RunDir() string {
    	u := strings.Replace(s.RunID.String(), "-", "", -1)
    	t := strings.Replace(s.TestID, "_", "-", -1)
    	// We want at least 6 characters of uuid padding
    	padding := maxTestIDLength - len(t)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. pkg/test/framework/suitecontext.go

    	dir, err := os.MkdirTemp(c.workDir, name)
    	if err != nil {
    		scopes.Framework.Errorf("Error creating temp dir: runID='%s', prefix='%s', workDir='%v', err='%v'",
    			c.settings.RunID, name, c.workDir, err)
    	} else {
    		scopes.Framework.Debugf("Created a temp dir: runID='%s', name='%s'", c.settings.RunID, dir)
    	}
    	return dir, err
    }
    
    // CreateTmpDirectory creates a new temporary directory with the given prefix.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/run_dirs.txt

    cd rundir
    
    ! go run x.go sub/sub.go
    stderr 'named files must all be in one directory; have . and sub'
    ! go run sub/sub.go x.go
    stderr 'named files must all be in one directory; have sub and .'
    
    cd ../
    go run rundir/foo.go ./rundir/bar.go
    stderr 'hello world'
    
    -- rundir/sub/sub.go --
    package main
    -- rundir/x.go --
    package main
    -- rundir/foo.go --
    package main
    func main() { println(msg) }
    -- rundir/bar.go --
    package main
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 16 14:25:50 UTC 2021
    - 449 bytes
    - Viewed (0)
  9. test/fixedbugs/issue29610.go

    // rundir
    
    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 29610: Symbol import and initialization order caused function
    // symbols to be recorded as non-function symbols.
    
    // This uses rundir not because we actually want to run the final
    // binary, but because we need to at least link it.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 11 00:45:49 UTC 2019
    - 429 bytes
    - Viewed (0)
  10. test/fixedbugs/bug160.go

    // rundir
    
    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 07 16:37:05 UTC 2012
    - 187 bytes
    - Viewed (0)
Back to top