Displaying 20 results from an estimated 20 matches for "newfunc".
2001 Sep 07
1
"load" for text file with functions?
...hese
notes to the FAQ curator I would like to make sure
on the following:
Given an ascii text file with several
functions (i.e., myfuncs.txt), is there any equivalent to
load(), so that the functions become
usable in R? Or is it necessary
to install it as a library?
(As a quick trick, I used
fix(newfunc) and then pasted
all the file myfuncs.txt in newfunc.
Then save(newfunc,file="myfuncs.R").
Note that data.restore does not
give good results for functions).
Thanks
Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
f...
2009 Apr 28
1
Package Updater problems
...ateDictResult
sackResult = apply(method, args)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 861,
in getProvides
return self._search("provides", name, flags, version)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in
newFunc
return func(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 837,
in _search
for pkg in self.searchFiles(name, strict=True):
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in
newFunc
return func(*args, **kwar...
2011 Sep 04
1
[LLVMdev] correct types for ArgumentList?
...<Type *> v_params;
v_params.push_back(ptrType); /* Shadow */
v_params.push_back(ptrType); /* New Value */
v_params.push_back(ptrType); /* Pointer */
ArrayRef<Type *> a_params(v_params);
Where the assignment will look something like this:
Value *val = newFunc->arg_begin();
Value *ptr = ++(newFunc->arg_begin());
new StoreInst(val, ptr, block);
But the only way I know to call is it is like this:
vector<Value *> v_args;
v_args.push_back(shadow);
v_args.push_back(store->getValueOperand());
v_args.push_back(store->...
2013 Mar 11
2
CentOS release 5.3 (Final) yum update error TypeError: unsubscriptable object
...egateDictResult
sackResult = apply(method, args)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 861, in
getProvides
return self._search("provides", name, flags, version)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in
newFunc
return func(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 837, in
_search
for pkg in self.searchFiles(name, strict=True):
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in
newFunc
return func(*args, **kwargs...
2009 Apr 05
1
error from yum from 5.3
...in _computeAggregateListResult
sackResult = apply(method, args)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 459,
in searchAll
return self.searchPrco(name, 'provides')
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in
newFunc
return func(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 931,
in searchPrco
results.extend(self.searchFiles(name))
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in
newFunc
return func(*args, **kwargs)...
2009 May 16
1
problem of update by yum
...egateDictResult
sackResult = apply(method, args)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 861, in getProvides
return self._search("provides", name, flags, version)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc
return func(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 837, in _search
for pkg in self.searchFiles(name, strict=True):
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc
return func(*args, **kwargs...
2009 Oct 12
1
can't update python ?!@#@?
...egateDictResult
sackResult = apply(method, args)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 861, in
getProvides
return self._search("provides", name, flags, version)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in
newFunc
return func(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 837, in
_search
for pkg in self.searchFiles(name, strict=True):
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in
newFunc
return func(*args, **kwargs...
2010 Nov 25
1
[LLVMdev] Detailed help with cloning the basic blocks of a function
Hi,
Thank you guys for helping me out with my previous questions.
I am new to LLVM, and I'm getting stuck trying to do some basic stuff:
Currently, I'm trying to move all the basic blocks of one function into
another one,
and at some point insert a branch into the moved function's entry point.
The best way which I've found is to use CloneBasicBlock (from Cloning.h).
However, I
2011 Sep 15
1
[LLVMdev] problems naming a function
I created a new Function in code(for a pass), and now I want to name
it to make the IR more readable.
Function inherits GlobalValue, which eventually inherits Value. Value
has the setName() method. When I do this on my new
function(newFunc->setName(string("testing"))) I get back "error:
‘setName’ was not declared in this scope". What is the correct way
todo this?
Thanks
2009 Jun 03
4
yum update error this morning
...ateDictResult
sackResult = apply(method, args)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 861,
in getProvides
return self._search("provides", name, flags, version)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in
newFunc
return func(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 837,
in _search
for pkg in self.searchFiles(name, strict=True):
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in
newFunc
return func(*args, **kwar...
2009 Apr 13
1
Possible bug?
...ateDictResult
sackResult = apply(method, args)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 861,
in getProvides
return self._search("provides", name, flags, version)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in
newFunc
return func(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 837,
in _search
for pkg in self.searchFiles(name, strict=True):
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in
newFunc
return func(*args, **kwar...
2008 Dec 30
3
Anaconda crash during Centos 5.2 installation.
...crash.
I made several tries with various installation resquest (the last
is "Server", "Customize after installation") unfortunately, it's
reproductible:
Traceback (most recent call first):
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 42, in
newFunc
raise Errors.RepoError
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 596, in
searchPrco
results.extend(self.searchFiles(name))
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 40, in
newFunc
return func(*args, **kwargs)
File &...
2009 Apr 08
2
Issues with vsftpd install
...esult = apply(method, args)
> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 861, in
> getProvides
> return self._search("provides", name, flags, version)
> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in
> newFunc
> return func(*args, **kwargs)
> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 837, in
> _search
> for pkg in self.searchFiles(name, strict=True):
> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in
> newFunc
&...
2009 Apr 03
3
yum update perl error in CentOS 5.3
...egateDictResult
sackResult = apply(method, args)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 861,
in getProvides
return self._search("provides", name, flags, version)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in
newFunc
return func(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 837,
in _search
for pkg in self.searchFiles(name, strict=True):
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in
newFunc
return func(*args, **kwargs...
2016 Jun 20
3
function call replacement
Hi everyone,
I am trying to replace the call of a certain function with a call to
another function. It would for example replace the following:
%call = tail call noalias i8* @func(i64 10)
by
%call = tail call noalias i8* @other_func(i64 10)
I managed to declare other_func correctly but I am having troubles to
understand how I should proceed to do the replacement.
I tried to use
2015 May 17
0
That 'make check-all' problem with the survival package
...other non-default packages.
>
>The only other Recommended package that I found that has such a connection is nlme, which has a Suggests for Frank?s Hmisc. However, based upon a grep review of the package contents, there are only two code based references to Hmisc that I located:
>
>./R/newFunc.R:264:? ? ? ## e.g. Hmisc's "labelled"
>./tests/augPred_lab.R:2:if(require("Hmisc")) {
>
>Neither of which is really needed (the first being a comment only, so benign) and of course the latter goes against the current guidance in R-exts. The second, within the if()...
2015 May 16
2
That 'make check-all' problem with the survival package
------------------------------
On Sat, May 16, 2015 8:04 AM BST Uwe Ligges wrote:
>Not sure why this goes to R-devel. You just could have asked the
>maintainer. Terry Therneau is aware of it and promised he will fix it.
>
The quickest fix is to add cmprsk to the recommended list , and that's is an R-devel issue.
>On 16.05.2015 07:22, Hin-Tak Leung wrote:
>> 'make
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...hotplug_slot failed "
- "(err code = 0x%x)\n", retval);
+ pr_warn("acpiphp_register_hotplug_slot failed (err code = 0x%x)\n",
+ retval);
goto err_exit;
}
}
@@ -233,7 +235,7 @@ register_slot(acpi_handle handle, u32 lvl, void *context, void **rv)
*/
newfunc->nb.notifier_call = post_dock_fixups;
if (register_dock_notifier(&newfunc->nb))
- dbg("failed to register a dock notifier");
+ dbg("failed to register a dock notifier\n");
}
/* install notify handler */
@@ -244,7 +246,7 @@ register_slot(acpi_handle handle,...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...hotplug_slot failed "
- "(err code = 0x%x)\n", retval);
+ pr_warn("acpiphp_register_hotplug_slot failed (err code = 0x%x)\n",
+ retval);
goto err_exit;
}
}
@@ -233,7 +235,7 @@ register_slot(acpi_handle handle, u32 lvl, void *context, void **rv)
*/
newfunc->nb.notifier_call = post_dock_fixups;
if (register_dock_notifier(&newfunc->nb))
- dbg("failed to register a dock notifier");
+ dbg("failed to register a dock notifier\n");
}
/* install notify handler */
@@ -244,7 +246,7 @@ register_slot(acpi_handle handle,...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...hotplug_slot failed "
- "(err code = 0x%x)\n", retval);
+ pr_warn("acpiphp_register_hotplug_slot failed (err code = 0x%x)\n",
+ retval);
goto err_exit;
}
}
@@ -233,7 +235,7 @@ register_slot(acpi_handle handle, u32 lvl, void *context, void **rv)
*/
newfunc->nb.notifier_call = post_dock_fixups;
if (register_dock_notifier(&newfunc->nb))
- dbg("failed to register a dock notifier");
+ dbg("failed to register a dock notifier\n");
}
/* install notify handler */
@@ -244,7 +246,7 @@ register_slot(acpi_handle handle,...