- [
14fcb1dded
] - assert: respect assert.doesNotThrow message. (Ilya Shaisultanov) #2407 - [
332f7382bb
] - benchmark: add module loader benchmark parameter (Brian White) #5172 - [
473f086a94
] - (SEMVER-MINOR) buffer: add Buffer.prototype.compare by offset (James M Snell) #5880 - [
d44540f5af
] - buffer: standardize array index check (Trevor Norris) #6084 - [
bd12d72e0c
] - build: fix make tar-headers for Linux (Gibson Fahnestock) #5978 - [
3c8d404a82
] - **buil
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var output = _.groupBy(examples, function (file) { | |
return file.split('/')[0]; | |
}); | |
output = _.reduce(output, function (result, folder, key) { | |
result[key] = _.groupBy(folder, function (file) { | |
return path.dirname(file); | |
}); | |
return result; | |
}, {}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this | |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
'use strict'; | |
var test = require('tap').test; | |
var path = require('path'); | |
var os = require('os'); | |
var fs = require('fs'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo I PASS | |
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* File: cmap.c | |
* Author: Myles Borins | |
* ---------------------- | |
* | |
*/ | |
#include "cmap.h" | |
#include <stdio.h> | |
#include <stdlib.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TAP version 13 | |
1..43 | |
ok | |
1..40 | |
ok 1 - /Users/thealphanerd/code/node/master/benchmark/arrays/var-int.js | |
ok 2 - /Users/thealphanerd/code/node/master/benchmark/arrays/zero-float.js | |
ok 3 - /Users/thealphanerd/code/node/master/benchmark/arrays/zero-int.js | |
ok 4 - /Users/thealphanerd/code/node/master/benchmark/assert/deepequal-prims-and-objs-big-array.js | |
ok 5 - /Users/thealphanerd/code/node/master/benchmark/assert/deepequal-prims-and-objs-big-loop.js | |
ok 6 - /Users/thealphanerd/code/node/master/benchmark/assert/deepequal-typedarrays.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://nodejs.org/dist/v5.11.1/node-v5.11.1-darwin-x64.tar.gz | |
curl -O https://nodejs.org/dist/v5.11.1/SHASUMS256.txt.asc | |
grep node-v5.11.1-darwin-x64.tar.gz SHASUMS256.txt | shasum -c - | |
gpg --verify SHASUMS256.txt.asc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
NODE_VERSION=$(python tools/getnodeversion.py) | |
CONFIG_FLAGS="--with-intl=small-icu --download=all --download-path=${HOME}/node-icu/" | |
mkdir -p ${HOME}/node-icu/ | |
if [[ $NODE_VERSION =~ ^0\.10 ]]; then | |
CONFIG_FLAGS="" | |
fi | |
rm -rf $(pwd)/smoker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const http = require('http'); | |
const server = http.createServer((req, res) => { | |
res.end(); | |
}); | |
server.on('clientError', (err, socket) => { | |
socket.end('HTTP/1.1 400 Bad Request\r\n\r\n'); | |
}); | |
server.listen(process.argv[2]); |