Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for _Cfunc_ (0.19 sec)

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

    		}
    	}
    
    	return
    }
    
    var cgoPrefixes = [...]string{
    	"_Ciconst_",
    	"_Cfconst_",
    	"_Csconst_",
    	"_Ctype_",
    	"_Cvar_", // actually a pointer to the var
    	"_Cfpvar_fp_",
    	"_Cfunc_",
    	"_Cmacro_", // function to evaluate the expanded expression
    }
    
    func (check *Checker) selector(x *operand, e *syntax.SelectorExpr, def *TypeName, wantType bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  2. src/go/types/call.go

    		}
    	}
    
    	return
    }
    
    var cgoPrefixes = [...]string{
    	"_Ciconst_",
    	"_Cfconst_",
    	"_Csconst_",
    	"_Ctype_",
    	"_Cvar_", // actually a pointer to the var
    	"_Cfpvar_fp_",
    	"_Cfunc_",
    	"_Cmacro_", // function to evaluate the expanded expression
    }
    
    func (check *Checker) selector(x *operand, e *ast.SelectorExpr, def *TypeName, wantType bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc

      explicit ConvertEmbeddedLookupFunc(func::FuncOp func) : func_(func) {}
    
      void RewriteFunc() {
        func_->setAttr(kTFImplements,
                       StringAttr::get(func_.getContext(), "embedding_lookup"));
        Value lookup = func_.getArgument(1);
        Value value = func_.getArgument(0);
        auto output_type = func_.getFunctionType().getResult(0);
    
        OpBuilder builder(func_.getBody());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

      }
      builder_.create<func::ReturnOp>(func_.getLoc(), ret_operands);
    
      auto arg_types = body.getArgumentTypes();
      auto result_types = body.getTerminator()->getOperandTypes();
      func_.setType(FunctionType::get(func_.getContext(), arg_types, result_types));
      *f = new MlirFunction(std::move(context_), std::move(module_), func_);
      return absl::OkStatus();
    }
    
    extern "C" {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  5. src/runtime/symtab.go

    		}
    	}
    	return nil
    }
    
    type funcInfo struct {
    	*_func
    	datap *moduledata
    }
    
    func (f funcInfo) valid() bool {
    	return f._func != nil
    }
    
    func (f funcInfo) _Func() *Func {
    	return (*Func)(unsafe.Pointer(f._func))
    }
    
    // isInlined reports whether f should be re-interpreted as a *funcinl.
    func (f *_func) isInlined() bool {
    	return f.entryOff == ^uint32(0) // see comment for funcinl.ones
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  6. src/go/types/subst.go

    				// and copy all variables
    				new := make([]*Var, len(in))
    				copy(new, out)
    				out = new
    				copied = true
    			}
    			out[i] = w
    		}
    	}
    	return
    }
    
    func (subst *subster) func_(f *Func) *Func {
    	if f != nil {
    		if typ := subst.typ(f.typ); typ != f.typ {
    			return substFunc(f, typ)
    		}
    	}
    	return f
    }
    
    func substFunc(f *Func, typ Type) *Func {
    	copy := *f
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/subst.go

    				// and copy all variables
    				new := make([]*Var, len(in))
    				copy(new, out)
    				out = new
    				copied = true
    			}
    			out[i] = w
    		}
    	}
    	return
    }
    
    func (subst *subster) func_(f *Func) *Func {
    	if f != nil {
    		if typ := subst.typ(f.typ); typ != f.typ {
    			return substFunc(f, typ)
    		}
    	}
    	return f
    }
    
    func substFunc(f *Func, typ Type) *Func {
    	copy := *f
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. src/runtime/runtime2.go

    	// that index's table. e.g.,
    	// &moduledata.pctab[_func.pcdata[_PCDATA_UnsafePoint]] is the start of
    	// the unsafe point table.
    	//
    	// An offset of 0 indicates that there is no table.
    	//
    	// pcdata [npcdata]uint32
    
    	// funcdata contains the offset past moduledata.gofunc which contains a
    	// pointer to that index's funcdata. e.g.,
    	// *(moduledata.gofunc +  _func.funcdata[_FUNCDATA_ArgsPointerMaps]) is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/experimental/tac/transforms/raise_target_subgraphs.cc

      func::FuncOp& added_func_op = ops_added.func_op;
      func::CallOp& added_call_op = ops_added.call_op;
      StringAttr interface_name =
          builder.getStringAttr(absl::StrCat("func_", func_count));
    
      added_func_op->setAttr(kInterfaceNameAttr, interface_name);
      added_call_op->setAttr(kInterfaceNameAttr, interface_name);
    
      StringAttr device = mlir::cast<StringAttr>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

      auto insertion_point = builder.saveInsertionPoint();
      func::FuncOp new_func = CreateFnWithSignature(module, inputs, outputs,
                                                    absl::StrCat("_func_", name));
    
      // This preserves the order of the ops that was in the original parent
      // funtion. This is critical for preserving correctness in the presence of
      // resource variables and stateful functions.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top