Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 3,782 for vfunc (0.05 sec)

  1. src/debug/buildinfo/buildinfo_test.go

    		}
    		return outPath
    	}
    
    	buildWithGOPATH := func(t *testing.T, goos, goarch, buildmode string) string {
    		gopathDir := t.TempDir()
    		pkgDir := filepath.Join(gopathDir, "src/example.com/m")
    		if err := os.MkdirAll(pkgDir, 0777); err != nil {
    			t.Fatal(err)
    		}
    		helloPath := filepath.Join(pkgDir, "hello.go")
    		helloData := []byte("package main\nfunc main() {}\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. tensorflow/c/kernels.cc

          break;
    
        case tensorflow::AttrValue::kFunc:
          *list_size = -1;
          *total_size = -1;
          break;
    
        case tensorflow::AttrValue::VALUE_NOT_SET:
          status->status = absl::InvalidArgumentError(
              absl::StrCat("Attribute '", attr_name, "' has no value set"));
          break;
      }
    }
    
    #define DEFINE_TF_GETATTR(func, c_type, cc_type, attr_type, list_field)        \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 36K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/ppc64/obj9.go

    	} else {
    		return
    	}
    	obj.Nopout(p)
    }
    
    func preprocess(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {
    	// TODO(minux): add morestack short-cuts with small fixed frame-size.
    	if cursym.Func().Text == nil || cursym.Func().Text.Link == nil {
    		return
    	}
    
    	c := ctxt9{ctxt: ctxt, cursym: cursym, newprog: newprog}
    
    	p := c.cursym.Func().Text
    	textstksiz := p.To.Offset
    	if textstksiz == -8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/scanner_test.go

    	{_Const, "const", 0, 0},
    	{_Continue, "continue", 0, 0},
    	{_Default, "default", 0, 0},
    	{_Defer, "defer", 0, 0},
    	{_Else, "else", 0, 0},
    	{_Fallthrough, "fallthrough", 0, 0},
    	{_For, "for", 0, 0},
    	{_Func, "func", 0, 0},
    	{_Go, "go", 0, 0},
    	{_Goto, "goto", 0, 0},
    	{_If, "if", 0, 0},
    	{_Import, "import", 0, 0},
    	{_Interface, "interface", 0, 0},
    	{_Map, "map", 0, 0},
    	{_Package, "package", 0, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:11:21 UTC 2022
    - 21.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

        llvm::StringRef name;
        mlir::func::FuncOp func;
      };
      llvm::SmallVector<NamedFunc, 8> named_funcs;
      llvm::SmallVector<mlir::func::FuncOp, 8> private_funcs;
      for (auto func : module.getOps<mlir::func::FuncOp>()) {
        auto exported_names = mlir::tf_saved_model::GetExportedNames(func);
        if (!exported_names.empty())
          named_funcs.push_back({exported_names.front(), func});
        else
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  6. src/internal/testenv/testenv_test.go

    	if err := os.WriteFile(mainGo, []byte("package main\nfunc main() {}\n"), 0644); err != nil {
    		t.Fatal(err)
    	}
    	cmd := testenv.Command(t, "go", "build", "-o", os.DevNull, mainGo)
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Fatalf("%v: %v\n%s", cmd, err, out)
    	}
    }
    
    func TestMustHaveExec(t *testing.T) {
    	hasExec := false
    	t.Run("MustHaveExec", func(t *testing.T) {
    		testenv.MustHaveExec(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 23:12:44 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/typebits/typebits.go

    // on future calls with the same type t.
    func Set(t *types.Type, off int64, bv bitvec.BitVec) {
    	set(t, off, bv, false)
    }
    
    // SetNoCheck is like Set, but do not check for alignment.
    func SetNoCheck(t *types.Type, off int64, bv bitvec.BitVec) {
    	set(t, off, bv, true)
    }
    
    func set(t *types.Type, off int64, bv bitvec.BitVec, skip bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/assign.go

    	return early
    }
    
    // readsMemory reports whether the evaluation n directly reads from
    // memory that might be written to indirectly.
    func readsMemory(n ir.Node) bool {
    	switch n.Op() {
    	case ir.ONAME:
    		n := n.(*ir.Name)
    		if n.Class == ir.PFUNC {
    			return false
    		}
    		return n.Addrtaken() || !n.OnStack()
    
    	case ir.OADD,
    		ir.OAND,
    		ir.OANDAND,
    		ir.OANDNOT,
    		ir.OBITNOT,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testerrors/ptr_test.go

    			}
    		}
    	}
    
    	// Func support and bodies.
    	for _, pt := range ptrTests {
    		cgo := &cgo1
    		if strings.Contains(pt.support, "//export") {
    			cgo = &cgo2
    		}
    		fmt.Fprintf(cgo, "%s\nfunc %s() {\n%s\n}\n", pt.support, pt.name, pt.body)
    	}
    
    	// Func list and main dispatch.
    	fmt.Fprintf(&cgo1, "var funcs = map[string]func() {\n")
    	for _, pt := range ptrTests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:49 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

    `cluster_func`.
    
    For example, given the following `cluster_func` wrapping `func`:
    
    ```mlir
      func @test(%arg0: tensor<*xi32>) {
        "tf_device.cluster_func"(%arg0) {
            func = @func,
            step_marker_location = ""} : (tensor<*xi32>) -> tensor<*xi32>
        return
      }
    
      func @func(%arg0: tensor<*xi32>) -> tensor<*xi32> {
        %0 = "tf.XlaSharding"(%arg0) {_XlaSharding = "\01\02\03",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
Back to top