Home
last modified time | relevance | path

Searched refs:newfunc (Results 1 – 25 of 898) sorted by relevance

12345678910>>...36

/dports/devel/py-nose/nose-1.3.7/nose/tools/
H A Dnontrivial.py20 def decorate(newfunc): argument
25 newfunc.__dict__ = func.__dict__
26 newfunc.__doc__ = func.__doc__
31 newfunc.__name__ = name
35 return newfunc
58 def newfunc(*arg, **kw): function
68 newfunc = make_decorator(func)(newfunc)
69 return newfunc
95 def newfunc(*arg, **kw): function
102 newfunc = make_decorator(func)(newfunc)
[all …]
/dports/biology/py-crossmap/CrossMap-0.5.4/.eggs/nose-1.3.7-py3.6.egg/nose/tools/
H A Dnontrivial.py20 def decorate(newfunc): argument
25 newfunc.__dict__ = func.__dict__
26 newfunc.__doc__ = func.__doc__
31 newfunc.__name__ = name
35 return newfunc
58 def newfunc(*arg, **kw): function
68 newfunc = make_decorator(func)(newfunc)
69 return newfunc
95 def newfunc(*arg, **kw): function
102 newfunc = make_decorator(func)(newfunc)
[all …]
/dports/biology/py-crossmap/CrossMap-0.5.4/.eggs/nose-1.3.7-py3.7.egg/nose/tools/
H A Dnontrivial.py20 def decorate(newfunc): argument
25 newfunc.__dict__ = func.__dict__
26 newfunc.__doc__ = func.__doc__
31 newfunc.__name__ = name
35 return newfunc
58 def newfunc(*arg, **kw): function
68 newfunc = make_decorator(func)(newfunc)
69 return newfunc
95 def newfunc(*arg, **kw): function
102 newfunc = make_decorator(func)(newfunc)
[all …]
/dports/misc/py-spdx-tools/spdx-tools-0.6.1/tests/
H A Dtesting_utils.py30 def decorate(newfunc): argument
35 newfunc.__dict__ = func.__dict__
36 newfunc.__doc__ = func.__doc__
37 newfunc.__module__ = func.__module__
38 if not hasattr(newfunc, 'compat_co_firstlineno'):
41 newfunc.__name__ = name
44 newfunc.compat_func_name = name
45 return newfunc
68 def newfunc(*arg, **kw): function
78 newfunc = make_decorator(func)(newfunc)
[all …]
/dports/astro/py-astropy/astropy-5.0/astropy/io/ascii/tests/
H A Dcommon.py52 def decorate(newfunc): argument
57 newfunc.__dict__ = func.__dict__
58 newfunc.__doc__ = func.__doc__
59 newfunc.__module__ = func.__module__
60 if not hasattr(newfunc, 'compat_co_firstlineno'):
66 newfunc.__name__ = name
69 newfunc.compat_func_name = name
70 return newfunc
95 def newfunc(*arg, **kw): function
103 newfunc = make_decorator(func)(newfunc)
[all …]
/dports/biology/emboss/EMBOSS-6.6.0/scripts/
H A Dembossdocreport.pl20 $newfunc = 0;
25 $newfunc = 1;
30 $newfunc = 1;
35 $newfunc = 1;
40 $newfunc = 1;
45 $newfunc = 1;
50 $newfunc = 1;
55 $newfunc = 1;
60 $newfunc = 1;
65 $newfunc = 1;
[all …]
/dports/databases/py-Pyrseas/Pyrseas-0.9.1/pyrseas/augment/
H A Dfunction.py59 newfunc = Function(self.name, schema, self.description, None, [],
61 src = newfunc.source
73 newfunc.source = prefix + augdb.funcsrcs[tmplkey].source + \
77 if '{{' in newfunc.source:
78 newfunc.source = newfunc.source.replace(pat, repl)
79 if '{{' in newfunc.name:
80 newfunc.name = newfunc.name.replace(pat, repl)
81 if '{{' in newfunc.description:
82 newfunc.description = newfunc.description.replace(pat, repl)
83 return newfunc
/dports/devel/pycharm-pro/pycharm-2020.2.3/plugins/python/helpers/pycharm/nose_helper/
H A Dutil.py129 def newfunc(*arg, **kw): function
132 newfunc = make_decorator(func)(newfunc)
134 newfunc.__module__ = inspect.getmodule(func)
136 newfunc.__module__ = module
137 return newfunc
144 def decorate(newfunc): argument
149 newfunc.__dict__ = func.__dict__
150 newfunc.__doc__ = func.__doc__
157 newfunc.__name__ = name
159 newfunc.compat_func_name = name
[all …]
/dports/devel/py-nose/nose-1.3.7/unit_tests/support/bug105/
H A Dtests.py21 def newfunc(): function
24 return newfunc
27 def newfunc(): function
29 newfunc = tools.make_decorator(func)(newfunc)
30 return newfunc
/dports/science/qwalk/mainline-1.0.1-300-g1b7e381/src/wavefunction/
H A DGuiding_function.h236 virtual doublevar getTrialRatio(Wf_return & newfunc, in getTrialRatio() argument
241 for(int i=0; i< newfunc.amp.GetDim(0) && i<2; i++) in getTrialRatio()
243 doublevar tempratio1=exp(newfunc.amp(i,0)-newfunc.amp(0,0)); in getTrialRatio()
249 return exp((newfunc.amp(0,0)-oldfunc.amp(0,0)))*sqrt(wfratio1/wfratio2); in getTrialRatio()
287 virtual doublevar getTrialRatio(Wf_return & newfunc, in getTrialRatio() argument
289 return newfunc.sign(0)*oldfunc.sign(0)*exp((newfunc.amp(0,0)-oldfunc.amp(0,0))); in getTrialRatio()
349 virtual doublevar getTrialRatio(Wf_return & newfunc, in getTrialRatio() argument
353 …factor = sqrt((1.0+exp(log(alpha)-2.0*newfunc.amp(0,0)))/(1.0+exp(log(alpha)-2.0*oldfunc.amp(0,0))… in getTrialRatio()
358 return factor*newfunc.sign(0)*oldfunc.sign(0)*exp((newfunc.amp(0,0)-oldfunc.amp(0,0))); in getTrialRatio()
/dports/math/gap/gap-4.11.0/tst/testinstall/
H A Dobsolete.tst2 gap> newfunc:=function() return 42; end;
4 gap> DeclareObsoleteSynonym("obsoletetestfunc","newfunc",1);
5 gap> DeclareObsoleteSynonym("obsoletetestfunc2","newfunc",2);
6 gap> DeclareObsoleteSynonym("obsoletetestfunc3","newfunc",2);
12 #I Use newfunc instead.
24 #I Use newfunc instead.
31 #I Use newfunc instead.
/dports/deskutils/virt-manager/virt-manager-3.2.0/virtManager/lib/
H A Dmodule_trace.py28 def newfunc(*args, **kwargs): function
49 return newfunc
56 newfunc = generate_wrapper(funcobj, name)
57 setattr(module, name, newfunc)
65 newfunc = generate_wrapper(methodobj, fullname)
66 setattr(classobj, name, newfunc)
/dports/databases/p5-Genezzo/Genezzo-0.72/lib/Genezzo/Row/
H A DRSDual.pm213 my $newfunc = $AUTOLOAD;
214 $newfunc =~ s/.*:://;
215 return if $newfunc eq 'DESTROY';
218 return ($rs->$newfunc(@_));
336 my $newfunc = $AUTOLOAD;
337 $newfunc =~ s/.*:://;
338 return if $newfunc eq 'DESTROY';
341 return ($rs->$newfunc(@_));
H A DRSExpr.pm222 my $newfunc = $AUTOLOAD;
223 $newfunc =~ s/.*:://;
224 return if $newfunc eq 'DESTROY';
227 return ($rs->$newfunc(@_));
460 my $newfunc = $AUTOLOAD;
461 $newfunc =~ s/.*:://;
462 return if $newfunc eq 'DESTROY';
465 return ($rs->$newfunc(@_));
/dports/devel/tinygo/tinygo-0.14.1/lib/picolibc/newlib/libm/test/
H A Dmath2.c70 newfunc("frexp/ldexp"); in test_frexp()
82 newfunc("frexpf/ldexpf"); in test_frexp()
138 newfunc("modf"); in test_mod()
155 newfunc("modff"); in test_mod()
182 newfunc("pow"); in test_pow()
199 newfunc("powf"); in test_pow()
/dports/devel/arm-none-eabi-newlib/newlib-2.4.0/newlib/libm/test/
H A Dmath2.c70 newfunc("frexp/ldexp"); in _DEFUN_VOID()
82 newfunc("frexpf/ldexpf"); in _DEFUN_VOID()
138 newfunc("modf"); in _DEFUN_VOID()
155 newfunc("modff"); in _DEFUN_VOID()
182 newfunc("pow"); in _DEFUN_VOID()
199 newfunc("powf"); in _DEFUN_VOID()
/dports/devel/py-rope/rope-0.18.0/rope/base/utils/
H A D__init__.py24 def newfunc(self, *args, **kwds): function
32 return newfunc
39 def newfunc(*args, **kwds): function
44 return newfunc
54 def newfunc(*args, **kwds): function
57 return newfunc
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gcc/newlib/libm/test/
H A Dmath2.c70 newfunc("frexp/ldexp"); in _DEFUN_VOID()
82 newfunc("frexpf/ldexpf"); in _DEFUN_VOID()
138 newfunc("modf"); in _DEFUN_VOID()
155 newfunc("modff"); in _DEFUN_VOID()
182 newfunc("pow"); in _DEFUN_VOID()
199 newfunc("powf"); in _DEFUN_VOID()
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/newlib/libm/test/
H A Dmath2.c70 newfunc("frexp/ldexp"); in _DEFUN_VOID()
82 newfunc("frexpf/ldexpf"); in _DEFUN_VOID()
138 newfunc("modf"); in _DEFUN_VOID()
155 newfunc("modff"); in _DEFUN_VOID()
182 newfunc("pow"); in _DEFUN_VOID()
199 newfunc("powf"); in _DEFUN_VOID()
/dports/www/py-turbogears2/TurboGears2-2.3.12/tg/util/
H A Dlazystring.py43 def newfunc(*args, **kwargs): function
45 newfunc.__name__ = 'lazy_%s' % func.__name__
46 newfunc.__doc__ = 'Lazy-evaluated version of the %s function\n\n%s' % \
48 return newfunc
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/pci/hotplug/
H A Dibmphp_pci.c155 newfunc = kzalloc(sizeof(*newfunc), GFP_KERNEL); in ibmphp_configure_card()
156 if (!newfunc) in ibmphp_configure_card()
160 newfunc->device = device; in ibmphp_configure_card()
162 cur_func = newfunc; in ibmphp_configure_card()
192 newfunc = kzalloc(sizeof(*newfunc), GFP_KERNEL); in ibmphp_configure_card()
193 if (!newfunc) in ibmphp_configure_card()
219 newfunc = kzalloc(sizeof(*newfunc), GFP_KERNEL); in ibmphp_configure_card()
220 if (!newfunc) in ibmphp_configure_card()
229 cur_func = newfunc; in ibmphp_configure_card()
264 newfunc = kzalloc(sizeof(*newfunc), GFP_KERNEL); in ibmphp_configure_card()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/pci/hotplug/
H A Dibmphp_pci.c155 newfunc = kzalloc(sizeof(*newfunc), GFP_KERNEL); in ibmphp_configure_card()
156 if (!newfunc) in ibmphp_configure_card()
160 newfunc->device = device; in ibmphp_configure_card()
162 cur_func = newfunc; in ibmphp_configure_card()
192 newfunc = kzalloc(sizeof(*newfunc), GFP_KERNEL); in ibmphp_configure_card()
193 if (!newfunc) in ibmphp_configure_card()
219 newfunc = kzalloc(sizeof(*newfunc), GFP_KERNEL); in ibmphp_configure_card()
220 if (!newfunc) in ibmphp_configure_card()
229 cur_func = newfunc; in ibmphp_configure_card()
264 newfunc = kzalloc(sizeof(*newfunc), GFP_KERNEL); in ibmphp_configure_card()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/pci/hotplug/
H A Dibmphp_pci.c155 newfunc = kzalloc(sizeof(*newfunc), GFP_KERNEL); in ibmphp_configure_card()
156 if (!newfunc) in ibmphp_configure_card()
160 newfunc->device = device; in ibmphp_configure_card()
162 cur_func = newfunc; in ibmphp_configure_card()
192 newfunc = kzalloc(sizeof(*newfunc), GFP_KERNEL); in ibmphp_configure_card()
193 if (!newfunc) in ibmphp_configure_card()
219 newfunc = kzalloc(sizeof(*newfunc), GFP_KERNEL); in ibmphp_configure_card()
220 if (!newfunc) in ibmphp_configure_card()
229 cur_func = newfunc; in ibmphp_configure_card()
264 newfunc = kzalloc(sizeof(*newfunc), GFP_KERNEL); in ibmphp_configure_card()
[all …]
/dports/devel/p5-Syntax-Keyword-Dynamically/Syntax-Keyword-Dynamically-0.09/
H A DAsyncAwait.h71 …define future_asyncawait_wrap_suspendhook(newfunc, oldhookp) S_future_asyncawait_wrap_suspendhook(… argument
72 static void S_future_asyncawait_wrap_suspendhook(pTHX_ SuspendHookFunc *newfunc, SuspendHookFunc **… in S_future_asyncawait_wrap_suspendhook() argument
90 sv_setuv(*hookp, PTR2UV(newfunc)); in S_future_asyncawait_wrap_suspendhook()
/dports/devel/py-debugpy/debugpy-1.5.1/src/debugpy/_vendored/pydevd/_pydevd_bundle/
H A Dpydevd_reload.py354 def _update_function(self, oldfunc, newfunc): argument
356 oldfunc.__doc__ = newfunc.__doc__
357 oldfunc.__dict__.update(newfunc.__dict__)
360 newfunc.__code__
363 newfunc.func_code
367 new_code = getattr(newfunc, attr_name)
374 oldfunc.__defaults__ = newfunc.__defaults__
376 oldfunc.func_defaults = newfunc.func_defaults

12345678910>>...36