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
static void CalculateBetweenPoint(double x1, double y1, double x2, double y2, double distance, out double x3, out double y3) | |
{ | |
var xDistance = Math.Abs(x1 - x2); | |
var yDistance = Math.Abs(x2 - y2); | |
var distanceAB = Math.Sqrt(Math.Pow(xDistance, 2) + Math.Pow(yDistance, 2)); | |
var angleAB = Math.Atan2(y2 - y1, x2 - x1); | |
var deltaXAC = distance * Math.Cos(angleAB); | |
var deltaYAC = distance * Math.Sin(angleAB); |
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
2016-08-31 16:26:30.810 UnacceptableCrashing[11609:822097] An uncaught exception was raised | |
2016-08-31 16:26:30.811 UnacceptableCrashing[11609:822097] *** -[__NSArrayM objectAtIndex:]: index 18446744073709551615 beyond bounds for empty array | |
2016-08-31 16:26:30.811 UnacceptableCrashing[11609:822097] ( | |
0 CoreFoundation 0x00007fff9ca4d4f2 __exceptionPreprocess + 178 | |
1 libobjc.A.dylib 0x00007fff903b9f7e objc_exception_throw + 48 | |
2 CoreFoundation 0x00007fff9c9647c5 -[__NSArrayM objectAtIndex:] + 245 | |
3 AppKit 0x00007fff9885677e -[NSComboBoxCell selectItemAtIndex:] + 160 | |
4 ??? 0x00000001093b469c 0x0 + 4449846940 | |
5 UnacceptableCrashing 0x0000000100ecd265 mono_jit_runtime_invoke + 1765 | |
6 UnacceptableCrashing 0x0000000100f74af2 mono_runtime_invoke + 130 |
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
{ | |
"contracts": { | |
"BasicToken.sol": { | |
"BasicToken": { | |
"abi": [ | |
{ | |
"constant": true, | |
"inputs": [ | |
], |
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
using System; | |
using System.Diagnostics; | |
using System.Runtime.CompilerServices; | |
using System.Runtime.InteropServices; | |
// Ported from https://github.com/monero-project/monero/blob/master/src/crypto/keccak.c | |
// Optimizations taken from: https://bitbucket.org/jdluzen/sha3/src | |
namespace SolCodeGen | |
{ |
This file has been truncated, but you can view the full file.
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
{ | |
"contracts": { | |
"TestContracts\/ExampleContract.sol": { | |
"ExampleContract": { | |
"abi": [ | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "val", |
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
/* "ExampleContract.sol":151:2552 */ | |
mstore(0x40, 0x80) | |
/* "ExampleContract.sol":550:696 */ | |
callvalue | |
/* "--CODEGEN--":8:17 */ | |
dup1 | |
/* "--CODEGEN--":5:7 */ | |
iszero | |
tag_1 | |
jumpi |
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
{ | |
"absolutePath": "TestContracts\/ExampleContract.sol", | |
"exportedSymbols": { | |
"ExampleContract": [ | |
311 | |
] | |
}, | |
"id": 312, | |
"nodeType": "SourceUnit", | |
"nodes": [ |
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
{ | |
"linkReferences": {}, | |
"object": "60806040523480156200001157600080fd5b50604051620013b6380380620013b683398101806040528101908080518201929190602001805190602001909291908051906020019092919050505082600190805190602001906200006592919062000090565b5081600260006101000a81548160ff021916908315150217905550806003819055505050506200013f565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620000d357805160ff191683800117855562000104565b8280016001018555821562000104579182015b8281111562000103578251825591602001919060010190620000e6565b5b50905062000113919062000117565b5090565b6200013c91905b80821115620001385760008160009055506001016200011e565b5090565b90565b611267806200014f6000396000f3006080604052600436106100f1576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630d7e2fce1461010057806314d6b8fa146101e257806327e235e31461042857806347799da81461047f5780634ebbf8fa146104aa5780636b2759c1146104f45780637853512c146105235780637a4a328f146105b357806382ac4d4f146107c95780639 |
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
{ | |
".code": [ | |
{ | |
"begin": 151, | |
"end": 2632, | |
"name": "PUSH", | |
"value": "80" | |
}, | |
{ | |
"begin": 151, |
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
{ | |
"attributes": { | |
"absolutePath": "TestContracts\/ExampleContract.sol", | |
"exportedSymbols": { | |
"ExampleContract": [ | |
311 | |
] | |
} | |
}, | |
"children": [ |