search for: addpoint

Displaying 18 results from an estimated 18 matches for "addpoint".

Did you mean: add_point
2012 Feb 15
3
[LLVMdev] We need better hashing
...oncerned, I was just copying the code from FoldingSet. Since a lot of the keys that we're going to be dealing with are uniqued pointers, it makes sense to be able to calculate a hash of the bit-value of the pointer, rather than hashing the thing pointed to. That being said, renaming it to "addPointer" and adding a comment might be in order. Similarly, I can make the ArrayRef version 'addPointers' and have it take an ArrayRef<T*>. Now, as to the 4 bytes issue, I think I can solve that with some clever template methods. > Though it is more verbose, I think it would be b...
2012 Feb 15
0
[LLVMdev] We need better hashing
...oncerned, I was just copying the code from FoldingSet. Since a lot of the keys that we're going to be dealing with are uniqued pointers, it makes sense to be able to calculate a hash of the bit-value of the pointer, rather than hashing the thing pointed to. That being said, renaming it to "addPointer" and adding a comment might be in order. Similarly, I can make the ArrayRef version 'addPointers' and have it take an ArrayRef<T*>. Ah, Jay was right, I misread this code! > Though it is more verbose, I think it would be better to expose a template specialization approach...
2007 Aug 10
1
Unexpected behavior in PBSmapping package
...the thoughts of the R-help community. I have a set of EventData, which I want to plot as points, and to color the points according to some criterion. It turns out that some of my points fall outside my desired plotting region. It looks like this causes the PBSmapping functions plotPoints and addPoints to incorrectly deal with the color assignments. Consider the following toy example: ### Begin Example ### library( PBSmapping ) # Define some EventData events <- as.EventData( read.table( textConnection( 'EID X Y Color 1 494 1494 red 2 497 1497 blue 3 500 1500 green 4 503 1503 yello...
2009 Jan 10
1
Bubble plot on shapefile - projection issues?
...culates bubble size as a range between min and max.? 0.0001 added to avoid division by zero if only one sample. ? #Plot of all Hawaiii showing point data somewhere to the south.? Needs projcting? plot(hawaii.coast,xlab="Longitude",ylab="Latitude",main="Kealakekua Bay") addPoints(my.event, pch=19 ,col="red",cex=500) ? ? ? #Plot of location where point data should be plot(hawaii.coast,xlim=c(820000, 824000), ylim=c(2154000, 2158000),xlab="Longitude",ylab="Latitude",main="Kealakekua Bay") -------------- next part ------------...
2012 Feb 17
4
[LLVMdev] We need better hashing
...copying the > code from FoldingSet. Since a lot of the keys that we're going to be > dealing with are uniqued pointers, it makes sense to be able to calculate a > hash of the bit-value of the pointer, rather than hashing the thing pointed > to. That being said, renaming it to "addPointer" and adding a comment might > be in order. Similarly, I can make the ArrayRef version 'addPointers' and > have it take an ArrayRef<T*>. > > > Ah, Jay was right, I misread this code! > > Though it is more verbose, I think it would be better to expose a templ...
2012 Feb 18
3
[LLVMdev] We need better hashing
...check enough? > > I thought about whether it would be possible to prevent people from passing in ArrayRefs with unstable things, and I came to the conclusion that there's no simple way to distinguish between stable and unstable ArrayRefs. This is why I decided not to make a special "addPointer" method for pointers, because you could easily subvert it by wrapping it in a singleton ArrayRef. + /// Add a float > + GeneralHash& add(float Data) { > > It is worth adding a comment here that this does a bitwise hash, so -0.0 > and +0.0 will hash to different values even...
2012 Feb 18
0
[LLVMdev] We need better hashing
...check enough? > > I thought about whether it would be possible to prevent people from passing in ArrayRefs with unstable things, and I came to the conclusion that there's no simple way to distinguish between stable and unstable ArrayRefs. This is why I decided not to make a special "addPointer" method for pointers, because you could easily subvert it by wrapping it in a singleton ArrayRef. Ok. > + /// Add a float > + GeneralHash& add(float Data) { > > It is worth adding a comment here that this does a bitwise hash, so -0.0 and +0.0 will hash to different value...
2008 Feb 29
0
google maps
hi all i am using geokit plugin/appln for my site..where i want to get the pointers reflected on my site by fetching the values from the db on pageload.. return (newmap.addpoint("52.802761415419674","6.6357421875","abc","abc") this is the code which is creating the ponters..I want to first of all fetch all the values from the db and get the latitude and longitude and then pass it dynamically in this addpont function.. Can any one t...
2020 Jul 26
2
[LAA] RtCheck on pointers of different address spaces.
...t*, llvm::SCEV const*, llvm::SCEV::NoWrapFlags, unsigned int) $SRC/llvm-project/llvm/lib/Analysis/ScalarEvolution.cpp:3833:3 getMinFromExprs(llvm::SCEV const*, llvm::SCEV const*, llvm::ScalarEvolution*) $SRC/llvm-project/llvm/lib/Analysis/LoopAccessAnalysis.cpp:275:15 llvm::RuntimeCheckingPtrGroup::addPointer(unsigned int) $SRC/llvm-project/llvm/lib/Analysis/LoopAccessAnalysis.cpp:292:15 llvm::RuntimePointerChecking::groupChecks(llvm::EquivalenceClasses<llvm::PointerIntPair<llvm::Value*, 1u, bool, llvm::PointerLikeTypeTraits<llvm::Value*>, llvm::PointerIntPairInfo<llvm::Value*, 1u, llvm...
2012 Feb 14
0
[LLVMdev] We need better hashing
On Feb 13, 2012, at 2:00 AM, Talin wrote: > Just out of curiosity, why not MurmurHash3 ? This page seems to > suggest that #2 has some flaw, and #3 is better all round: > > https://sites.google.com/site/murmurhash/ > > The main reason is because there's no incremental version of 3. I think that that is a great reason. > LLVM's needs, on the other hand, are fairly
2012 Feb 13
5
[LLVMdev] We need better hashing
On Mon, Feb 13, 2012 at 1:22 AM, Jay Foad <jay.foad at gmail.com> wrote: > On 13 February 2012 00:59, Talin <viridia at gmail.com> wrote: > > Here's my latest version of Hashing.h, which I propose to add to > llvm/ADT. > > Comments welcome and encouraged. > > > /// Adapted from MurmurHash2 by Austin Appleby > > Just out of curiosity, why not
2007 Aug 06
1
[LLVMdev] Problem compiling LLVM under Cygwin/Mingw
Hello, Alain. > I'm starting to play with LLVM today and I've trouble compiling it. > I'm > working under Windows Vista, with the gcc from Cygwin: Oh, this seems to be killer mix :) GCC (at least native mingw32 port) has known problems being running on Vista. > Is LLVM supposed to work with this version of GCC (probably using the > -mno-cygwin option to get a
2012 Feb 17
0
[LLVMdev] We need better hashing
On Feb 17, 2012, at 12:26 AM, Talin wrote: > OK here's a patch with the latest, including unit tests. I've also tried to make the comments clear that this is intended for the case of "generic" key types, where you are either hashing multiple data types together, or you don't know in advance what the data type will be - for cases such as strings where a tailored algorithm
2004 Sep 02
0
[LLVMdev] Problem with CVS LLVM build in obj != src dir case
...Analysis/AliasSetTracker.cpp: In member function `bool llvm::AliasSetTracker::add(llvm::FreeInst*)': /home/wanderer/pkg/build/llvm/src/llvm/lib/Analysis/AliasSetTracker.cpp:260: warning: passing negative value `-0x000000001' for converting 2 of `llvm::AliasSet& llvm::AliasSetTracker::addPointer(llvm::Value*, unsigned int, llvm::AliasSet::AccessType, bool&)' /home/wanderer/pkg/build/llvm/src/llvm/lib/Analysis/AliasSetTracker.cpp: In member function `bool llvm::AliasSetTracker::remove(llvm::FreeInst*)': /home/wanderer/pkg/build/llvm/src/llvm/lib/Analysis/AliasSetTracker.cpp:...
2016 Jul 20
2
[XRay] Build instrumented Clang, some analysis results
...alysis with my favourite spreadsheet application where I'm showing the top results for the Clang run above. Here's some interesting findings: - The top 20 functions called in clang (in the above invocation) are: 292174 clang::DeclContext::getPrimaryContext() 283681 llvm::FoldingSetNodeID::AddPointer(void const*) 214706 clang::Preprocessor::Lex(clang::Token&) 193352 llvm::FoldingSetNodeID::AddInteger(unsigned int) 161706 clang::Lexer::LexTokenInternal(clang::Token&, bool) 161055 clang::Lexer::Lex(clang::Token&) 143420 clang::DeclarationName::getNameKind() const 142071 llvm::BumpPt...
2020 Jul 26
2
[LAA] RtCheck on pointers of different address spaces.
...t*, llvm::SCEV const*, llvm::SCEV::NoWrapFlags, unsigned int) $SRC/llvm-project/llvm/lib/Analysis/ScalarEvolution.cpp:3833:3 getMinFromExprs(llvm::SCEV const*, llvm::SCEV const*, llvm::ScalarEvolution*) $SRC/llvm-project/llvm/lib/Analysis/LoopAccessAnalysis.cpp:275:15 llvm::RuntimeCheckingPtrGroup::addPointer(unsigned int) $SRC/llvm-project/llvm/lib/Analysis/LoopAccessAnalysis.cpp:292:15 llvm::RuntimePointerChecking::groupChecks(llvm::EquivalenceClasses<llvm::PointerIntPair<llvm::Value*, 1u, bool, llvm::PointerLikeTypeTraits<llvm::Value*>, llvm::PointerIntPairInfo<llvm::Value*, 1u, llvm...
2004 Sep 01
2
[LLVMdev] Problem with CVS LLVM build in obj != src dir case
LLVM build without big problems in obj dir == src dir case (for example, last night tester build) But I have problem with building CVS version LLVM in obj dir != src dir case. ======= Finished building ModuleMaker debug executable (without symbols) ======= gmake[2]: Leaving directory `/usr/home/wanderer/pkg/build/llvm/obj/examples/ModuleMaker' gmake[1]: Leaving directory
2004 Sep 02
1
[LLVMdev] Problem with CVS LLVM build in obj != src dir case
...cker.cpp: In > member function `bool llvm::AliasSetTracker::add(llvm::FreeInst*)': > /home/wanderer/pkg/build/llvm/src/llvm/lib/Analysis/AliasSetTracker.cpp:260: > warning: passing negative value `-0x000000001' for converting 2 of > `llvm::AliasSet& llvm::AliasSetTracker::addPointer(llvm::Value*, unsigned > int, llvm::AliasSet::AccessType, bool&)' > /home/wanderer/pkg/build/llvm/src/llvm/lib/Analysis/AliasSetTracker.cpp: In > member function `bool llvm::AliasSetTracker::remove(llvm::FreeInst*)': > /home/wanderer/pkg/build/llvm/src/llvm/lib/Analysis/...