Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 134 for decls (0.05 sec)

  1. src/cmd/compile/internal/dwarfgen/dwinl.go

    	// addition, those vars that don't appear in the abstract
    	// function, such as "~r1", are flagged as such).
    	//
    	// If a variable was produced by an inline, then we locate it in
    	// the pre-inlining decls for the target function and assign child
    	// index accordingly.
    	for ii, sl := range vmap {
    		var m map[varPos]int
    		if ii == 0 {
    			if !fnsym.WasInlined() {
    				for j, v := range sl {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. src/go/ast/import.go

    // SortImports sorts runs of consecutive import lines in import blocks in f.
    // It also removes duplicate imports when it is possible to do so without data loss.
    func SortImports(fset *token.FileSet, f *File) {
    	for _, d := range f.Decls {
    		d, ok := d.(*GenDecl)
    		if !ok || d.Tok != token.IMPORT {
    			// Not an import declaration, so we're done.
    			// Imports are always first.
    			break
    		}
    
    		if !d.Lparen.IsValid() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/BUILD

        ],
    )
    
    gentbl_cc_library(
        name = "tfr_ops_inc_gen",
        compatible_with = get_compatible_with_portable(),
        tbl_outs = [
            (
                ["-gen-op-decls"],
                "ir/tfr_ops.h.inc",
            ),
            (
                ["-gen-op-defs"],
                "ir/tfr_ops.cc.inc",
            ),
        ],
        tblgen = "@llvm-project//mlir:mlir-tblgen",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. src/text/template/parse/parse.go

    			pipe.IsAssign = next.typ == itemAssign
    			t.nextNonSpace()
    			pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
    			t.vars = append(t.vars, v.val)
    		case next.typ == itemChar && next.val == ",":
    			t.nextNonSpace()
    			pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
    			t.vars = append(t.vars, v.val)
    			if context == "range" && len(pipe.Decl) < 2 {
    				switch t.peekNonSpace().typ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  5. src/go/ast/ast.go

    // End returns the end of the last declaration in the file.
    // (Use FileEnd for the end of the entire file.)
    func (f *File) End() token.Pos {
    	if n := len(f.Decls); n > 0 {
    		return f.Decls[n-1].End()
    	}
    	return f.Name.End()
    }
    
    // A Package node represents a set of source files
    // collectively building a Go package.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  6. src/go/types/eval_test.go

    	fset := token.NewFileSet()
    	f := mustParse(fset, src)
    
    	var conf types.Config
    	pkg, err := conf.Check(pkgName(src), fset, []*ast.File{f}, nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	for _, d := range f.Decls {
    		if fun, _ := d.(*ast.FuncDecl); fun != nil {
    			// type parameter A is not found at the start of the function type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 19:56:15 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/BUILD

        deps = [":quant_td_files"],
    )
    
    gentbl_cc_library(
        name = "tf_quant_ops_inc_gen",
        compatible_with = get_compatible_with_portable(),
        tbl_outs = [
            (
                ["-gen-op-decls"],
                "passes/tf_quant_ops.h.inc",
            ),
            (
                ["-gen-op-defs"],
                "passes/tf_quant_ops.cc.inc",
            ),
        ],
        tblgen = "@llvm-project//mlir:mlir-tblgen",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  8. src/go/doc/reader.go

    	for _, f := range pkg.Files {
    		for _, decl := range f.Decls {
    			if d, ok := decl.(*ast.FuncDecl); ok {
    				r.readFunc(d)
    			}
    		}
    	}
    }
    
    // ----------------------------------------------------------------------------
    // Types
    
    func customizeRecv(f *Func, recvTypeName string, embeddedIsPtr bool, level int) *Func {
    	if f == nil || f.Decl == nil || f.Decl.Recv == nil || len(f.Decl.Recv.List) != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/BUILD

            "@tf_runtime//:OpBaseTdFiles",
        ],
    )
    
    gentbl_cc_library(
        name = "runtime_fallback_ops_inc_gen",
        tbl_outs = [
            (
                ["-gen-op-decls"],
                "runtime_fallback_ops.h.inc",
            ),
            (
                ["-gen-op-defs"],
                "runtime_fallback_ops.cc.inc",
            ),
        ],
        tblgen = "@llvm-project//mlir:mlir-tblgen",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 19:04:21 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    }
    
    func run(pass *analysis.Pass) (interface{}, error) {
    	for _, f := range pass.Files {
    		if !strings.HasSuffix(pass.Fset.File(f.Pos()).Name(), "_test.go") {
    			continue
    		}
    		for _, decl := range f.Decls {
    			fn, ok := decl.(*ast.FuncDecl)
    			if !ok || fn.Recv != nil {
    				// Ignore non-functions or functions with receivers.
    				continue
    			}
    			switch {
    			case strings.HasPrefix(fn.Name.Name, "Example"):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top