Displaying 20 results from an estimated 1100 matches similar to: "a issue about the qutation mark?"
2010 Aug 31
1
any statement equals to 'goto'?
I have the following code:
-----------------------------------------------------------------------------------------------------
result <- matrix(NA, nrow=1, ncol=5)
for(i in 1:(nsnp-1)) {
for(j in (i+1):nsnp){
tempsnp1 <- data.lme[,i]
tempsnp2 <- data.lme[,j]
fm1 <- lme(trait~sex+age+rmtemp.b+fc+tempsnp1+tempsnp2+tempsnp1*tempsnp2,
random=~1|famid, na.action=na.omit)
fm2 <-
2013 Apr 30
2
R Function to extract columnNames
Hi,
May be this helps:
funcName<- function(df1, x){
?whatCol=df1[[x]]
?print("Got it")
?print(whatCol)
?}
?
funcName(df,"ColA")
#[1] "Got it"
#[1] 1 2 3 4 5
? funcName(df,"ColB")
#[1] "Got it"
#[1] A B C D E
#Levels: A B C D E
A.K.
>I am trying to extract the 2nd column from a dataframe using a function
called funcName. Note this is an
2016 Jul 28
2
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
I needed to be able to update stub pointers for hot functions that get
recompiled in a lazy JIT that uses CompileOnDemandLayer. In order to do
this I added a method that allows pointers to be updated but does not
expose any of the other internals of the COD layer.
Does anyone have a cleaner way to do this? Has something to facilitate
this already been added? Would it be possible to merge this
2013 Oct 19
2
[LLVMdev] An enhancement for MCJIT::getFunctionAddress
In MCJIT, the old JIT functions are deprecated in favor
of getFunctionAddress.
Code like:
llvm::Function *F = M->getFunction(FuncName);
void *FN = EE->getPointerToFunction(F);
should be rewritten as
uint64_t FN = EE->getFunctionAddress(FuncName);
While functionally identical, in case the correct module is known the new
version will be much slower, linear with the number of added
2002 May 02
2
General "moving" functions
General "moving" function.
I'm a relatively new comer to R, and I've only just started writing my own R
functions. However, I need some help for something which I'm sure is quite
straight forward.
I want to write a function that will allow me to calculate "moving results"
for a given vector. Ideally, the function will be of the form
foo<-function(vector1,
2020 Jul 22
3
samba-tool domain backup offline stalls
FreeBSD-12.1p7 jail running Samba-4.10.15 on ZFS.
When I run 'samba-tool domain backup offline targetdir=/tmp' I see this:
running backup on dirs: /var/db/samba4/private /var/db/samba4 /usr/local/etc
Starting transaction on /var/db/samba4/private/secrets
At which point samba-tool enters a permanent wait state.
86064 root 1 52 0 131M 78M wait 3 0:01 0.00%
2016 Jul 29
0
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
+Lang Hames <lhames at gmail.com>, Master Regent of the Three <No, Two sir>
JITs
On Thu, Jul 28, 2016 at 12:31 PM Sean Ogden via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> I needed to be able to update stub pointers for hot functions that get
> recompiled in a lazy JIT that uses CompileOnDemandLayer. In order to do
> this I added a method that allows pointers to
2013 Dec 19
1
Re: About debugging of libvirt.
i did the debugging as you said. Kindly refer the following logs:
(gdb) c
Continuing.
thread apply all bt
[New Thread 0x7fc337c6b700 (LWP 29520)]
Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) thread apply all bt
Thread 12 (Thread 0x7fc337c6b700 (LWP 29520)):
#0 0x00007fc33509f18d in read () from /lib/x86_64-linux-gnu/libpthread.so.0
#1
2016 Jul 29
2
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
Hi Sean,
This is great, but it couples LogicalDylib too tightly to
CompileOnDemandLayer. Does this alternative implementation of
getLogicalModuleResourcesForSymbol work for you (unfortunately I don't have
a local test case for this yet):
LogicalModuleResources*
getLogicalModuleResourcesForSymbol(const std::string &Name,
bool
2013 Oct 21
0
[LLVMdev] An enhancement for MCJIT::getFunctionAddress
I should have read this before sending my previous reply. :-)
I'm not a big fan of default parameters, but some form of what you are suggesting may be useful. See my other comments on this topic in the other reply.
-Andy
From: Yaron Keren [mailto:yaron.keren at gmail.com]
Sent: Saturday, October 19, 2013 3:17 PM
To: Kaylor, Andrew; <llvmdev at cs.uiuc.edu>
Subject: An enhancement
2013 Oct 21
2
[LLVMdev] An enhancement for MCJIT::getFunctionAddress
The search is linear? If that’s really true, we should fix that.
On Oct 21, 2013, at 10:14 AM, Kaylor, Andrew <andrew.kaylor at intel.com> wrote:
> I should have read this before sending my previous reply. :-)
>
> I’m not a big fan of default parameters, but some form of what you are suggesting may be useful. See my other comments on this topic in the other reply.
>
>
2016 Aug 26
2
Re: [PATCH v2 1/6] filesystem_walk: fixed root inode listing
On Thursday, 25 August 2016 23:53:51 CEST Matteo Cafasso wrote:
> With the current implementation, the root inode of the given partition
> is ignored.
>
> The root inode is now reported. Its name will be a single dot '.'
> reproducing the TSK API.
>
> Signed-off-by: Matteo Cafasso <noxdafox@gmail.com>
> ---
> daemon/tsk.c | 17 ++++++++++++++---
> 1
2016 Jul 29
0
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
It does work. I just tested it on my JIT. Thanks!
As for the part that couples them too tightly, would you recommend I just
keep my own specialized version of CompileOnDemandLayer.h that includes
this functionality, or do you have any ideas for a cleaner way to do this?
I've noticed a couple of people asking for support for updating stub
pointers for functions that are optimized at runtime,
2016 Jul 30
1
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
Hi Sean,
As for the part that couples them too tightly, would you recommend I just
> keep my own specialized version of CompileOnDemandLayer.h that includes
> this functionality, or do you have any ideas for a cleaner way to do this?
My apologies - I wasn't very clear in my description of the issue. The only
sense in which your original patch was tightly coupled was that it had
2013 Oct 21
0
[LLVMdev] An enhancement for MCJIT::getFunctionAddress
There's probably a lot that we could do, but I can't think of anything easy.
Basically every time we need to look up a symbol by name we're going to each module and saying "Do you have this symbol?" It would likely be much better if we grabbed the function names from the module and did the search ourselves so that we could keep some information about the things that
2016 Aug 26
1
Re: [PATCH v2 1/6] filesystem_walk: fixed root inode listing
On Friday, 26 August 2016 15:15:17 CEST noxdafox wrote:
> On 26/08/16 14:15, Pino Toscano wrote:
> > On Thursday, 25 August 2016 23:53:51 CEST Matteo Cafasso wrote:
> >> With the current implementation, the root inode of the given partition
> >> is ignored.
> >>
> >> The root inode is now reported. Its name will be a single dot '.'
> >>
2016 Apr 04
2
Re: [PATCH v2 3/5] daemon: Added internal_filesystem_walk command
On Sunday 03 April 2016 16:30:48 Matteo Cafasso wrote:
> The internal_filesystem_walk command walks
> through the FS structure of a disk partition
> and returns all the files or directories
> which could be found.
>
> The command is able to retrieve information
> regarding deleted or unaccessible files as well
> where other commands such as stat or find
> would fail.
2013 Oct 22
2
[LLVMdev] An enhancement for MCJIT::getFunctionAddress
I don’t follow. Why are we looking at the module at all? That query should work even (especially) after the Module is deleted. We should be able to have a local symbol table that’s a DenseMap or something similar to resolve from names to target addresses. That map would be updated as part of the compilation when the object’s symbol table gets read.
-Jim
On Oct 21, 2013, at 4:55 PM, Kaylor,
2007 Sep 20
10
Element.addMethods functions swallowing exceptions (IE6 + 7)
IE6 and IE7 are not correctly handling the ''throw'' command for
functions attached to Element via Element.addMethods. Firefox and
Safari are fine.
See the example below.
For IE6: functions called with no attributes (ie: funcName())
correctly handle thrown errors. Funcions called with attributes (ie:
funcName("foo")) will respond to the throw command and pass execution
2020 Sep 29
3
OrcV1 removal
Hi,
On 2020-09-25 16:38:41 -0700, Andres Freund via llvm-dev wrote:
> On 2020-09-24 16:34:30 -0700, Lang Hames wrote:
> > If anyone wants to check out the OrcV1 removal branch and provide feedback
> > now is the time. Otherwise I will aim to land the work in the mainline
> > early next week.
>
> I'm trying to get it to work with postgres. Unfortunately this week