272 Commits (91570a50ed4fb0273056c61d240bc9f95e4cef75)

Author SHA1 Message Date
Anna Henningsen aed9792ff4 src: provide allocation + nullptr check shortcuts 9 years ago
Anna Henningsen d2470d4dff src: pass desired return type to allocators 9 years ago
Ben Noordhuis bebb202123 src: rename CHECK_NOT_OOB() macro 9 years ago
Michael Dawson a00ccb0fb9 src: normalize malloc, realloc 9 years ago
Anna Henningsen 3242b27b54 buffer: allow .write() offset to be at buffer end 9 years ago
Haojian Wu 43ef58005e src: remove unused using decls 9 years ago
Ben Noordhuis 6754bae82f src: fix handle leak in Buffer::New() 9 years ago
Fedor Indutny 46f40cfb4c buffer: fix unintended unsigned overflow 9 years ago
cjihrig 18ae74cf98 src: suppress coverity message 9 years ago
Ben Noordhuis 630096bc80 src: guard against overflow in ParseArrayIndex() 9 years ago
Ben Noordhuis 6ae20433c9 src: move ParseArrayIndex() to src/node_buffer.cc 9 years ago
Ben Noordhuis f8d3f6fbf4 src: remove obsolete NOLINT comments 9 years ago
Zach Bjornson a1059afd39 buffer: speed up swap16/32, add swap64 9 years ago
Trevor Norris 54cc7212df buffer: introduce latin1 encoding term 9 years ago
Ingvar Stepanyan 5292a1358f
buffer: improve creation performance. 9 years ago
Anna Henningsen ac0665c908 src: fix ArrayBuffer size for zero fill flag 9 years ago
Ben Noordhuis 27e84ddd4e lib,src: clean up ArrayBufferAllocator 9 years ago
Anna Henningsen 55b975d402
buffer: fix lastIndexOf crash for overlong needle 9 years ago
Anna Henningsen 4d49bcb73e
buffer: fix UCS2 indexOf for odd buffer length 9 years ago
Anna Henningsen 5defa0cbaa
buffer: fix needle length misestimation for UCS2 9 years ago
dcposch@dcpos.ch 6c1e5ad3ab buffer: add Buffer.prototype.lastIndexOf() 9 years ago
Sakthipriyan Vairamani 2c480bdae6 src: fix check-imports.py linter errors 9 years ago
James M Snell a2466896dd buffer: add Buffer.prototype.compare by offset 9 years ago
James M Snell 7d73e60f60 buffer: add swap16() and swap32() methods 9 years ago
Matt Loring d3c0d1bb8b buffer: throw range error before truncating write 9 years ago
Ali Ijaz Sheikh 73fc440870 buffer: fix buffer alignment restriction 9 years ago
James M Snell 85ab4a5f12 buffer: add .from(), .alloc() and .allocUnsafe() 9 years ago
Ali Ijaz Sheikh 206a81fb14 buffer: avoid undefined behaviour 9 years ago
Ali Ijaz Sheikh ebbbc5a790 buffer: replace deprecated SetWeak usage 9 years ago
Ali Ijaz Sheikh 34aac23d0b buffer: cleanup CallbackInfo 9 years ago
Trevor Norris b55e58042c buffer: add encoding parameter to fill() 9 years ago
Trevor Norris 54cd2e1e5e buffer: properly retrieve binary length of needle 9 years ago
Bryon Leung 2ccde01980 src: add BE support to StringBytes::Encode() 10 years ago
Matt Loring 22478d3669 buffer: move checkFloat from lib into src 9 years ago
P.S.V.R 0ed3a7c11b buffer: let WriteFloatGeneric silently drop values 9 years ago
Fedor Indutny 827ee498e3 buffer: neuter external `nullptr` buffers 9 years ago
Ben Noordhuis 594500f9f1 buffer: don't CHECK on zero-sized realloc 10 years ago
Fedor Indutny 931118c9d7 buffer: fix assertion error in WeakCallback 10 years ago
Karl Skomski 9148114c93 src: convert BE-utf16-string to LE before search 10 years ago
Karl Skomski a18dd7b788 src: replace naive search in Buffer::IndexOf 10 years ago
Fedor Indutny d1f24044b9 buffer: FreeCallback should be tied to ArrayBuffer 10 years ago
Trevor Norris 05d424c029 buffer: only check if instance is Uint8Array 10 years ago
Trevor Norris 74178a5682 buffer: construct Uint8Array in JS 10 years ago
Karl Skomski e7a3ca3d31 src: use subarray() in Buffer#slice() for speedup 10 years ago
Michaël Zasso 4abc896a82 src: replace usage of v8::Handle with v8::Local 10 years ago
Karl Skomski 599d4f5f3a src: fix memory leak in ExternString 10 years ago
Karl Skomski e3740e4524 src: only memcmp if length > 0 in Buffer::Compare 10 years ago
Karl Skomski 90a2671889 src: better error message on failed Buffer malloc 10 years ago
Ben Noordhuis 88419479cc src: rename Buffer::Use() to Buffer::New() 10 years ago
Ben Noordhuis 9a3929dcbf src: introduce internal Buffer::Copy() function 10 years ago