Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 466 for defn (0.08 sec)

  1. src/cmd/compile/internal/rangefunc/rewrite.go

    	n := syntax.NewName(pos, name)
    	tv := syntax.TypeAndValue{Type: typ}
    	tv.SetIsValue()
    	n.SetTypeInfo(tv)
    	r.info.Defs[n] = obj
    	return obj, n
    }
    
    func (r *rewriter) generateParamName(results []*syntax.Field, i int) {
    	obj, n := r.sig.RenameResult(results, i)
    	r.info.Defs[n] = obj
    }
    
    // declVar declares a variable with a given name type and initializer value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/abi.go

    	"cmd/internal/obj/wasm"
    )
    
    // 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)
  3. tensorflow/c/experimental/ops/gen/common/controller.cc

          if (env_->FileExists(file_path).ok()) {
            TF_CHECK_OK(api_def_map_->LoadFile(env_, file_path)) << file_path;
          } else {
            // API defs are currently used for only optional pieces.
          }
        }
      }
    
      // Doc strings (summary, description) typically come from the API def.
      api_def_map_->UpdateDocs();
    }
    
    void Controller::BuildModel() {
      // Build the internal data model for the requested ops
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go

    		return
    	}
    	id, isId := e.(*ast.Ident)
    	if isId && id.Name == "_" {
    		return
    	}
    
    	var typ types.Type
    	if rtok == token.DEFINE {
    		if !isId {
    			return
    		}
    		obj := pass.TypesInfo.Defs[id]
    		if obj == nil {
    			return
    		}
    		typ = obj.Type()
    	} else {
    		typ = pass.TypesInfo.Types[e].Type
    	}
    
    	if typ == nil {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/BUILD

        compatible_with = get_compatible_with_portable(),
        tbl_outs = [
            (
                ["-gen-op-interface-decls"],
                "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 = [
    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/go/types/resolver_test.go

    	}
    
    	// resolve and type-check package AST
    	importer := new(resolveTestImporter)
    	conf := Config{Importer: importer}
    	uses := make(map[*ast.Ident]Object)
    	defs := make(map[*ast.Ident]Object)
    	_, err := conf.Check("testResolveIdents", fset, files, &Info{Defs: defs, Uses: uses})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// check that all packages were imported
    	for _, name := range pkgnames {
    		if !importer.imported[name] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/BUILD

    )
    
    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",
        td_file = "runtime_fallback/runtime_fallback_ops.td",
        deps = [":runtime_fallback_ops_td_files"],
    )
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 19:04:21 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

        def "can set untyped using provider"() {
            def provider = supplierWithValues(someValue(), someValue())
    
            given:
            def property = propertyWithNoValue()
            property.setFromAnyValue(provider)
    
            expect:
            property.present
            property.get() == someValue()
        }
    
        def "convention value is used before value has been set"() {
            def property = propertyWithNoValue()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

        def classpathWalker = new ClasspathWalker(TestFiles.fileSystem())
        def classpathBuilder = new DefaultClasspathBuilder(TestFiles.tmpDirTemporaryFileProvider(testDirectoryProvider.createDir("tmp")))
        def fileSystemAccess = TestFiles.fileSystemAccess()
        def globalCacheLocations = Stub(GlobalCacheLocations)
        def fileLockManager = Stub(FileLockManager)
        def agentStatus = Stub(AgentStatus) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top