Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 500 for defs (0.04 sec)

  1. src/go/types/example_test.go

    	// Type-check the package.
    	// We create an empty map for each kind of input
    	// we're interested in, and Check populates them.
    	info := types.Info{
    		Types: make(map[ast.Expr]types.TypeAndValue),
    		Defs:  make(map[*ast.Ident]types.Object),
    		Uses:  make(map[*ast.Ident]types.Object),
    	}
    	var conf types.Config
    	pkg, err := conf.Check("fib", fset, []*ast.File{f}, &info)
    	if err != nil {
    		log.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. src/runtime/defs_arm_linux.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    /*
    Input to cgo.
    On a Debian Lenny arm linux distribution:
    
    cgo -cdefs defs_arm.c >arm/defs.h
    */
    
    package runtime
    
    /*
    #cgo CFLAGS: -I/usr/src/linux-headers-2.6.26-2-versatile/include
    
    #define __ARCH_SI_UID_T int
    #include <asm/signal.h>
    #include <asm/mman.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  3. WORKSPACE

    load("@python_version_repo//:py_version.bzl", "TF_PYTHON_VERSION")
    
    python_register_toolchains(
        name = "python",
        ignore_root_user_error = True,
        python_version = TF_PYTHON_VERSION,
    )
    
    load("@python//:defs.bzl", "interpreter")
    load("@rules_python//python:pip.bzl", "package_annotation", "pip_parse")
    
    NUMPY_ANNOTATIONS = {
        "numpy": package_annotation(
            additive_build_content = """\
    filegroup(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 05 22:27:48 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/testinggoroutine/util.go

    		if f != nil && fnDecls == nil {
    			fnDecls = make(map[*types.Func]*ast.FuncDecl)
    			for _, file := range files {
    				for _, decl := range file.Decls {
    					if fnDecl, ok := decl.(*ast.FuncDecl); ok {
    						if fn, ok := info.Defs[fnDecl.Name].(*types.Func); ok {
    							fnDecls[fn] = fnDecl
    						}
    					}
    				}
    			}
    		}
    		// TODO: set f = f.Origin() here.
    		return fnDecls[f]
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. 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)
  7. src/go/types/self_test.go

    		conf := Config{
    			IgnoreFuncBodies: ignoreFuncBodies,
    			Importer:         importer.Default(),
    		}
    		var info *Info
    		if writeInfo {
    			info = &Info{
    				Types:      make(map[ast.Expr]TypeAndValue),
    				Defs:       make(map[*ast.Ident]Object),
    				Uses:       make(map[*ast.Ident]Object),
    				Implicits:  make(map[ast.Node]Object),
    				Selections: make(map[*ast.SelectorExpr]*Selection),
    				Scopes:     make(map[ast.Node]*Scope),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:39:00 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/force_xla_constants_on_host_pass_test.cc

      bool found = false;
      for (Node* node : graph->nodes()) {
        if (CanCreateXlaKernel(node->def())) {
          EXPECT_FALSE(found);
          found = true;
          std::vector<int32> hostmem_attr;
          EXPECT_TRUE(TryGetNodeAttr(node->def(), "_input_hostmem", &hostmem_attr));
          EXPECT_EQ(hostmem_attr.size(), 1);
          EXPECT_EQ(hostmem_attr[0], 1);
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/compile/internal/types2/self_test.go

    		conf := Config{
    			IgnoreFuncBodies: ignoreFuncBodies,
    			Importer:         defaultImporter(),
    		}
    		var info *Info
    		if writeInfo {
    			info = &Info{
    				Types:      make(map[syntax.Expr]TypeAndValue),
    				Defs:       make(map[*syntax.Name]Object),
    				Uses:       make(map[*syntax.Name]Object),
    				Implicits:  make(map[syntax.Node]Object),
    				Selections: make(map[*syntax.SelectorExpr]*Selection),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:39:00 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top