search for: thepool

Displaying 4 results from an estimated 4 matches for "thepool".

2011 Jul 16
0
[LLVMdev] TableGen and DenseMap Strangeness
...>, const Init * > Key; #else typedef std::pair< std::pair< std::pair<std::pair<unsigned, const Init *>, const Init *>, const Init * >, std::string > Key; #endif typedef DenseMap<Key, TernOpInit *> Pool; static Pool ThePool; #ifdef WORKS Key TheKey(std::make_pair(std::make_pair(std::make_pair(std::make_pair(opc, Type->getAsString()), lhs), m...
2013 Dec 26
2
[LLVMdev] [cfe-dev] lsan for LLVM bootstrap; leaks in TableGen
...t; stored in a set with static storage duration. >> If we're able to call __lsan_do_leak_check() right after main(), we >> will treat that objects as reachable. >> > > This is part of the problem. Indeed, there is code like this: > > void foo() { > static Pool ThePool; > ... > ThePool.Insert(new Stuff); > ... > } > > This static variable is destructed w/o deleting the contents and lsan > complains. > I've replaced some of these objects with > static Pool *ThePool = new Pool > and those leaks were gone. > > But the...
2013 Dec 25
2
[LLVMdev] [cfe-dev] lsan for LLVM bootstrap; leaks in TableGen
On Wed, Dec 25, 2013 at 9:38 PM, dblaikie at gmail.com <dblaikie at gmail.com> wrote: > Its generally been by design that tblgen leaks. Might be nice to fix one day > but it's been that way for a while now so don't expect it to be fixed soon. > > If thats the suppression mechanism of choice (I would've expected a build > flag option) for lsan, I'd say go for
2018 May 29
1
Difficulty in writing R code for one pool dynamic model
.... At time 30, what is the pool size of A (rounded to 1 decimal)? In theanswer sheet provide the value of pool could be (23.8, 24.8, 25.0 or 24.7). Thevalue I got does not correspond to any of the choices given above. ?I don't know where I got it wrong.? Below is the Ro code I tried to estimate thepool size of A at time 30. #Step 1: Specify time? Tstart <- 1 Tstop <- 30 Tstep <- 1 #Step 2: Set variables corresponding to pools inA<-5 A <- inA t <- Tstart #Step 3: Set up rate parameters A<-5 kinA <- 5 koutA <- 0.2 #Step 4: Write arrays that track pool size...