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
void _NoReentryScopeEnter(BOOL *aVar) | |
{ | |
if (*aVar) | |
[NSException raise:NSInternalInconsistencyException format:@"the method is not reentrable"]; | |
*aVar = YES; | |
} | |
void _NoReentryScopeLeave(BOOL **aVar) | |
{ |
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
/* Keep values shared by code and the OpenCL kernels here. This file is | |
* prepended to the OpenCL kernels during make. */ | |
#define MD4_NUM_KEYS 1024*2048 | |
#define MD4_PLAINTEXT_LENGTH 15 | |
#ifdef MD4 | |
#define PLAINTEXT_LENGTH 15 | |
#endif |
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
# See https://www.terraform.io | |
# --- | |
# Variables | |
# --- | |
# Deep Learning AMI https://aws.amazon.com/marketplace/pp/B077GCH38C | |
variable "ami" { | |
default = "ami-0656a055aec8320d6" | |
} |
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
NS_SWIFT_NAME(RecorderControlStyle) | |
@interface SRRecorderControlStyle: NSObject | |
@end | |
NS_SWIFT_NAME(SRRecorderControlStyle.Components) | |
// NS_SWIFT_NAME(RecorderControlStyle.Components) also works! | |
@interface SRRecorderControlStyleComponents: NSObject | |
@end | |
typedef NS_ENUM(NSUInteger, SRRecorderControlStyleComponentsAppearance) |
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 sandwich: Sandwich? | |
var preferences: Sandwich.Preferences? | |
var breadType: Sandwich.Preferences.BreadType? |
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
@interface Sandwich: NSObject | |
@end | |
NS_SWIFT_NAME(Sandwich.Preferences) | |
@interface SandwichPreferences: NSObject | |
@end | |
typedef NS_ENUM(NSInteger, SandwichBreadType) { | |
} NS_SWIFT_NAME(SandwichPreferences.BreadType); |
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
NS_SWIFT_NAME(RecorderControlStyle) | |
@interface SRRecorderControlStyle: NSObject | |
@end | |
NS_SWIFT_NAME(RecorderControlStyle.Components) | |
@interface SRRecorderControlStyleComponents: NSObject | |
@end | |
typedef NS_ENUM(NSUInteger, SRRecorderControlStyleComponentsAppearance) | |
{} NS_SWIFT_NAME(RecorderControlStyle.Components.Appearance); |
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 style: RecorderControlStyle? | |
var components: RecorderControlStyle.Components? | |
var appearance: RecorderControlStyle.Components.Appearance? |
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
@interface SRRecorderControlStyle: NSObject | |
@end | |
@interface SRRecorderControlStyleComponents: NSObject | |
@end | |
typedef NS_ENUM(NSUInteger, SRRecorderControlStyleComponentsAppearance) {}; |
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
@interface Sandwich: NSObject | |
@end | |
NS_SWIFT_NAME(Sandwich.Preferences) | |
@interface SandwichPreferences: NSObject | |
@end | |
typedef NS_ENUM(NSInteger, SandwichBreadType) { | |
} NS_SWIFT_NAME(SandwichPreferences.BreadType); |