Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 93 for decls (0.05 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/BUILD

        ],
    )
    
    gentbl_cc_library(
        name = "xla_legalize_tf_passes_inc_gen",
        compatible_with = get_compatible_with_portable(),
        tbl_outs = [
            (
                [
                    "-gen-pass-decls",
                    "-name=LegalizeTf",
                ],
                "xla_legalize_tf_passes.h.inc",
            ),
        ],
        tblgen = "@llvm-project//mlir:mlir-tblgen",
        td_file = "xla_legalize_tf_passes.td",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. src/go/parser/parser_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// RHS refers to undefined globals; LHS does not.
    	as := f.Decls[0].(*ast.FuncDecl).Body.List[0].(*ast.DeclStmt).Decl.(*ast.GenDecl).Specs[0].(*ast.ValueSpec)
    	for _, v := range as.Values {
    		id := v.(*ast.Ident)
    		if id.Obj != nil {
    			t.Errorf("rhs %s has Obj, should not", id.Name)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/BUILD

        licenses = ["notice"],
    )
    
    gentbl_cc_library(
        name = "stablehlo_passes_inc_gen",
        compatible_with = get_compatible_with_portable(),
        tbl_outs = [
            (
                [
                    "-gen-pass-decls",
                ],
                "passes/passes.h.inc",
            ),
        ],
        tblgen = "@llvm-project//mlir:mlir-tblgen",
        td_file = "passes/passes.td",
        deps = [
            "@llvm-project//mlir:PassBaseTdFiles",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go

    	// InvalidInitCycle occurs when an invalid cycle is detected within the
    	// initialization graph.
    	//
    	// Example:
    	//  var x int = f()
    	//
    	//  func f() int { return x }
    	InvalidInitCycle
    
    	/* decls */
    
    	// DuplicateDecl occurs when an identifier is declared multiple times.
    	//
    	// Example:
    	//  var x = 1
    	//  var x = 2
    	DuplicateDecl
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 34K bytes
    - Viewed (0)
  5. src/cmd/fix/typecheck.go

    			if err != nil {
    				return err
    			}
    			cgo, err := parser.ParseFile(token.NewFileSet(), "cgo.go", out, 0)
    			if err != nil {
    				return err
    			}
    			for _, decl := range cgo.Decls {
    				fn, ok := decl.(*ast.FuncDecl)
    				if !ok {
    					continue
    				}
    				if strings.HasPrefix(fn.Name.Name, "_Cfunc_") {
    					var params, results []string
    					for _, p := range fn.Type.Params.List {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 22:02:42 UTC 2022
    - 20.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/printer.go

    	case *FuncDecl:
    		return _Func, nil
    	default:
    		panic("unreachable")
    	}
    }
    
    type printGroup struct {
    	node
    	Tok   token
    	Decls []Decl
    }
    
    func (p *printer) printDecl(list []Decl) {
    	tok, group := groupFor(list[0])
    
    	if group == nil {
    		if len(list) != 1 {
    			panic("unreachable")
    		}
    		p.printNode(list[0])
    		return
    	}
    
    	// if _, ok := list[0].(*EmptyDecl); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/BUILD

        ],
    )
    
    gentbl_cc_library(
        name = "runtime_passes_inc_gen",
        compatible_with = get_compatible_with_portable(),
        tbl_outs = [
            (
                [
                    "-gen-pass-decls",
                    "-name=RuntimeLowering",
                ],
                "runtime_passes.h.inc",
            ),
        ],
        tblgen = "@llvm-project//mlir:mlir-tblgen",
        td_file = "runtime_passes.td",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. src/go/types/resolver.go

    			case funcDecl:
    				name := d.decl.Name.Name
    				obj := NewFunc(d.decl.Name.Pos(), pkg, name, nil) // signature set later
    				hasTParamError := false                           // avoid duplicate type parameter errors
    				if d.decl.Recv.NumFields() == 0 {
    					// regular function
    					if d.decl.Recv != nil {
    						check.error(d.decl.Recv, BadRecv, "method has no receiver")
    						// treat as function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  9. src/go/printer/testdata/declarations.input

    }
    
    
    // no tabs for single or ungrouped decls
    func _() {
    	const xxxxxx = 0
    	type x int
    	var xxx int
    	var yyyy float = 3.14
    	var zzzzz = "bar"
    
    	const (
    		xxxxxx = 0
    	)
    	type (
    		x int
    	)
    	var (
    		xxx int
    	)
    	var (
    		yyyy float = 3.14
    	)
    	var (
    		zzzzz = "bar"
    	)
    }
    
    // tabs for multiple or grouped decls
    func _() {
    	// no entry has a type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 13 22:24:31 UTC 2021
    - 16.5K bytes
    - Viewed (0)
  10. src/go/types/decl.go

    func (d typeDecl) node() ast.Node   { return d.spec }
    func (d funcDecl) node() ast.Node   { return d.decl }
    
    func (check *Checker) walkDecls(decls []ast.Decl, f func(decl)) {
    	for _, d := range decls {
    		check.walkDecl(d, f)
    	}
    }
    
    func (check *Checker) walkDecl(d ast.Decl, f func(decl)) {
    	switch d := d.(type) {
    	case *ast.BadDecl:
    		// ignore
    	case *ast.GenDecl:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
Back to top