0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/src
Ben Noordhuis 35e8896153 src: speed up module loading, skip EOF read
Stop reading from disk when we read fewer bytes than requested because
the next read will be the zero-sized EOF.

PR-URL: https://github.com/nodejs/node/pull/9132
Reviewed-By: James M Snell <jasnell@gmail.com>
2016-10-24 22:30:43 +02:00
..
res etw: add event messages 2016-03-31 16:32:07 +01:00
async-wrap-inl.h async_wrap: pass uid to JS as double 2016-06-01 15:39:21 -06:00
async-wrap.cc src: fix readability/inheritance cpplint warnings 2016-06-28 21:21:21 +02:00
async-wrap.h src: add include guards to internal headers 2016-05-25 09:54:24 +02:00
backtrace_posix.cc src: unbreak build when compiling against uclibc 2016-09-05 10:21:34 +02:00
backtrace_win32.cc src: print backtrace on fatal error 2016-06-29 13:49:37 +02:00
base64.h string_bytes: Make base64 encode/decode reusable 2016-05-23 15:52:49 -07:00
base-object-inl.h src: pull OnConnection from pipe_wrap and tcp_wrap 2016-07-25 09:50:51 +02:00
base-object.h src: pull OnConnection from pipe_wrap and tcp_wrap 2016-07-25 09:50:51 +02:00
cares_wrap.cc src: provide allocation + nullptr check shortcuts 2016-09-29 09:46:42 +02:00
CNNICHashWhitelist.inc crypto: add cert check to CNNIC Whitelist 2015-06-16 23:26:29 +09:00
connect_wrap.cc src: unifying PipeConnectWrap and TCPConnectWrap 2016-07-28 18:00:00 +02:00
connect_wrap.h src: unifying PipeConnectWrap and TCPConnectWrap 2016-07-28 18:00:00 +02:00
connection_wrap.cc src: pull AfterConnect from pipe_wrap and tcp_wrap 2016-09-11 14:48:56 +02:00
connection_wrap.h src: pull AfterConnect from pipe_wrap and tcp_wrap 2016-09-11 14:48:56 +02:00
debug-agent.cc src: make debugger listen on 127.0.0.1 by default 2016-08-23 21:10:34 +02:00
debug-agent.h src: make debugger listen on 127.0.0.1 by default 2016-08-23 21:10:34 +02:00
env-inl.h src: remove unused StringValue macro parameters 2016-09-23 07:34:57 +02:00
env.cc src: remove unused using decls 2016-08-08 09:17:12 -07:00
env.h src: remove unused StringValue macro parameters 2016-09-23 07:34:57 +02:00
fs_event_wrap.cc src: remove unneeded ABORT after CHECK 2016-09-22 10:18:06 -07:00
handle_wrap.cc src: rename handle__ to handle_ in HandleWrap 2016-09-24 21:01:49 +02:00
handle_wrap.h src: rename handle__ to handle_ in HandleWrap 2016-09-24 21:01:49 +02:00
inspector_agent.cc inspector: no URLs when the debugger is connected 2016-10-20 13:17:36 -07:00
inspector_agent.h inspector: use script name for target title 2016-09-02 13:47:10 -07:00
inspector_socket.cc inspector: zero out structure members 2016-09-20 10:20:06 -07:00
inspector_socket.h inspector: zero out structure members 2016-09-20 10:20:06 -07:00
js_stream.cc src: no abort from getter if object isn't wrapped 2016-05-24 14:40:22 -06:00
js_stream.h src: add include guards to internal headers 2016-05-25 09:54:24 +02:00
node_buffer.cc buffer: fix range checks for slice() 2016-10-20 13:40:47 -06:00
node_buffer.h buffer: fix buffer alignment restriction 2016-03-19 07:07:01 -07:00
node_config.cc src: fix without-intl build 2016-05-18 17:31:05 +02:00
node_constants.cc zlib: move constants into zlib.constants 2016-06-11 17:24:35 -07:00
node_constants.h src: add include guards to internal headers 2016-05-25 09:54:24 +02:00
node_contextify.cc src: refactor contextify 2016-10-16 12:54:40 +01:00
node_counters.cc src: replace ARRAY_SIZE with typesafe arraysize 2016-04-05 11:37:02 +02:00
node_counters.h src: add include guards to internal headers 2016-05-25 09:54:24 +02:00
node_crypto_bio.cc src: remove unneeded ABORT after CHECK 2016-09-22 10:18:06 -07:00
node_crypto_bio.h src: fix runtime/int cpplint warnings 2016-06-28 21:21:21 +02:00
node_crypto_clienthello-inl.h src: add include guards to internal headers 2016-05-25 09:54:24 +02:00
node_crypto_clienthello.cc crypto: fix undefined behavior in ParseExtension 2016-07-11 02:23:28 -04:00
node_crypto_clienthello.h crypto: fix undefined behavior in ParseExtension 2016-07-11 02:23:28 -04:00
node_crypto_groups.h src: add include guards to internal headers 2016-05-25 09:54:24 +02:00
node_crypto.cc crypto: fix openssl.cnf FIPS handling & testing 2016-10-19 14:25:23 +11:00
node_crypto.h src: remove unused md_ data members 2016-06-29 12:21:03 +02:00
node_dtrace.cc src: remove unused using decls 2016-08-08 09:17:12 -07:00
node_dtrace.h src: add include guards to internal headers 2016-05-25 09:54:24 +02:00
node_file.cc src: speed up module loading, skip EOF read 2016-10-24 22:30:43 +02:00
node_file.h src: add include guards to internal headers 2016-05-25 09:54:24 +02:00
node_http_parser.cc src: fix readability/braces cpplint warnings 2016-06-28 21:21:21 +02:00
node_http_parser.h src: add include guards to internal headers 2016-05-25 09:54:24 +02:00
node_i18n.cc url: adding WHATWG URL support 2016-10-11 12:41:42 -07:00
node_i18n.h url: adding WHATWG URL support 2016-10-11 12:41:42 -07:00
node_internals.h crypto: fix openssl.cnf FIPS handling & testing 2016-10-19 14:25:23 +11:00
node_javascript.cc lib: rename /node.js to /bootstrap_node.js 2016-03-22 19:21:20 -04:00
node_javascript.h src: add include guards to internal headers 2016-05-25 09:54:24 +02:00
node_lttng_provider.h src: add include guards to internal headers 2016-05-25 09:54:24 +02:00
node_lttng_tp.h src: lint node_lttng_tp.h 2016-06-28 21:21:21 +02:00
node_lttng.cc src: replace ARRAY_SIZE with typesafe arraysize 2016-04-05 11:37:02 +02:00
node_lttng.h src: add include guards to internal headers 2016-05-25 09:54:24 +02:00
node_main.cc src,win: use correct exit code in old versions 2016-08-31 04:22:43 +08:00
node_mutex.h src: use RAII for mutexes and condition variables 2016-06-21 10:29:14 +02:00
node_object_wrap.h src: replace deprecated SetWeak in object_wrap 2016-03-03 20:35:20 -08:00
node_os.cc src: fix typo in #endif comment 2016-10-10 08:31:44 -07:00
node_provider.d src: remove unused dtrace probes 2015-02-02 21:55:56 +01:00
node_revert.cc src: avoid compiler warning in node_revert.cc 2016-02-09 09:22:13 -08:00
node_revert.h src: add include guards to internal headers 2016-05-25 09:54:24 +02:00
node_root_certs.h crypto: update root certificates 2016-06-23 09:25:32 +02:00
node_stat_watcher.cc src: no abort from getter if object isn't wrapped 2016-05-24 14:40:22 -06:00
node_stat_watcher.h src: fix readability/inheritance cpplint warnings 2016-06-28 21:21:21 +02:00
node_url.cc url: fix building when using --without-intl 2016-10-11 19:19:07 -07:00
node_url.h url: adding WHATWG URL support 2016-10-11 12:41:42 -07:00
node_util.cc util: Add format for SharedArrayBuffer 2016-09-26 08:07:04 -07:00
node_v8.cc src: remove unused using decls 2016-08-08 09:17:12 -07:00
node_version.h src: bump version to v8.0.0 for master 2016-10-18 13:53:53 +11:00
node_watchdog.cc vm: add error message if we abort 2016-09-23 03:07:40 +03:00
node_watchdog.h test,util: fix flaky test-util-sigint-watchdog 2016-08-11 18:42:41 +02:00
node_win32_etw_provider-inl.h src: add include guards to internal headers 2016-05-25 09:54:24 +02:00
node_win32_etw_provider.cc src: check uv_async_init() return value 2016-06-29 12:19:48 +02:00
node_win32_etw_provider.h src: add include guards to internal headers 2016-05-25 09:54:24 +02:00
node_win32_perfctr_provider.cc src: lint node_win32_perfctr_provider.cc 2016-06-28 21:21:21 +02:00
node_win32_perfctr_provider.h src: add include guards to internal headers 2016-05-25 09:54:24 +02:00
node_wrap.h src: add include guards to internal headers 2016-05-25 09:54:24 +02:00
node_zlib.cc zlib: fix raw inflate with custom dictionary 2016-09-20 23:05:35 +02:00
node.cc src: add NODE_PRESERVE_SYMLINKS environment variable 2016-10-24 22:13:08 +03:00
node.d
node.h crypto: fix openssl.cnf FIPS handling & testing 2016-10-19 14:25:23 +11:00
node.stp src: remove unused dtrace probes 2015-02-02 21:55:56 +01:00
nolttng_macros.py tracing: add lttng support for tracing on linux 2015-02-09 18:06:57 +01:00
notrace_macros.py src: remove unused dtrace probes 2015-02-02 21:55:56 +01:00
perfctr_macros.py
pipe_wrap.cc src: make ReqWrap req_ member private 2016-09-23 08:46:06 +02:00
pipe_wrap.h src: pull AfterConnect from pipe_wrap and tcp_wrap 2016-09-11 14:48:56 +02:00
process_wrap.cc src: remove unused using decls 2016-08-08 09:17:12 -07:00
req-wrap-inl.h src: add include guards to internal headers 2016-05-25 09:54:24 +02:00
req-wrap.h src: make ReqWrap req_ member private 2016-09-23 08:46:06 +02:00
signal_wrap.cc src: remove unused using decls 2016-08-08 09:17:12 -07:00
spawn_sync.cc src: fix bad logic in uid/gid checks 2016-06-29 12:21:13 +02:00
spawn_sync.h src: fix bad logic in uid/gid checks 2016-06-29 12:21:13 +02:00
stream_base-inl.h buffer: introduce latin1 encoding term 2016-06-07 13:51:14 -06:00
stream_base.cc src: use MaybeStackBuffer on DoSend/Writev 2016-09-20 18:59:10 +02:00
stream_base.h src: make ReqWrap req_ member private 2016-09-23 08:46:06 +02:00
stream_wrap.cc src: provide allocation + nullptr check shortcuts 2016-09-29 09:46:42 +02:00
stream_wrap.h src: add include guards to internal headers 2016-05-25 09:54:24 +02:00
string_bytes.cc src: fix build for older clang 2016-10-04 09:28:18 +01:00
string_bytes.h src: add include guards to internal headers 2016-05-25 09:54:24 +02:00
string_search.cc src: fix readability/namespace cpplint warnings 2016-06-28 21:21:21 +02:00
string_search.h src: remove obsolete NOLINT comments 2016-06-28 21:21:21 +02:00
tcp_wrap.cc src: make ReqWrap req_ member private 2016-09-23 08:46:06 +02:00
tcp_wrap.h src: pull AfterConnect from pipe_wrap and tcp_wrap 2016-09-11 14:48:56 +02:00
timer_wrap.cc timers: remove unused repeat param in timer_wrap 2016-08-09 12:26:10 -07:00
tls_wrap.cc src: provide allocation + nullptr check shortcuts 2016-09-29 09:46:42 +02:00
tls_wrap.h src: remove unused data member write_queue_size_ 2016-06-29 12:21:01 +02:00
tree.h
tty_wrap.cc src: remove unused using decls 2016-08-08 09:17:12 -07:00
tty_wrap.h src: add include guards to internal headers 2016-05-25 09:54:24 +02:00
udp_wrap.cc src: remove out-of-date TODO comment 2016-10-10 08:45:52 -07:00
udp_wrap.h src: remove unused function declaration 2016-10-03 13:02:09 +02:00
util-inl.h src: fix build for older clang 2016-10-04 09:28:18 +01:00
util.cc src: notify V8 for low memory when alloc fails 2016-09-29 09:46:42 +02:00
util.h src: fix build for older clang 2016-10-04 09:28:18 +01:00
uv.cc src: remove unused using decls 2016-08-08 09:17:12 -07:00
v8abbr.h src: lint v8abbr.h 2016-06-28 21:21:21 +02:00
v8ustack.d dtrace: fix ustack helper for V8 5.1 2016-06-29 10:44:27 +02:00