Home
last modified time | relevance | path

Searched refs:funp (Results 1 – 25 of 231) sorted by relevance

12345678910

/dports/misc/tvm/incubator-tvm-0.6.1/golang/sample/
H A Dcomplex.go74 funp, err := gotvm.GetGlobalFunction("tvm.graph_runtime.create")
81 graphrt, err := funp.Invoke(jsonStr, modp, (int64)(gotvm.KDLCPU), (int64)(0))
116 funp, err = graphmod.GetFunction("load_params")
121 fmt.Printf("Func load_params:%p\n", funp)
124 _, err = funp.Invoke(bytes)
140 funp, err = graphmod.GetFunction("set_input")
147 _, err = funp.Invoke("input", inX)
156 funp, err = graphmod.GetFunction("run")
163 _, err = funp.Invoke()
171 funp, err = graphmod.GetFunction("get_output")
[all …]
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/golang/sample/
H A Dcomplex.go74 funp, err := gotvm.GetGlobalFunction("tvm.graph_runtime.create")
81 graphrt, err := funp.Invoke(jsonStr, modp, (int64)(gotvm.KDLCPU), (int64)(0))
116 funp, err = graphmod.GetFunction("load_params")
121 fmt.Printf("Func load_params:%p\n", funp)
124 _, err = funp.Invoke(bytes)
140 funp, err = graphmod.GetFunction("set_input")
147 _, err = funp.Invoke("input", inX)
156 funp, err = graphmod.GetFunction("run")
163 _, err = funp.Invoke()
171 funp, err = graphmod.GetFunction("get_output")
[all …]
/dports/misc/py-tvm/incubator-tvm-0.6.1/golang/sample/
H A Dcomplex.go74 funp, err := gotvm.GetGlobalFunction("tvm.graph_runtime.create")
81 graphrt, err := funp.Invoke(jsonStr, modp, (int64)(gotvm.KDLCPU), (int64)(0))
116 funp, err = graphmod.GetFunction("load_params")
121 fmt.Printf("Func load_params:%p\n", funp)
124 _, err = funp.Invoke(bytes)
140 funp, err = graphmod.GetFunction("set_input")
147 _, err = funp.Invoke("input", inX)
156 funp, err = graphmod.GetFunction("run")
163 _, err = funp.Invoke()
171 funp, err = graphmod.GetFunction("get_output")
[all …]
/dports/math/gretl/gretl-2021d/lib/src/
H A Dplugins.c469 void *funp; in get_function_address() local
475 if (funp == NULL) { in get_function_address()
478 funp = dlsym(handle, munged); in get_function_address()
479 if (funp == NULL) { in get_function_address()
486 return funp; in get_function_address()
520 void *funp = NULL; in get_plugin_function() local
543 if (funp == NULL) { in get_plugin_function()
547 return funp; in get_plugin_function()
565 void *funp; in get_packaged_C_function() local
574 if (funp == NULL) { in get_packaged_C_function()
[all …]
/dports/devel/radare2/radare2-5.1.1/shlr/grub/include/grub/
H A Dtest.h61 #define GRUB_UNIT_TEST(name, funp) \ argument
64 grub_test_register (name, funp); \
73 #define GRUB_FUNCTIONAL_TEST(name, funp) \ argument
74 GRUB_MOD_INIT(functional_test_##funp) \
76 grub_test_register (name, funp); \
79 GRUB_MOD_FINI(functional_test_##funp) \
/dports/misc/tvm/incubator-tvm-0.6.1/golang/src/
H A Dfunction_test.go49 funp, err := GetGlobalFunction("tvm.graph_runtime.create")
54 if reflect.TypeOf(funp).Kind() != reflect.Ptr {
66 funp, err := modp.GetFunction("myadd")
71 if reflect.TypeOf(funp).Kind() != reflect.Ptr {
94 funp.Invoke(inX, inY, out)
188 funp, err := GetGlobalFunction("TestFunctionRegister.sampleCb")
195 result, err := funp.Invoke((int64)(10), (int64)(20))
248 result, err := funp.Invoke(funccall, 30, 50)
282 result, err := funp.Invoke()
330 funp, err := ConvertFunction(sampleFunctionCb)
[all …]
H A Dfunction.go121 var funp uintptr
125 (*C.TVMFunctionHandle)(unsafe.Pointer(&funp))))
134 *handle = Function(funp)
183 func nativeTVMFuncFree(funp *Function) (retVal int32) {
184 retVal = (int32) (C.TVMFuncFree(C.TVMFunctionHandle(funp.nativeCPtr())))
227 func nativeTVMFuncCall(funp *Function, argValues []*Value, typeCodes []int32,
231 result := (int32)(C.TVMFuncCall(C.TVMFunctionHandle(*funp),
334 var funp uintptr
337 unsafe.Pointer(&funp)))
343 *handle = Function(funp)
H A Dmodule.go117 var funp uintptr
122 (*C.TVMFunctionHandle)(unsafe.Pointer(&funp))))
131 *handle = Function(funp)
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/golang/src/
H A Dfunction_test.go49 funp, err := GetGlobalFunction("tvm.graph_runtime.create")
54 if reflect.TypeOf(funp).Kind() != reflect.Ptr {
66 funp, err := modp.GetFunction("myadd")
71 if reflect.TypeOf(funp).Kind() != reflect.Ptr {
94 funp.Invoke(inX, inY, out)
188 funp, err := GetGlobalFunction("TestFunctionRegister.sampleCb")
195 result, err := funp.Invoke((int64)(10), (int64)(20))
248 result, err := funp.Invoke(funccall, 30, 50)
282 result, err := funp.Invoke()
330 funp, err := ConvertFunction(sampleFunctionCb)
[all …]
H A Dfunction.go121 var funp uintptr
125 (*C.TVMFunctionHandle)(unsafe.Pointer(&funp))))
134 *handle = Function(funp)
183 func nativeTVMFuncFree(funp *Function) (retVal int32) {
184 retVal = (int32) (C.TVMFuncFree(C.TVMFunctionHandle(funp.nativeCPtr())))
227 func nativeTVMFuncCall(funp *Function, argValues []*Value, typeCodes []int32,
231 result := (int32)(C.TVMFuncCall(C.TVMFunctionHandle(*funp),
334 var funp uintptr
337 unsafe.Pointer(&funp)))
343 *handle = Function(funp)
H A Dmodule.go117 var funp uintptr
122 (*C.TVMFunctionHandle)(unsafe.Pointer(&funp))))
131 *handle = Function(funp)
/dports/misc/py-tvm/incubator-tvm-0.6.1/golang/src/
H A Dfunction_test.go49 funp, err := GetGlobalFunction("tvm.graph_runtime.create")
54 if reflect.TypeOf(funp).Kind() != reflect.Ptr {
66 funp, err := modp.GetFunction("myadd")
71 if reflect.TypeOf(funp).Kind() != reflect.Ptr {
94 funp.Invoke(inX, inY, out)
188 funp, err := GetGlobalFunction("TestFunctionRegister.sampleCb")
195 result, err := funp.Invoke((int64)(10), (int64)(20))
248 result, err := funp.Invoke(funccall, 30, 50)
282 result, err := funp.Invoke()
330 funp, err := ConvertFunction(sampleFunctionCb)
[all …]
H A Dfunction.go121 var funp uintptr
125 (*C.TVMFunctionHandle)(unsafe.Pointer(&funp))))
134 *handle = Function(funp)
183 func nativeTVMFuncFree(funp *Function) (retVal int32) {
184 retVal = (int32) (C.TVMFuncFree(C.TVMFunctionHandle(funp.nativeCPtr())))
227 func nativeTVMFuncCall(funp *Function, argValues []*Value, typeCodes []int32,
231 result := (int32)(C.TVMFuncCall(C.TVMFunctionHandle(*funp),
334 var funp uintptr
337 unsafe.Pointer(&funp)))
343 *handle = Function(funp)
H A Dmodule.go117 var funp uintptr
122 (*C.TVMFunctionHandle)(unsafe.Pointer(&funp))))
131 *handle = Function(funp)
/dports/math/xlife++/xlifepp-sources-v2.0.1-2018-05-09/src/operator/
H A DOperand.cpp44 if(opfun_p->funp()->conjugate()) in Operand()
47 opfun_p->funp()->conjugate(false); // reset temporary conjugate state flag in Operand()
49 if(opfun_p->funp()->transpose()) in Operand()
52 opfun_p->funp()->transpose(false); // reset temporary conjugate state flag in Operand()
252 return *opfun_p->funp(); in function()
348 st=words("function", opfun_p->funp()->typeFunction()) + " '" + opfun_p->funp()->name() + "'"; in print()
369 if(opfun_p->funp()->name()!="") os<<opfun_p->funp()->name(); in printsymbolic()
/dports/www/firefox-legacy/firefox-52.8.0esr/js/src/vm/
H A DXdr.cpp117 XDRState<mode>::codeFunction(MutableHandleFunction funp) in codeFunction() argument
120 funp.set(nullptr); in codeFunction()
122 MOZ_ASSERT(funp->nonLazyScript()->enclosingScope()->is<GlobalScope>()); in codeFunction()
130 if (!XDRInterpretedFunction(this, scope, nullptr, funp)) { in codeFunction()
132 funp.set(nullptr); in codeFunction()
/dports/lang/spidermonkey60/firefox-60.9.0/js/src/vm/
H A DXdr.cpp113 bool XDRState<mode>::codeFunction(MutableHandleFunction funp, in codeFunction() argument
123 funp.set(nullptr); in codeFunction()
124 } else if (getTreeKey(funp) != AutoXDRTree::noKey) { in codeFunction()
126 scope = funp->nonLazyScript()->enclosingScope(); in codeFunction()
129 MOZ_ASSERT(funp->nonLazyScript()->enclosingScope()->is<GlobalScope>()); in codeFunction()
137 if (!XDRInterpretedFunction(this, scope, sourceObject, funp)) { in codeFunction()
139 funp.set(nullptr); in codeFunction()
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gcc.target/bpf/
H A Dxbpf-indirect-call-1.c16 void (*funp) () = &foo; in bar() local
18 (*funp) (); in bar()
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/gcc.target/bpf/
H A Dxbpf-indirect-call-1.c16 void (*funp) () = &foo; in bar() local
18 (*funp) (); in bar()
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/gcc.target/bpf/
H A Dxbpf-indirect-call-1.c16 void (*funp) () = &foo; in bar() local
18 (*funp) (); in bar()
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/testsuite/gcc.target/bpf/
H A Dxbpf-indirect-call-1.c16 void (*funp) () = &foo; in bar() local
18 (*funp) (); in bar()
/dports/lang/gcc10-devel/gcc-10-20211008/gcc/testsuite/gcc.target/bpf/
H A Dxbpf-indirect-call-1.c16 void (*funp) () = &foo; in bar() local
18 (*funp) (); in bar()
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/gcc.target/bpf/
H A Dxbpf-indirect-call-1.c16 void (*funp) () = &foo; in bar() local
18 (*funp) (); in bar()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/test/CodeGenCXX/
H A DPR19955.cpp12 extern void (*funp)();
13 void (*funp)() = &fun; variable
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/test/CodeGenCXX/
H A DPR19955.cpp12 extern void (*funp)();
13 void (*funp)() = &fun; variable

12345678910