Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for runFmt (0.13 sec)

  1. 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)
  2. src/cmd/go/internal/work/cover.go

    func BuildActionCoverMetaFile(runAct *Action) (string, error) {
    	p := runAct.Package
    	for i := range runAct.Deps {
    		pred := runAct.Deps[i]
    		if pred.Mode != "build" || pred.Package == nil {
    			continue
    		}
    		if pred.Package.ImportPath == p.ImportPath {
    			metaFile := pred.Objdir + covcmd.MetaFileForPackage(p.ImportPath)
    			f, err := os.Open(metaFile)
    			if err != nil {
    				return "", err
    			}
    			defer f.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 19:09:38 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. 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)
  4. tools/bug-report/pkg/content/content.go

    		cmdStr += " -o yaml"
    	}
    	out, err := p.Runner.RunCmd(cmdStr, "", p.KubeConfig, p.KubeContext, p.DryRun)
    	return map[string]string{
    		"secrets": out,
    	}, err
    }
    
    // GetCRs returns CR contents for all CRDs in the cluster.
    func GetCRs(p *Params) (map[string]string, error) {
    	crds, err := getCRDList(p)
    	if err != nil {
    		return nil, err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 18:47:53 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  5. cmd/kubeadm/test/cmd/util.go

    	cmd.Stdout = &bout
    	cmd.Stderr = &berr
    	err := cmd.Run()
    	stdout, stderr := bout.String(), berr.String()
    	return stdout, stderr, cmd.ProcessState.ExitCode(), err
    }
    
    // RunCmd is a utility function for kubeadm testing that executes a specified command
    func RunCmd(command string, args ...string) (string, string, int, error) {
    	stdout, stderr, retcode, err := runCmdNoWrap(command, args...)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 01 12:47:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. pkg/queue/delay_test.go

    	"fmt"
    	"sync"
    	"testing"
    	"time"
    )
    
    func TestPriorityQueue(t *testing.T) {
    	pq := &pq{}
    
    	t0 := time.Now()
    	t1 := &delayTask{runAt: t0.Add(0)}
    	t2 := &delayTask{runAt: t0.Add(1 * time.Hour)}
    	t3 := &delayTask{runAt: t0.Add(2 * time.Hour)}
    	t4 := &delayTask{runAt: t0.Add(3 * time.Hour)}
    	sorted := []*delayTask{t1, t2, t3, t4}
    	// fill in an unsorted order
    	unsorted := []*delayTask{t4, t2, t3, t1}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 06:27:31 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. pkg/queue/delay.go

    // much of this is taken from the example at https://golang.org/pkg/container/heap/
    type pq []*delayTask
    
    func (q pq) Len() int {
    	return len(q)
    }
    
    func (q pq) Less(i, j int) bool {
    	return q[i].runAt.Before(q[j].runAt)
    }
    
    func (q *pq) Swap(i, j int) {
    	(*q)[i], (*q)[j] = (*q)[j], (*q)[i]
    }
    
    func (q *pq) Push(x any) {
    	*q = append(*q, x.(*delayTask))
    }
    
    func (q *pq) Pop() any {
    	old := *q
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 06:27:31 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  8. testing/integ-test/src/integTest/groovy/org/gradle/integtests/AntProjectIntegrationTest.groovy

    ant.importBuild(file('build.xml')) { antTaskName ->
        antTaskName == 'b' ? 'ant-b' : antTaskName
    }
    
    task runAnt(dependsOn: 'a')
    """
            inTestDirectory().withTasks('runAnt').run().assertTasksExecutedInOrder(':c', ':ant-b', ':a', ':runAnt')
    
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. tools/bug-report/pkg/kubectlcmd/kubectlcmd.go

    		return "", fmt.Errorf("podExec error: %s\n\nstderr:\n%s\n\nstdout:\n%s",
    			err, util.ConsolidateLog(stderr), stdout)
    	}
    	return stdout, nil
    }
    
    // RunCmd runs the given command in kubectl, adding -n namespace if namespace is not empty.
    func (r *Runner) RunCmd(command, namespace, kubeConfig, kubeContext string, dryRun bool) (string, error) {
    	return r.Run(strings.Split(command, " "),
    		&Options{
    			Namespace:  namespace,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 16 01:18:03 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/BUILD

            "//tensorflow/core/lib/monitoring:cell_reader",
            "@llvm-project//llvm:Support",
            "@llvm-project//mlir:IR",
        ],
    )
    
    filegroup(
        name = "litfiles",
        srcs = glob(["runlit*py"]),
        visibility = ["//tensorflow:__subpackages__"],
    )
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top