Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] Size of packed struct type <{<3 x i32>, i32}>"
2011 Mar 10
1
getting percentiles by factor
Hello,
I'm trying to get percentiles (PERCENTRANK for excel users) by factor in the
following data.frame:
myExample <- data.frame(Ret=seq(-2, 2.5,
by=0.5),PE=seq(10,19),Sectors=rep(c("Financial","Industrial"),5))
myExample <- na.omit(myExample)
Thanks to Patrick I I managed to put together the following lines which does
it for the "Ret" column:
myecdf
2010 May 18
1
difficulties with setMethod("[" and ...
Apologies if I am not understanding something about how things are being
handled when using S4 methods, but I have been unable to find an answer to
my problem for some time now.
Briefly, I am associating the generic '[' with a class which I wrote
(here: myExample). The underlying back-end allows me to read contiguous
slabs, e.g., 1:10, but not c(1, 10). I want to shield the user from this
2006 May 26
1
R.oo question
This is a simple R.oo question but I, thankfully, hope that someone
would explain it to me so I would better understand this work frame.
I create this class:
setConstructorS3("MyExample", function(param=0) {
print(paste("called with param=", param))
extend(Object(), "MyExample",
.param = param
);
})
>From what is printed out, who made the second call to
2012 Jun 26
5
Next Problem: Puppet 2.7 + Passenger won't connect
OK. What did I booger up this time ?
agent.myexample.org and puppetmaster.myexample.org are the same server.
----------------------------------------------------------------------------
# puppetd --no-daemonize --onetime --debug --noop
debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist
debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not
2011 Sep 02
0
[LLVMdev] Exception Tables in latest LLVM
Hi Yiannis,
> I have been using llvm 2.8 (i know ancient history!) for a backend that i was
> implementing. I have been trying to port my patches to latest llvm (svn build)
> lately but i have one problem as far as the Exception Handling mechanism is
> concerned. It seems that there are no Exception Tables generated any more such
> as the one below:
got some example bitcode for
2011 Sep 02
2
[LLVMdev] Exception Tables in latest LLVM
Hey everybody!
I have been using llvm 2.8 (i know ancient history!) for a backend that i
was implementing. I have been trying to port my patches to latest llvm (svn
build) lately but i have one problem as far as the Exception Handling
mechanism is concerned. It seems that there are no Exception Tables
generated any more such as the one below:
.section .gcc_except_table,"a", at
2011 Sep 02
2
[LLVMdev] Exception Tables in latest LLVM
On 09/02/2011 05:58 PM, Duncan Sands wrote:
> Hi Yiannis,
>
>> I have been using llvm 2.8 (i know ancient history!) for a backend that i was
>> implementing. I have been trying to port my patches to latest llvm (svn build)
>> lately but i have one problem as far as the Exception Handling mechanism is
>> concerned. It seems that there are no Exception Tables generated
2011 Sep 02
0
[LLVMdev] Exception Tables in latest LLVM
Hi Yiannis,
>>> I have been using llvm 2.8 (i know ancient history!) for a backend that i was
>>> implementing. I have been trying to port my patches to latest llvm (svn build)
>>> lately but i have one problem as far as the Exception Handling mechanism is
>>> concerned. It seems that there are no Exception Tables generated any more such
>>> as the one
2009 Feb 20
2
importing data to SQLite database with sqldf
Hi all,
I am attempting to learn SQL through sqldf...
One task I am particularly interested in is merging separate
(presumably large) files into a single table without loading these
files into R as an intermediate step (by loading them into SQLite and
merging them there).
Taking a step back, I've considered these alternatives:
1) I know if I use straight SQLite commands I might use the
2011 Jul 28
0
[LLVMdev] LLVMdev Digest, Vol 85, Issue 50
On Jul 28, 2011, at 2:22 PM, Peter Lawrence wrote:
> John,
> I'm still not sure what you're talking about, I have included the assembly
> output from two compilations, one with a user explicit catch-all, one with only an
> implicit cleanup, the DWARF Action Table and Types Table are absolutely identical,
> as are the indexes used to reference the Action Table from
2009 Sep 15
1
Regular expression problem
Dear R-users,
I am trying to use the grep function to test whether a particular string
is of the form "n.../mydir/myfile.mytype.myext". Anything between n and
mytype could vary, and anything after mytype could vary. I tried to
proceed by steps to build my regular expression... but I do not really
understand why the last call of the following code do not work.
Any help would be
2012 Jun 14
0
[LLVMdev] Structs passed by value
Hi,
On Wed, Jun 13, 2012 at 9:55 AM, Martinez, Javier E <
javier.e.martinez at intel.com> wrote:
> Hello,****
>
> ** **
>
> I’m trying to change the default behavior for how structures are passed to
> functions to use pass-by-value. Currently LLVM’s default behavior is to
> pass structures by reference. I’m not disputing the benefits of this but I
> really want to
2012 Jun 13
2
[LLVMdev] Structs passed by value
Hello,
I'm trying to change the default behavior for how structures are passed to functions to use pass-by-value. Currently LLVM's default behavior is to pass structures by reference. I'm not disputing the benefits of this but I really want to change the default behavior for experimentation purposes.
To this end I've changed the code in DefaultABIInfo::classifyArgumentType() to
2012 Dec 30
0
[LLVMdev] Cannot interchange "literal" and "identified" structs
Justin,
http://llvm.org/docs/LangRef.html#structure-type
"Identified types can be recursive, can be opaqued, and are never uniqued."
Do you think it would be less descriptive?
"Identified type, aka named llvm::StructType, is never uniqued against
other identified types nor literal types, aka unnamed StructType(s)."
?
See also;
2012 Dec 30
2
[LLVMdev] Cannot interchange "literal" and "identified" structs
With primitive types, I can interchange literal usage and type aliases in
IR:
%mytype = type i32
define void @foo(%mytype* %ptr) {
%t1 = load *%mytype** %ptr
store i32 *%t1*, *i32** %ptr
ret void
}
But for structs, I cannot:
%mytype = type { i32, i32 }
define void @foo(%mytype* %ptr) {
%t1 = load *%mytype** %ptr
store* { i32, i32 }* %t1, *{ i32, i32 }** %ptr
ret void
}
2014 May 11
2
[LLVMdev] [cfe-dev] Code generation for noexcept functions
On Sun, May 11, 2014 at 8:19 AM, Stephan Tolksdorf <st at quanttec.com> wrote:
> Hi,
>
> When clang/LLVM can't prove that a noexcept function only contains
> non-throwing code, it seems to insert an explicit exception handler that
> calls std::terminate. Why doesn't clang leave it to the eh personality
> function to call std::terminate when an exception is thrown
2011 Jul 28
2
[LLVMdev] LLVMdev Digest, Vol 85, Issue 50
John,
I'm still not sure what you're talking about, I have
included the assembly
output from two compilations, one with a user explicit catch-all, one
with only an
implicit cleanup, the DWARF Action Table and Types Table are
absolutely identical,
as are the indexes used to reference the Action Table from the region
maps.
-Peter Lawrence.
2006 Jan 21
3
help... why can''t Iuse data from two tables in the same view
I am new to Rails and Ruby, and to OO languages, and seem to be making a
very silly mistake somewhere here. Can anybody help?
I am trying to write an application which involves ''exercises'', each of
which consists of several ''templates''. This is based on MySQL tables
with these names. I have models and controllers, built with the Rails
Scaffold, for both
2015 Feb 09
2
[LLVMdev] Any mechanism available for link time inlineing?
Hi,
trying to develop this idea of splitting c++ classes into real interface
and implementation and to make a std isocpp proposal out of it. Need some
help and info to make the proposal cover as many details as possible.
The idea is to split the class declaration into a part that will stay in
the header and will contain only the public members. (let's ignore
protected for the moment). The
2007 Jul 24
3
How to require a defined type...
Hi all,
I''m struggling with the following:
I have a defined type wrapped in a class:
class myclass {
define mytype(bla) {
file { "blabla":
....
}
exec { "blablabla":
...
}
}
}
And I access the defined type in my other class by doing this:
class otherclass {
include myclass
myclass::mytype { "alb":
...
}
# and here I want to