search for: functor

Displaying 20 results from an estimated 52 matches for "functor".

2006 May 25
13
functions calling functions
I think I may be missing a fundamental concept I hope someone can help me with. I have functions that won''t call other functions. Particularly after an Ajax request. In the following object the ajax request onComplete calls the ajaxFetched function successfully. ajaxFetched tries to call function2 but function2 does not execute. Any ideas or workarounds? thanks Kevin o =
2008 Feb 22
0
Pb de compilation de mgeops-psp-3.0.6
...ype.h > /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h > /usr/include/sigc++-2.0/sigc++/bind.h > /usr/include/sigc++-2.0/sigc++/bind_return.h > /usr/include/sigc++-2.0/sigc++/class_slot.h > /usr/include/sigc++-2.0/sigc++/connection.h > /usr/include/sigc++-2.0/sigc++/functors > /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h > /usr/include/sigc++-2.0/sigc++/functors/functors.h > /usr/include/sigc++-2.0/sigc++/functors/macros > /usr/include/sigc++-2.0/sigc++/functors/macros/functor_trait.h.m4 > /usr/include/sigc++-2.0/sigc++/functors/macros/m...
2016 Dec 01
0
clang error: static_assert failed "Cache the hash code or make functors involved in hash code and bucket index computation default constructible"
...td=c++11 -O0 -c In file included from fail.cpp:1: In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/unordered_map:47: /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/hashtable.h:268:7: error: static_assert failed "Cache the hash code or make functors involved in hash code and bucket index computation default constructible" static_assert(__if_hash_not_cached< ^ ~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/unordered_map.h:120:36: error: member 'iterator' found in...
2015 Jul 06
2
[LLVMdev] Customizing module compilation in ORC JITs
Hi Lang, I'm looking at extending the compilation passes used in the LLILC JIT and it seems like the simplest thing is to make a copy of the SimpleCompiler functor into the LLILC code and then modify it for the phases I want to run. But I was wondering if this was the best approach. Do you expect different clients to create their own compiler functors or do you imagine that SimpleCompiler will be joined by more sophisticated siblings that are more configu...
2006 Jun 28
12
Ajax.Updater
Hi, someone can help me, I am ot able to find the way how to user Ajax.updaterto test if the request give some positive or negative result. I am able only to return the result inside a div. An example is appreciated. _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2008 Dec 05
4
[LLVMdev] Build errors on trunk for about a week now.
I did some looking up on that const thing. Apparently that const is 'supposed' to be there, but it is not strictly required. However there is a bug in VS2k3 (VS7) through VS2k8 (VS9) (no clue if it has been fixed yet) that requires it to be there when the functor is being called through a const qualified interface, such as through stl containers. They state that a bug report has been filed, but regardless of if it is filled or not, in such functors you are 'supposed' to have a const there anyway. No clue what the standard actually says on this, bu...
2008 Dec 07
0
[LLVMdev] Build errors on trunk for about a week now.
...t before, but let me clean it and do it again to >> give you just a debug build log (since the current log just contains >> errors anyway, seeing the whole build might be useful). So what is >> attached is from another completely clean build, except I added const >> to that functor (else it just does not build for me). Attached is the >> build log, I have everything from a debug build if you need it (I >> built no other configurations beyond debug). > > Your INCLUDE and LIB environment variables contains lots of stuff that > may be interfering with the b...
2008 Dec 05
2
[LLVMdev] Build errors on trunk for about a week now.
...rhaps your svn copy is corrupt? Do not think so, updated it fresh a couple of times, but will not be able to fully clean everything out well until I actually get to sitting at the computer again, trying to clean it remotely would take me hours (that I do not have). I am quite confident about that functor needing const though; I have experienced that error many times and that has always been the fix.
2011 Jul 15
3
[LLVMdev] select1st, select2nd
I've run into a use case where I'd like to use a mapped_iterator to iterator the 1st (or 2nd) items in a sequence of std::pairs. Does select1st/select2nd exist somewhere within LLVM or is there some equivalent? If not, I'll add it. -Dave
2011 Jul 15
0
[LLVMdev] select1st, select2nd
...apped_iterator to > iterator the 1st (or 2nd) items in a sequence of std::pairs. Does > select1st/select2nd exist somewhere within LLVM or is there some > equivalent? If not, I'll add it. Is this making the resultant loop simpler? C++ without lambda's isn't very friendly to functors, what is the before/after effect of doing this? -Chris
2012 Feb 05
1
How to Calculate Percentage of Data within certain SD of Mean
How do you calculate the percentage of data within 2SD, 3SD, 4SD, 5SD, and 6SD of the mean? I used the following link as the data I'm working with: nb10 <- read.table("http://www.adjoint-functors.net/su/web/314/R/NB10") if this helps answer my question. Can you please explain how to calculate the SD's? Please be specific in which part of the function changes when calculating the next SD up. Thanks. -- View this message in context: http://r.789695.n4.nabble.com/How-to-Calcu...
2017 Dec 04
1
problem with cloud-init-0.7.9-9.el7.centos.2.x86_64 setting up puppet.conf
...puppet.pyc'>) failed Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/cloudinit/stages.py", line 777, in _run_modules freq=freq) File "/usr/lib/python2.7/site-packages/cloudinit/cloud.py", line 54, in run return self._runners.run(name, functor, args, freq, clear_on_fail) File "/usr/lib/python2.7/site-packages/cloudinit/helpers.py", line 187, in run results = functor(*args) File "/usr/lib/python2.7/site-packages/cloudinit/config/cc_puppet.py", line 107, in handle contents = util.load_file(PUPPET_CONF_PATH)...
2012 Feb 04
2
How to Compare the median to the mean?
Okay, so I have a homework projecr for R, and we had to input the following link as some sort of data: nb10 <- read.table("http://www.adjoint-functors.net/su/web/314/R/NB10"). Afterwards, we have to use fivenum(nb10) to find max, min, quantiles, and sd, but I'm okay with this. The next question is where I'm stuck. The question is as follows; Compare the median (use the quantiles or median(nb10$V1)) to the mean. I found the mean...
2017 Aug 24
1
Invalid Signature of orc::RTDyldObjectLinkingLayer::NotifyLoadedFtor
...yldObjectLinkingLayer.h b/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h index e1016ef95f0..fcf00fbc462 100644 --- a/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h +++ b/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h @@ -100,7 +100,7 @@ public:      /// @brief Functor for receiving object-loaded notifications.    using NotifyLoadedFtor = std::function<void(ObjHandleT, const ObjectPtr &Obj, -                                              const LoadedObjectInfo &)>; +                                              const RuntimeDyld::LoadedObjectInfo &am...
2015 Jun 04
2
[LLVMdev] MCJit interface question
....edu Subject: RE: [LLVMdev] MCJit interface question Which events do you need to listen to? The ObjectLinkingLayer that we're using has notifications when an object is loaded and when it is finalized. So I'd expect e.g. if you're listening to the loading event then you could create a functor class (with signature similar to DoNothingOnNotifyLoaded), put your logic in its operator() (changing to allow that you'll now be passed sets of Objects/LoadedObjectInfos), then change LLILCJit's LoaderT typedef to supply your functor type as the template argument and change the Loader cons...
2011 Jan 23
0
Error for compiling Rquantlib package 0.3.5 under Window 7 64bits
...p:43:17: note: bool QuantLib::operator==(const QuantLib::L ........................... ........................... ........................... C:\Lib\QuantLib/boost/function/function_base.hpp:434:13: instantiated from 'static void boost::detail::function::funct or_manager<Functor>::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = QuantLib::details::LinearFct]' C:\Lib\QuantLib/boost/function/function_template.hpp:913:60: instantiated fro...
2016 May 17
3
External function resolution: MCJIT vs ORC JIT
...= llvm::cast<llvm::Value>(myfunc->arg_begin()); llvm::Value *asq = builder.CreateCall (M->getFunction ("sqr"), a); builder.CreateRet (asq); // Set up compilation if (orc) { auto Resolver = llvm::orc::createLambdaResolver( // External lookup functor [&](const std::string &name) { if (auto Sym = Compilelayer.findSymbol(name, true)) return llvm::RuntimeDyld::SymbolInfo(Sym.getAddress(), Sym.getFlags()); // If not found as a symbol, look up in current process....
2008 Dec 05
0
[LLVMdev] Build errors on trunk for about a week now.
On Fri, Dec 5, 2008 at 2:38 PM, OvermindDL1 <overminddl1 at gmail.com> wrote: > /* snip */ I updated the svn to 60607. It still needed that const change. Added the const word on that member function. Tried building debug, debug still fails horrible. I am going to try to stop by that computer for an hour or so before my next work shift tonight, will completely get rid of every trace
2011 Jul 15
2
[LLVMdev] select1st, select2nd
...;> iterator the 1st (or 2nd) items in a sequence of std::pairs.  Does >> select1st/select2nd exist somewhere within LLVM or is there some >> equivalent?  If not, I'll add it. > > Is this making the resultant loop simpler?  C++ without lambda's isn't very friendly to functors, what is the before/after effect of doing this? > > -Chris > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
2011 Jul 15
2
[LLVMdev] select1st, select2nd
...iterator the 1st (or 2nd) items in a sequence of std::pairs. Does >> select1st/select2nd exist somewhere within LLVM or is there some >> equivalent? If not, I'll add it. > > Is this making the resultant loop simpler? C++ without lambda's isn't > very friendly to functors, what is the before/after effect of doing > this? It's going to unify the DagInit constructors into one piece of code. The problem now is there are two constructors. One takes a vector of pairs and the other takes two vectors. They each make sense in their use contexts but it results in...