Displaying 16 results from an estimated 16 matches for "contructor".
Did you mean:
constructor
2006 Sep 23
1
Fwd: [PATCH] Remove warning in expectation.rb
...to remove the following warning:
>
> mocha-0.3.2/lib/mocha/expectation.rb:32: warning: instance variable
> @yield not initialized
>
> Sorry I don''t have a diff for you, can''t seem to connect to svn://
> rubyforge.org atm
>
> Just add the following to the contructor at line 25:
> @yield = nil
>
> Cheers,
> Xavier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mocha-developer/attachments/20060923/2ad19870/attachment-0001.html
2006 Jun 21
26
Implementing a boolean "switch" in a Class
I need a single boolean which would be "globally" accessible to all
instances of a class. Seems like the boolean should be in the class
prototype, but I was troubled by the difficulty of setting the prototype
boolean to true. Maybe I''m missing something?
var MyObject = Class.create();
MyObject.prototype = {
bSwitch: false,
... other methods and properties
}
var oMyOb1
2010 Mar 01
1
[LLVMdev] RegisterPass isAnalysis parameter
On Feb 26, 2010, at 7:42 PM, Tom Prince wrote:
> You cannot refer to anything in anonymous namespace by name from
> another file, however, if you have a pointer, say, then you can
> still use the
> pointer.
Yes, that would make sense, except I don't see any pointers being
passed. The relevant line in lib/Transforms/Hello.cpp is:
static RegisterPass<Hello>
1997 Aug 18
1
R-beta: .C and dyn.load for Windows
Dear R-users,
I maintain software for survival analysis written in C and Fortran since
many years ago. Recently I have rewritten part of it as functions to
be called from R by .C. This works fine with the unix version. I just
create a ".so" file as described in an example in the R distribution.
However, when I try this approach in Windows (NT or 95), using the
Cygnus gcc latest
1997 Aug 18
1
R-beta: .C and dyn.load for Windows
Dear R-users,
I maintain software for survival analysis written in C and Fortran since
many years ago. Recently I have rewritten part of it as functions to
be called from R by .C. This works fine with the unix version. I just
create a ".so" file as described in an example in the R distribution.
However, when I try this approach in Windows (NT or 95), using the
Cygnus gcc latest
2013 Sep 25
0
[LLVMdev] initialization list with conversion operator dont work properly and report error
I'm not really an overload resolution expert, so I could be wrong. Anyway,
please file a bug report (http://llvm.org/bugs/), and our overload
resolution experts will take a look. :)
-Eli
On Wed, Sep 25, 2013 at 6:34 AM, Mayur Pandey <mayurthebond at gmail.com>wrote:
> Actually it should have not thrown error at all. it works fine with gcc.
> And the part of code which you
2006 Mar 09
0
RE: extending an existing DOM object in a prototypeway
...l your
event handlers (unlike what you did in your example), which leads to..
Three, define a dispose() method to clean up resources when the widget
(or behavior) is no longer needed...
Finally, I don''t do the extending from within the controller class, like
in your example. I reserve the contructor arguments for other things,
like behavior options, etc.. (or sometimes for passing a reference to
the parent object), then I use an instance of the controller to do the
extension from the application (or outer object) scope.
Like so...
var ActiveSpan = Class.create();
ActiveSpan.prototype = {
in...
2006 Mar 09
0
RE: extending an existing DOM object in aprototypeway
...l your
event handlers (unlike what you did in your example), which leads to..
Three, define a dispose() method to clean up resources when the widget
(or behavior) is no longer needed...
Finally, I don''t do the extending from within the controller class, like
in your example. I reserve the contructor arguments for other things,
like behavior options, etc.. (or sometimes for passing a reference to
the parent object), then I use an instance of the controller to do the
extension from the application (or outer object) scope.
Like so...
var ActiveSpan = Class.create();
ActiveSpan.prototype = {
in...
2013 Sep 25
2
[LLVMdev] initialization list with conversion operator dont work properly and report error
Actually it should have not thrown error at all. it works fine with gcc.
And the part of code which you mentioned is not getting hit at all. Maybe
some difference in parsing is there.
On Wed, Sep 25, 2013 at 5:29 AM, Eli Friedman <eli.friedman at gmail.com>wrote:
> On Mon, Sep 23, 2013 at 11:43 PM, Mayur Pandey <mayurthebond at gmail.com>wrote:
>
>> for the following
2006 Mar 09
2
extending an existing DOM object in a prototype way
I want to take an existing DOM object and extend it with some
functionality. I know there''s a way to do this with prototype.
Unfortunately, I''m not entirely sure how to do this.
Basically, I want to take an existing DOM object and turn it into a
''widget'' by adding some functionality.
say we have a span:
<span id="blah">some text
2006 Feb 10
8
Prototype Inheritance example
Hello Everyone,
I am working on a control collection for javascript/Ajax.Net. I am stuck on
the class inheritance aspects of the prototype library. If someone could
point me to an example it would be a great help. I have looked through the
controls.js of the scriptaculous library and found something like the below
code, but everytime I ran it I would get a constructor error.
Thanks for any help;
2007 Feb 21
0
LLVM 2.0 Progress Report
...Integral and ConstantInt
classes together, we now just have ConstantInt.
35. LLVM no longer relies on static destructors to shut itself
down. Instead, it lazily initializes itself and shuts down when
llvm_shutdown() is explicitly called.
36. LLVM now has significantly fewer static contructors, reducing
startup time.
37. Bill refactored several classes to reduce the amount of code that
gets linked into apps that use the JIT.
38. Dan Gohman contributed patches to simplify construction of
intrinsic function declarations.
Other Changes:
39. Reid contributed the llvm-upg...
2006 May 26
3
Integrating ProPolice/SSP into FreeBSD
Hi,
first sorry for cross-posting but I thought this patch might interest
-CURRENT users as well as people concerned by security.
I wrote a patch that integrates ProPolice/SSP into FreeBSD, one step
further than it has been realized so far.
It is available here :
http://tataz.chchile.org/~tataz/FreeBSD/SSP/
Everything is explained on the web page, but I will repeat some
informations here.
2010 Feb 05
0
Wine release 1.1.38
...ranslations.
Jacek Caban (25):
shdocvw: Moved DocHost client site releasing to separated function and release more interfaces in SetClientSite.
shdocvw: Moved WebBrowser client site realizing to separated function and release more interfaces in SetClientSite.
jscript: Make RegExp contructor implementation more generic.
jscript: Added String.replace implementation.
jscript: Moved resetting lastIndex to do_regexp_match_next.
jscript: Skip tests on old jscript.dll.
mshtml: Call attached event handlers in reversed order.
mshtml: Added support for pure IDispat...
2010 Aug 18
16
[PATCH 00 of 16] libxl: autogenerate type definitions and destructor functions
The series introduces auto-generation of the type definitions used in
the libxl interface followed by auto-generation of a destructor
function for each type. In the future it may be possible to use the
related data structures for other purposes, for example auto-generation
of the functions to marshal between C and language binding data types.
tools/_libxl_types.h should be identical both before
2007 Dec 20
0
13 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml_node.c test/trace
...index 6768915..3aa5771 100644
--- a/test/trace/array2-5.swf.trace
+++ b/test/trace/array2-5.swf.trace
@@ -1,569 +1,576 @@
-[, , , , , , , , , , , , , , , , , , , ]
-[]
-[]
-[]
-[]
-[]
-[]
-[]
-[, , , , , , , , , , , , ]
-[, , , , , , , , , , , , , ]
+## Static properties
+1
+2
+4
+8
+16
+3
+16
+## Contructor
+# Normal usage
[]
[, , , , ]
-[[], [], []]
+[1, b, [object Object]]
[]
[, , , , ]
-[[], [], []]
+[1, b, [object Object]]
[]
-[[], [], []]
-[, , , , , , , , , , , , , , ]
+[1, b, [object Object]]
+# Special cases
[, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,...