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
dtrace:::BEGIN | |
{ | |
printf("Starting trace\n"); | |
errors = 0; | |
} | |
dtrace:::END | |
{ | |
printf("Total errors: %d", errors); | |
exit(errors); |
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
# | |
# Automatically generated file; DO NOT EDIT. | |
# crosstool-NG 1.25.0 Configuration | |
# | |
CT_CONFIGURE_has_cxx11=y | |
CT_CONFIGURE_has_lzip=y | |
CT_CONFIGURE_has_curl=y | |
CT_CONFIGURE_has_ninja=y | |
CT_CONFIGURE_has_rsync=y | |
CT_CONFIGURE_has_make_3_81_or_newer=y |
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
// Based on general design of this FSM: https://www.aleksandrhovhannisyan.com/blog/implementing-a-finite-state-machine-in-cpp/ | |
/* | |
* stateDiagram | |
direction LR | |
LookForString --> LookForString: * | |
LookForString --> InString: ch == ", InitResult() | |
InString --> InString: ch == anything else, AddToResult() | |
InString --> LookForString: ch == ", OutputResult() | |
InString --> CopyNextChar: ch == \, AddToResult() |
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
#include <mach/mach_time.h> | |
#import <AudioToolbox/AudioToolbox.h> | |
#include <thread> | |
#include <chrono> | |
#include <mach/mach_init.h> | |
#include <mach/thread_policy.h> |