"Democracy: The state of affairs in which you consent to having your pocket picked, and elect the best man to do it."
- Benjamin Lichtenberg

Update to MakeID.h
Friday, April 3, 2015 | Permalink

If you've been using MakeID.h I suggest you download the latest version. The previous version had a minor bug that made it copy an element too much when it reduced the number of ranges. This didn't impact functionality, but in edge-cases it could result in a read outside of allocated memory, which if you're really unlucky could cause a crash. Thanks to Markus Billeter for reporting the issue.

Name

Comment

Enter the code below



Jenny Cao
Wednesday, May 6, 2015

Hello Mr Persson (Humus)

My name is JennyCao, we are working on the Crosswalk project (a blink based webview runtime for advanced web technologies) in Intel Open source center.
We have a test suite kit on github to demostrate the usage and effects of new web technologies.
We find you have a good samples for WebCL, and want to integrate it into the test suite usecase.
From the �legal stuff� of https://github.com/uebquite/webcl-demos/blob/master/Deform/textures/readme.txt , we must get your �written approval� if we distribute the sample in Crosswalk test suite.

Would you garentee us the �written approval� for the distribution the sample in Crosswalk test suite?

You could check the integration PR and provide comments, we will merge the PR only after get your �written approval�.
https://github.com/crosswalk-project/crosswalk-test-suite/pull/2073/files#r28686945

Ps: you have a beatiful wife and lovely sons

Jeb Bradwell
Sunday, June 5, 2016

Solid implementation. This is definitely a great direction

matthew
Sunday, July 8, 2018

There's another off by one bug, in GetAvailableIDs: for each range, count is incremented by one less than the actual number of free IDs in that range. GetLargestContinuousRange, however, does the counting correctly.