tree: c12f4a2bbc16265b6aca4b610df63b794be236db [path history] [tgz]
  1. README.md
  2. allocator.cc
  3. allocator.h
  4. analytics/
  5. bidirectional_fit_reuse_allocator.cc
  6. bidirectional_fit_reuse_allocator.h
  7. bidirectional_fit_reuse_allocator_test.cc
  8. bit_cast.h
  9. concurrent_map.h
  10. concurrent_map_test.cc
  11. concurrent_ptr.h
  12. concurrent_ptr_test.cc
  13. cpp14oncpp11.h
  14. first_fit_reuse_allocator.cc
  15. first_fit_reuse_allocator.h
  16. first_fit_reuse_allocator_test.cc
  17. fixed_no_free_allocator.cc
  18. fixed_no_free_allocator.h
  19. fixed_no_free_allocator_test.cc
  20. hash.cc
  21. hash.h
  22. memory_pool.h
  23. memory_scope.cc
  24. memory_scope.h
  25. memory_scope_test.cc
  26. move.h
  27. multipart_allocator.cc
  28. multipart_allocator.h
  29. multipart_allocator_test.cc
  30. nb.gyp
  31. nb_test.gyp
  32. pointer_arithmetic.h
  33. polymorphic_downcast.h
  34. rect.h
  35. ref_counted.cc
  36. ref_counted.h
  37. reuse_allocator_base.cc
  38. reuse_allocator_base.h
  39. reuse_allocator_benchmark.cc
  40. rewindable_vector.h
  41. rewindable_vector_test.cc
  42. run_all_unittests.cc
  43. scoped_ptr.h
  44. simple_profiler.cc
  45. simple_profiler.h
  46. simple_profiler_test.cc
  47. simple_thread.cc
  48. simple_thread.h
  49. starboard_aligned_memory_deleter.h
  50. starboard_memory_allocator.h
  51. std_allocator.h
  52. std_allocator_test.cc
  53. string_interner.cc
  54. string_interner.h
  55. string_interner_test.cc
  56. test_thread.h
  57. testdata/
  58. thread_collision_warner.cc
  59. thread_collision_warner.h
  60. thread_local_boolean.h
  61. thread_local_object.h
  62. thread_local_object_test.cc
  63. thread_local_pointer.h
src/nb/README.md

Nanobase

Nanobase is essentially a minified/lightweight version of Chromium‘s base library, though it does include utility classes that Chromium’s base does not.

Its usefulness is found in the fact that its only dependency is starboard, making it very portable and easy to include in projects that don‘t want to depend on Chromium’s base (which currently would require the Chromium repository to be available and that may not be desirable).

An example project that depends on nb is glimp, which was the project that initiated the creation of nb. We wanted glimp to be portable alongside Starboard, and so in order to enable that, we wanted to avoid a dependency on Chromium's base.