- [
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 hidden or 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
'use strict'; | |
var test = require('tap').test; | |
var rewire = require('rewire'); | |
var npmTest = rewire('../lib/npm/test'); | |
var authorName = npmTest.__get__('authorName'); | |
test('npm.test() authorName:', function (t) { |
This file contains hidden or 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 common = require('../common'); | |
const assert = require('assert'); | |
const http = require('http'); | |
process.on('uncaughtException', function(error) { | |
assert.ok(error); | |
server.close(); | |
}); |
This file contains hidden or 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 hidden or 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 tilt = { | |
alpha: 0, | |
beta: 0, | |
gamma: 0 | |
}; | |
function lowPass(prev, curr, co) { | |
return prev * co + curr * (1 - co); | |
} |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 |