Skip to content

Instantly share code, notes, and snippets.

View bzoz's full-sized avatar

Bartosz Sosnowski bzoz

View GitHub Profile
#include <intrin.h>
#include <cstdint>
#include <iostream>
#pragma intrinsic(_BitScanReverse64)
#pragma intrinsic(_BitScanReverse)
using namespace std;
unsigned long old_version(int64_t value)
{
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/util.o src/win/util.c
src/win/util.c: In function 'uv__getpwuid_r':
src/win/util.c:1314:20: error: 'UNLEN' undeclared (first use in this function)
wchar_t username[UNLEN + 1];
^
src/win/util.c:1314:20: note: each undeclared identifier is reported only once for each function it appears in
src/win/util.c:1314:11: warning: unused variable 'username' [-Wunused-variable]
wchar_t username[UNLEN + 1];
^
make.exe: *** [src/win/util.o] Error 1
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/fs-poll.o src/fs-poll.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/inet.o src/inet.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/threadpool.o src/threadpool.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/uv-common.o src/uv-common.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/version.o src/version.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/async.o src/win/async.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/core.o src/win/core.c
src/wi
const http = require('http');
var len = 1024 * 1024;
var chunk = Buffer.alloc(len, 'x');
var server = http.createServer(function(req, res) {
res.write(chunk);
res.end()
});
server.listen(1234, function() {
This file has been truncated, but you can view the full file.
info: cores | running tests using 8 cores
info: starting | lodash
info: starting | underscore
info: starting | request
info: starting | commander
info: starting | express
info: starting | q
info: starting | coffee-script
info: starting | through2
info: through2 npm: | Downloading project: https://github.com/rvagg/through2/archive/v2.0.3.tar.gz
This file has been truncated, but you can view the full file.
info: starting | lodash
info: lookup | lodash
info: lookup-found | lodash
info: lookup-replace | https://github.com/lodash/lodash/archive/4.17.4.tar.gz
info: npm: | Downloading project: https://github.com/lodash/lodash/archive/4.17.4.tar.gz
info: npm: | Project downloaded lodash-4.17.4.tgz
info: npm: | install started
info: npm: | install successfully completed
info: npm: | test suite started
info: duration | test duration: 59864ms
This file has been truncated, but you can view the full file.
TAP version 13
ok 1 - lodash v4.17.4
---
# > [email protected] pretest C:\Users\GRZYBI~1\AppData\Local\Temp\3c496b5b-8a3e-4d78-af3a-e86d7a2a14c7\lodash
# > npm run build
# > [email protected] build C:\Users\GRZYBI~1\AppData\Local\Temp\3c496b5b-8a3e-4d78-af3a-e86d7a2a14c7\lodash
# > npm run build:main && npm run build:fp
# > [email protected] build:main C:\Users\GRZYBI~1\AppData\Local\Temp\3c496b5b-8a3e-4d78-af3a-e86d7a2a14c7\lodash
# > node lib/main/build-dist.js
# > [email protected] build:fp C:\Users\GRZYBI~1\AppData\Local\Temp\3c496b5b-8a3e-4d78-af3a-e86d7a2a14c7\lodash
This file has been truncated, but you can view the full file.
[00:00|% 0|+ 0|- 0]: release test-http2-pipe
[00:00|% 0|+ 0|- 0]: release test-http2-pipe
[00:00|% 0|+ 0|- 0]: release test-http2-pipe
[00:00|% 0|+ 0|- 0]: release test-http2-pipe
Log from npm install --verbose
npm info it worked if it ends with ok
npm verb cli [ 'C:\\Users\\ja\\AppData\\Local\\nvs\\node\\10.6.0\\x64\\node.exe',
npm verb cli 'C:\\Users\\ja\\AppData\\Local\\nvs\\node\\10.6.0\\x64\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli 'install',
npm verb cli '--verbose' ]
npm info using [email protected]
npm info using [email protected]
npm verb npm-session f79bd382a1ff46d1
a
a
a
a
a
a
a
a
a
a