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
#include <cstdio> | |
#include <stdint.h> | |
int main() { | |
printf("%d %d", sizeof(int32_t), sizeof(intptr_t)); | |
return 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
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA1x0bZ+PE/bWYXbV8OmrX7rkdxolFXfcT10l6rrhFUoo4b6I77RHaLQwTkKLDsrqqZblVZ4IAYYakwQEv34hmrz6tppvO4p9Y6vlpwF1qjewWdLLWlMMyYhN5cW3YGayJcE8G9L0xQ/wo5soEnnCKDkWnHF/MSpOijI1al/VrcSzGuHRgxZHMW8KD3qIY6Q139rx6Qp3LVqPGeiR8ikBDHgrVM2ILr209f4Ew0nwsZI7QaD+SLG9uu1KdiIm/oM3qryfQxxqGHhym9pIDj3TGZ5Kn6Ofm2LJep0YoZfllI5Y5lTlZnGTqzI9n186FZHF2bLhG7HLRquh7yQpMgOp+Ow== mraleph@whitestar |
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
diff --git a/tests/arrays.js b/tests/arrays.js | |
index 5f6a8c4..ee9bab7 100644 | |
--- a/tests/arrays.js | |
+++ b/tests/arrays.js | |
@@ -228,7 +228,8 @@ testFunc["arrayBuffer_create"] = function() { | |
return endTime - startTime; | |
}; | |
-function test_sequentialRead(arr) { | |
+ |
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
diff --git a/src/runtime.cc b/src/runtime.cc | |
index d8aaf71..ff05037 100644 | |
--- a/src/runtime.cc | |
+++ b/src/runtime.cc | |
@@ -2713,7 +2713,7 @@ MUST_USE_RESULT static MaybeObject* StringReplaceRegExpWithEmptyString( | |
end = RegExpImpl::GetCapture(match_info_array, 1); | |
} | |
- int length = subject->length(); | |
+ int length = subject_handle->length(); |
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
Index: src/runtime.cc | |
=================================================================== | |
--- src/runtime.cc (revision 7683) | |
+++ src/runtime.cc (working copy) | |
@@ -2713,7 +2713,7 @@ | |
end = RegExpImpl::GetCapture(match_info_array, 1); | |
} | |
- int length = subject->length(); | |
+ int length = subject_handle->length(); |
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
diff --git a/matmul/matmul_v1.js b/matmul/matmul_v1.js | |
index 2c568f5..8a921e5 100644 | |
--- a/matmul/matmul_v1.js | |
+++ b/matmul/matmul_v1.js | |
@@ -37,8 +37,8 @@ function matgen(n) { | |
return a; | |
} | |
-var n = 100; | |
-if (arguments[0]) n = parseInt(arguments[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 matrix = {} | |
matrix.new = function (n) { | |
var a = new Array(n); | |
for (var i = 0; i < n; i++) a[i] = new Float64Array(n); | |
return a; | |
} | |
matrix.T = function (a, n) { | |
var y = matrix.new(n) |
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
diff --git a/lib/events.js b/lib/events.js | |
index b681c10..3273391 100644 | |
--- a/lib/events.js | |
+++ b/lib/events.js | |
@@ -34,8 +34,8 @@ EventEmitter.prototype.setMaxListeners = function(n) { | |
this._events.maxListeners = n; | |
}; | |
- | |
-EventEmitter.prototype.emit = function(type) { |
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
master = 2dfed9f69aaa39617f8d559365aa72e05b6e8fac | |
-- master + V8 3.1.8.X - x64 -------------------------------- | |
ab-hello-world-string-1024: 6548.40 [#/sec] (mean) | |
ab-hello-world-buffer-1024: 6234.19 [#/sec] (mean) | |
ab-hello-world-string-102400: 363.80 [#/sec] (mean) | |
ab-hello-world-buffer-102400: 3925.97 [#/sec] (mean) | |
-- master + V8 3.4.X - x64 ---------------------------------- |
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
node.js:134 | |
throw e; // process.nextTick error, or 'error' event on first tick | |
^ | |
Error: Could not convert type: r^^{__CFData} | |
at Object.translate [as map] (/Users/mraleph/src/NodObjC/types.js:42:9) | |
at getType (/Users/mraleph/src/NodObjC/bridgesupport.js:153:16) | |
at Object.onopentag (/Users/mraleph/src/NodObjC/bridgesupport.js:60:28) | |
at emit (/usr/local/lib/node/.npm/sax/0.1.5/package/lib/sax.js:148:32) | |
at emitNode (/usr/local/lib/node/.npm/sax/0.1.5/package/lib/sax.js:152:3) |