Displaying 20 results from an estimated 2298 matches for "overload".
2013 Nov 26
2
[LLVMdev] LLVM compilation problem
I am using gcc 3.4.6 to build LLVM, and am encountering overloaded/ambiguous errors in several files...
% gcc -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_at...
2006 May 08
3
operator overload on views
In my User auth scheme I have a userlevel. I''ve overloaded the User
class operators like this:
def >(item)
if item.class == "User"
self.userlevel > item.userlevel
else
self.userlevel > item
end
end
(other operators are overloaded in essentially the same way). As I
understand it, using the operator "...
2014 Jun 10
2
Overload Point for OPUS
Hello,
Can you please tell me what the overload point is for OPUS in dBm0 or dBV?
As an example, the G.711 A law codec has an overload point of +3.14 dBm0
across a 600 ohm circuit.
In ITU-T G.100.1 section 5.8 you can read more about the relationship
between dBm0 and dBov. In that same section you can see that the G.711 A
law, u law, and...
2013 Aug 02
0
[LLVMdev] Clang (3.1 and 3.2): __attribute__((overloadable)) and enum types.
Hello,
I was trying to use __attribute__((overloadable)) for functions accepting enumerated types but hadn't succeeded so far.
Clang 3.1 and 3.2 failed to compile the following example.
/* clang -x c foo.cpp */
typedef enum __One {DUMMY_1} One;
typedef enum {DUMMY_2} Two;
enum Three {DUMMY_3};
__attribute__((overloadable)) void foo(One);
__att...
2005 Apr 20
5
Overloading methods in R
(1) It seems to me that, generally, in R it is not possible to overload
functions. Is that right?
(2) Assuming that the above is true, or partially true, is there any extra
packages to handle overloading in R?
(3) Assuming (1) is TRUE and (2) is FALSE, can anyone provide some advice on
developing some function that understand what the arguments are and then
calls...
2011 Sep 30
1
integrate two lines to one
Dear all,
I would like to put these two lines together
logictoReduce<-((Overloads-1)%%FreqN)==(SpanIndex-1) #0...3 refer to sub spans 1 to 4
Overloads<-Overloads[logictoReduce==TRUE]
and do it like this
Overloads<-Overloads[((Overloads-1)%%FreqN)==(SpanIndex-1)]
which does not seem to work.
Could you please explain me what might be the problem for that?
B.R
Alex...
2006 Jun 13
7
ActiveRecord attribute= overload
I want to overload the = operator for one of the attributes in a model
to run a filter on the input. However I can''t do this:
def attribute=(data)
self.attribute = filter(data)
end
because that creates an infinite recursive loop.
How do I get around this?
--
Posted via http://www.ruby-forum.com/.
2006 Feb 13
1
Problem with overloading add type casts of numeric strings in PHP bindings
Overloaded methods are mapped in PHP to their implementation (_SWIG_0,
_SWIG_1, ..) based on the types and number of arguments the user supplies.
However, if one overload accept a string and another an integer the bindings
fail to separate them since PHP treats numeric strings much the same as
integers....
2008 Feb 19
0
[LLVMdev] Problem with variable argument intrinsics
...trinsic creation
>
> //Additions made to Intrinsics.td file:
>
> def llvm_migrate_begin : LLVMType<iAny>;
> def int_migrate_begin :
> Intrinsic<[llvm_migrate_begin,llvm_vararg_ty],
> [IntrWriteMem],"llvm.migrate_begin">;
This says that the return type is overloaded (because it's iAny). But
that's
the only overloaded part here; using variadic argument lists is
different
from overloading.
>
>
> Overloaded intrinsic has incorrect suffix: '.i32.i32'.
> It should be '.i32'
> i32 (...)* @llvm.migrate_begin.i32.i32
>...
2008 Feb 19
2
[LLVMdev] Problem with variable argument intrinsics
...bbp->getParent()->getParent();
Function *f =
Intrinsic::getDeclaration(M,Intrinsic::migrate_begin,Tys,i);
/*
migrate_begin intrinsic creation */
CallInst* CI = new CallInst(f,"migrate_begin",bbp);
/*bbp is pointer to basic block where
intrinsic is to be inserted*/
//Errors:
Overloaded intrinsic has incorrect suffix: '.i32.i32'.
It should be '.i32'
i32 (...)* @llvm.migrate_begin.i32.i32
Overloaded intrinsic has incorrect suffix:
'.i32.i32.i32'. It should be '.i32'
i32 (...)* @llvm.migrate_begin.i32.i32.i32
Broken module found, compilation abort...
2016 Jul 26
2
Help wanted: Overloading an Intinsic
Hello All,
I have been modifying LLVM a project of mine, and have encountered issues
with overloading an intrinsic function.
I have defined two types, abit (which is mapped, in Intrinsics.td, to i128)
and qbit (accordingly mapped to i16). I would like my intrinsic function,
CNOT(x,y), to accept either an abit or a qbit for each argument, so I
overload with iAny and llvm_anyint_ty, as seemed to...
2013 Jun 13
1
[LLVMdev] function overload in C
Hi,
I'm trying to implement an overloading behavior to some of our builtin functions, and came across the following comment in SemaExpr.cpp
// Check for overloaded calls. This can happen even in C due to extensions.
If (Fn->getType() == Context.OverloadTy) { ....
I was wondering which C extensions is this referring to?
Thanks
Ali
-...
2010 Mar 23
1
Operator overloading for custom classes
Hi,
I need some help to get some of the object orientation, specifically the
methods that overload the basic arithmetic operations, from sample C++
code to R. I don't have experience with such advanced language features
inside of R. So I was wondering if some of you could help me out in this
regard.
I have written a simple demonstration of a forward mode automatic
differentiator in C++ and...
2010 Mar 23
1
: Operator overloading for custom classes
Hi,
I need some help to get some of the object orientation, specifically the
methods that overload the basic arithmetic operations, from sample C++
code to R. I don't have experience with such advanced language features
inside of R. So I was wondering if some of you could help me out in this
regard.
I have written a simple demonstration of a forward mode automatic
differentiator in C++ and...
2016 Jul 28
0
Help wanted: Overloading an Intinsic
Hi David,
The error shows that the clang source code uses this intrinsic as well, but in the old form. You need to modify the clang source code (where this intrinsic is used) to consider the overloaded operands.
The assert would show the trace where clang uses this intrinsic.
Hope this helps,
Anna
> On Jul 26, 2016, at 3:21 PM, David Noursi via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hello All,
>
> I have been modifying LLVM a project of mine, and have encoun...
2011 Jun 01
1
Overloading S4 methods
Dear all,
I am experiencing some problems with S4 method overloading. I have
defined a generic for graphics:plot, using
setGeneric("plot", useAsDefault = plot)
and with
importFrom('graphics', 'plot') and
exportMethods('plot') in the NAMESPACE file of pkg A.
I then proceed to define a method for signature c('myS4class'...
2004 May 26
1
Bindings and overloading
This is going to be a problem. I don't appear to be able to rename a
method once it's declared. So if the core bindings file declares some
overloaded operators, functions or constructors, it's impossible to
move them out of the way in only some of the bindings.
Since Python supports overloading, I can't think of any solution to
this other than maintaining two different xapian.i files, one with the
overloading renamed away. This isn...
2011 Feb 01
2
[LLVMdev] Convenience methods in ConstantExpr et al
I notice that there's a lot of inconsistency in the various LLVM classes
with respect to convenience methods. Here's some examples:
For creating GEPS, IRBuilder has:
CreateGEP (2 overloads)
CreateInBoundsGEP (2 overloads)
CreateConstGEP1_32
CreateConstInBoundsGEP1_32
CreateConstGEP2_32
CreateConstInBoundsGEP2_32
CreateConstGEP1_64
CreateConstInBoundsGEP1_64
CreateConstGEP2_64
CreateConstInBoundsGEP2_64
CreateStructGEP
All of which are very useful. However, Const...
2015 Jan 27
3
[LLVMdev] [lld] Overloaded Layout references
Hi,
I think we are overloading the Layout references for garbage collection.
If you are creating a reference (kindLayoutAfter) from A to B, that may not mean that you cannot garbage collect B for the end user.
My thought on Layout references was that it only guarantees that atoms appear in Layout reference order.
Why are w...
2008 Jul 30
3
[LLVMdev] address space overloading patch broke the llvm-gcc build
...mp/config/linux -I../../../gcc-4.2.llvm/libgomp/config/posix -I../../../gcc-4.2.llvm/libgomp -Wall -Werror -ftls-model=initial-exec -march=i486 -pthread -mtune=i686 -O2 -g -O2 -MT critical.lo -MD -MP -MF .deps/critical.Tpo -c ../../../gcc-4.2.llvm/libgomp/critical.c -fPIC -DPIC -o .libs/critical.o
Overloaded intrinsic has incorrect suffix: '.i8'. It should be '.i8.p0i8'
i8 (i8*, i8)* @llvm.atomic.swap.i8
Broken module found, compilation aborted!
../../../gcc-4.2.llvm/libgomp/critical.c: In function 'GOMP_critical_end':
../../../gcc-4.2.llvm/libgomp/critical.c:44: internal comp...