Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for defs (0.04 sec)

  1. src/cmd/compile/internal/types2/issues_test.go

    `
    	const want = `L3 defs func p._()
    L4 defs const w untyped int
    L5 defs var x int
    L5 defs var y int
    L6 defs var z int
    L6 uses const w untyped int
    L6 uses var x int
    L7 uses var x int
    L7 uses var y int
    L7 uses var z int`
    
    	// don't abort at the first error
    	conf := Config{Error: func(err error) { t.Log(err) }}
    	defs := make(map[*syntax.Name]Object)
    	uses := make(map[*syntax.Name]Object)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/gccgo.go

    	if b.gccSupportsFlag(compiler, "-ffile-prefix-map=a=b") {
    		defs = append(defs, "-ffile-prefix-map="+base.Cwd()+"=.")
    		defs = append(defs, "-ffile-prefix-map="+b.WorkDir+"=/tmp/go-build")
    	} else if b.gccSupportsFlag(compiler, "-fdebug-prefix-map=a=b") {
    		defs = append(defs, "-fdebug-prefix-map="+b.WorkDir+"=/tmp/go-build")
    	}
    	if b.gccSupportsFlag(compiler, "-gno-record-gcc-switches") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 22:18:34 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. src/go/types/issues_test.go

    	f := mustParse(fset, src)
    
    	const want = `L3 defs func p._()
    L4 defs const w untyped int
    L5 defs var x int
    L5 defs var y int
    L6 defs var z int
    L6 uses const w untyped int
    L6 uses var x int
    L7 uses var x int
    L7 uses var y int
    L7 uses var z int`
    
    	// don't abort at the first error
    	conf := Config{Error: func(err error) { t.Log(err) }}
    	defs := make(map[*ast.Ident]Object)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. src/go/types/api.go

    	Defs map[*ast.Ident]Object
    
    	// Uses maps identifiers to the objects they denote.
    	//
    	// For an embedded field, Uses returns the *TypeName it denotes.
    	//
    	// Invariant: Uses[id].Pos() != id.Pos()
    	Uses map[*ast.Ident]Object
    
    	// Implicits maps nodes to their implicitly declared objects, if any.
    	// The following node and object types may appear:
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/api.go

    	Defs map[*syntax.Name]Object
    
    	// Uses maps identifiers to the objects they denote.
    	//
    	// For an embedded field, Uses returns the *TypeName it denotes.
    	//
    	// Invariant: Uses[id].Pos() != id.Pos()
    	Uses map[*syntax.Name]Object
    
    	// Implicits maps nodes to their implicitly declared objects, if any.
    	// The following node and object types may appear:
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/BUILD

                "ir/tf_op_interfaces.h.inc",
            ),
            (
                ["-gen-op-interface-defs"],
                "ir/tf_op_interfaces.cc.inc",
            ),
        ],
        tblgen = "@llvm-project//mlir:mlir-tblgen",
        td_file = "ir/tf_op_interfaces.td",
        test = True,
        deps = [
            ":tensorflow_ops_td_files",
        ],
    )
    
    gentbl_cc_library(
        name = "tensorflow_struct_doc_gen",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssagen/abi.go

    )
    
    // SymABIs records information provided by the assembler about symbol
    // definition ABIs and reference ABIs.
    type SymABIs struct {
    	defs map[string]obj.ABI
    	refs map[string]obj.ABISet
    }
    
    func NewSymABIs() *SymABIs {
    	return &SymABIs{
    		defs: make(map[string]obj.ABI),
    		refs: make(map[string]obj.ABISet),
    	}
    }
    
    // canonicalize returns the canonical name used for a linker symbol in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/sym.go

    			}
    			ctxt.nonpkgdefs = append(ctxt.nonpkgdefs, s)
    			nonpkgidx++
    		} else {
    			s.PkgIdx = goobj.PkgIdxSelf
    			s.SymIdx = idx
    			if idx != int32(len(ctxt.defs)) {
    				panic("bad index")
    			}
    			ctxt.defs = append(ctxt.defs, s)
    			idx++
    		}
    		s.Set(AttrIndexed, true)
    	})
    
    	ipkg := int32(1) // 0 is invalid index
    	nonpkgdef := nonpkgidx
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/objfile.go

    				continue
    			}
    			if s.OnList() {
    				panic("a symbol is added to defs multiple times")
    			}
    			s.PkgIdx = goobj.PkgIdxSelf
    			s.SymIdx = symidx
    			s.Set(AttrIndexed, true)
    			s.Set(AttrOnList, true)
    			symidx++
    			infosyms = append(infosyms, s)
    		}
    	}
    	ctxt.defs = append(ctxt.defs, infosyms...)
    }
    
    func writeAuxSymDebug(ctxt *Link, par *LSym, aux *LSym) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/python/converter_python_api.cc

                       "defs argument",
                       i);
          return nullptr;
        }
    
        // Parse op def from character array.
        tensorflow::OpDef opdef;
        if (!tensorflow::protobuf::TextFormat::ParseFromString(tf_opdefs, &opdef)) {
          PyErr_Format(
              PyExc_ValueError,
              "Failed to parse opdefs at index %d of custom op defs argument: %s",
              i, tf_opdefs);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top