Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 117 for cfunc (0.05 sec)

  1. src/cmd/compile/internal/walk/complit.go

    // fixedlit handles struct, array, and slice literals.
    // TODO: expand documentation.
    func fixedlit(ctxt initContext, kind initKind, n *ir.CompLitExpr, var_ ir.Node, init *ir.Nodes) {
    	isBlank := var_ == ir.BlankNode
    	var splitnode func(ir.Node) (a ir.Node, value ir.Node)
    	switch n.Op() {
    	case ir.OARRAYLIT, ir.OSLICELIT:
    		var k int64
    		splitnode = func(r ir.Node) (ir.Node, ir.Node) {
    			if r.Op() == ir.OKEY {
    				kv := r.(*ir.KeyExpr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/wasm/ssa.go

    		p = pp.Append(p, wasm.AI64Store, 0, 0, 0, obj.TYPE_CONST, 0, off+i)
    	}
    
    	return p
    }
    
    func ginsnop(pp *objw.Progs) *obj.Prog {
    	return pp.Prog(wasm.ANop)
    }
    
    func ssaMarkMoves(s *ssagen.State, b *ssa.Block) {
    }
    
    func ssaGenBlock(s *ssagen.State, b, next *ssa.Block) {
    	switch b.Kind {
    	case ssa.BlockPlain:
    		if next != b.Succs[0].Block() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/stmt.go

    	"cmd/internal/src"
    	"internal/types/errors"
    )
    
    func RangeExprType(t *types.Type) *types.Type {
    	if t.IsPtr() && t.Elem().IsArray() {
    		return t.Elem()
    	}
    	return t
    }
    
    func typecheckrangeExpr(n *ir.RangeStmt) {
    }
    
    // type check assignment.
    // if this assignment is the definition of a var on the left side,
    // fill in the var's type.
    func tcAssign(n *ir.AssignStmt) {
    	if base.EnableTrace && base.Flag.LowerT {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:10:54 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  4. src/sort/gen_sort_variants.go

    			Funcs: template.FuncMap{
    				"Less": func(name, i, j string) string {
    					return fmt.Sprintf("%s.Less(%s, %s)", name, i, j)
    				},
    				"Swap": func(name, i, j string) string {
    					return fmt.Sprintf("%s.Swap(%s, %s)", name, i, j)
    				},
    			},
    		},
    		Variant{
    			Name:       "func",
    			Path:       "zsortfunc.go",
    			Package:    "sort",
    			Imports:    "",
    			FuncSuffix: "_func",
    			TypeParam:  "",
    			ExtraParam: "",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testshared/shared_test.go

    func testMain(m *testing.M) (int, error) {
    	if testing.Short() && os.Getenv("GO_BUILDER_NAME") == "" {
    		globalSkip = func(t testing.TB) { t.Skip("short mode and $GO_BUILDER_NAME not set") }
    		return m.Run(), nil
    	}
    	if !platform.BuildModeSupported(runtime.Compiler, "shared", runtime.GOOS, runtime.GOARCH) {
    		globalSkip = func(t testing.TB) { t.Skip("shared build mode not supported") }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 26 01:54:41 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top