Commit Graph

4 Commits

Author SHA1 Message Date
Avi Kivity
7f8d88371a Add LICENSE, NOTICE, and copyright headers to all source files.
The two files imported from the OSv project retain their original licenses.
2015-02-19 16:52:34 +02:00
Avi Kivity
05effc0b2d array_map: fix initialization
Force value initialization of the array, rather than the default (default
initialization) which does nothing for primitive types such as pointers.
2014-10-22 16:37:36 +03:00
Tomasz Grabiec
4311f5dafa array_map: introduce at() 2014-09-16 18:48:14 +03:00
Avi Kivity
93f1af6f33 core: add array_map<>
A map implemented using an array, for fast lookups in a small contiguous
search space.
2014-09-01 15:18:13 +03:00