text:
typedef void (*CDUnknownFunctionPointerType)(void); // return type and parameters are unknown

typedef void (^CDUnknownBlockType)(void); // return type and parameters are unknown

#pragma mark Named Structures

struct _NSRange {
    unsigned long long location;
    unsigned long long length;
};

#pragma mark Typedef'd Structures

typedef struct {
    unsigned long long state;
    id *itemsPtr;
    unsigned long long *mutationsPtr;
    unsigned long long extra[5];
} CDStruct_58648341;

#pragma mark -

//
// File: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/MIME.framework/MIME
// UUID: C969F586-B3B0-3786-9C4B-DBB9766834F0
//
//                           Arch: x86_64
//                Current version: 20.0.0
//          Compatibility version: 1.0.0
//                 Source version: 2243.0.0.0.0
//            Minimum iOS version: 8.0.0
//                    SDK version: 8.0.0
//
// Objective-C Garbage Collection: Unsupported
//

@protocol MFCollectingDataConsumer <MFDataConsumer>
- (NSData *)data;
@end

@protocol MFDataConsumer <NSObject>
- (void)done;
- (long long)appendData:(NSData *)arg1;
@end

@protocol MFFuture <NSObject>
@property(readonly, getter=isCancelled) _Bool cancelled;
@property(readonly, getter=isFinished) _Bool finished;
- (void)addFailureBlock:(void (^)(NSError *))arg1;
- (void)addSuccessBlock:(void (^)(id))arg1;
- (_Bool)cancel;
- (id)resultBeforeDate:(NSDate *)arg1 error:(id *)arg2;
- (id)resultWithTimeout:(double)arg1 error:(id *)arg2;
- (id)result:(id *)arg1;
@end

@protocol MFGuaranteedCollectingDataConsumer <MFCollectingDataConsumer>
- (NSData *)data;
@end

@protocol MFLockObject
- (id)initWithName:(NSString *)arg1 andDelegate:(id)arg2;
- (_Bool)isLockedByMe;
@end

@protocol NSCopying
- (id)copyWithZone:(struct _NSZone *)arg1;
@end

@protocol NSMutableCopying
- (id)mutableCopyWithZone:(struct _NSZone *)arg1;
@end

@protocol NSObject
@property(readonly, copy) NSString *description;
@property(readonly) Class superclass;
@property(readonly) unsigned long long hash;
- (struct _NSZone *)zone;
- (unsigned long long)retainCount;
- (id)autorelease;
- (oneway void)release;
- (id)retain;
- (_Bool)respondsToSelector:(SEL)arg1;
- (_Bool)conformsToProtocol:(Protocol *)arg1;
- (_Bool)isMemberOfClass:(Class)arg1;
- (_Bool)isKindOfClass:(Class)arg1;
- (_Bool)isProxy;
- (id)performSelector:(SEL)arg1 withObject:(id)arg2 withObject:(id)arg3;
- (id)performSelector:(SEL)arg1 withObject:(id)arg2;
- (id)performSelector:(SEL)arg1;
- (id)self;
- (Class)class;
- (_Bool)isEqual:(id)arg1;

@optional
@property(readonly, copy) NSString *debugDescription;
@end

@interface MFBaseFilterDataConsumer : NSObject <MFDataConsumer>
{
    NSMutableArray *_consumers;
    _Bool _serialAppend;
}

+ (id)filterWithConsumer:(id)arg1;
+ (id)filterWithConsumers:(id)arg1;
@property(readonly, nonatomic) NSArray *consumers; // @synthesize consumers=_consumers;
@property(nonatomic, getter=isSerialAppend) _Bool serialAppend; // @synthesize serialAppend=_serialAppend;
- (void)dealloc;
- (void)done;
- (long long)appendData:(id)arg1;
- (id)initWithConsumer:(id)arg1;
- (id)initWithConsumers:(id)arg1;

// Remaining properties
@property(readonly, copy) NSString *debugDescription;
@property(readonly, copy) NSString *description;
@property(readonly) unsigned long long hash;
@property(readonly) Class superclass;

@end

@interface MFBase64Decoder : MFBaseFilterDataConsumer
{
    NSMutableData *_leftovers;
    unsigned int _decodedBits;
    unsigned long long _validBytes;
    unsigned long long _equalCount;
    const char *_table;
    _Bool _bound;
}

+ (_Bool)isValidBase64:(id)arg1;
@property(nonatomic) _Bool isBound; // @synthesize isBound=_bound;
@property(readonly, nonatomic) unsigned long long unconverted; // @synthesize unconverted=_validBytes;
@property(nonatomic) _Bool convertCommas;
- (void)dealloc;
- (void)done;
- (long long)appendData:(id)arg1;
- (unsigned long long)_decodeBytes:(const char *)arg1 end:(const char *)arg2 into:(char *)arg3 length:(unsigned long long)arg4 startingAt:(unsigned long long)arg5 outEncodedOffset:(unsigned long long *)arg6;
- (id)initWithConsumers:(id)arg1;

@end

@interface MFBase64Encoder : MFBaseFilterDataConsumer
{
    const char *_table;
    unsigned long long _left;
    unsigned char _leftovers[3];
    unsigned long long _line;
    unsigned long long _lineBreak;
    BOOL _padChar;
}

@property(nonatomic) BOOL padChar; // @synthesize padChar=_padChar;
@property(nonatomic) unsigned long long lineBreak; // @synthesize lineBreak=_lineBreak;
- (void)setStandardLineBreak;
@property(nonatomic) _Bool allowSlash;
- (void)done;
- (long long)appendData:(id)arg1;
- (id)initWithConsumers:(id)arg1;

@end

@interface MFBufferedDataConsumer : NSObject <MFGuaranteedCollectingDataConsumer>
{
    NSMutableData *_data;
    int _fd;
    NSString *_path;
}

- (void)done;
- (long long)appendData:(id)arg1;
- (id)data;
- (void)dealloc;
- (id)init;

// Remaining properties
@property(readonly, copy) NSString *debugDescription;
@property(readonly, copy) NSString *description;
@property(readonly) unsigned long long hash;
@property(readonly) Class superclass;

@end

@interface MFByteSet : NSObject <NSCopying, NSMutableCopying>
{
    char mySet[32];
}

+ (id)suspiciousCodepage1252ByteSet;
+ (id)nonASCIIByteSet;
+ (id)ASCIIByteSet;
+ (id)asciiWhitespaceSet;
- (id)mutableCopyWithZone:(struct _NSZone *)arg1;
- (id)copyWithZone:(struct _NSZone *)arg1;
- (id)_initWithSet:(const char *)arg1;
- (id)initWithBytes:(const void *)arg1 length:(unsigned int)arg2;
- (id)initWithCString:(const char *)arg1;
- (id)initWithRange:(struct _NSRange)arg1;
- (id)invertedSet;
- (_Bool)byteIsMember:(BOOL)arg1;

@end

@interface MFConditionLock : NSConditionLock <MFLockObject>
{
    NSString *_name;
    id _delegate;
}

+ (void)initialize;
- (void)dealloc;
- (id)description;
- (void)unlockWithCondition:(long long)arg1;
- (void)unlock;
- (_Bool)lockWhenCondition:(long long)arg1 beforeDate:(id)arg2;
- (_Bool)lockBeforeDate:(id)arg1;
- (_Bool)isLockedByMe;
- (id)initWithName:(id)arg1 condition:(long long)arg2 andDelegate:(id)arg3;
- (id)initWithName:(id)arg1 andDelegate:(id)arg2;
- (id)init;

@end

@interface MFNullDataConsumer : NSObject <MFDataConsumer>
{
}

- (void)done;
@property(readonly, copy) NSString *description;
- (long long)appendData:(id)arg1;

// Remaining properties
@property(readonly, copy) NSString *debugDescription;
@property(readonly) unsigned long long hash;
@property(readonly) Class superclass;

@end

@interface MFCountingDataConsumer : MFNullDataConsumer
{
    unsigned long long _count;
}

@property(readonly, nonatomic) unsigned long long count; // @synthesize count=_count;
- (long long)appendData:(id)arg1;

@end

@interface MFData : NSData <NSCopying, NSMutableCopying>
{
    NSData *_internal;
    NSString *_path;
    NSData *_parent;
    _Bool _subdata;
}

+ (void)setDefaultMappingThresholdInBytes:(unsigned long long)arg1;
- (_Bool)mf_immutable;
- (_Bool)writeToURL:(id)arg1 options:(unsigned long long)arg2 error:(id *)arg3;
- (_Bool)writeToFile:(id)arg1 options:(unsigned long long)arg2 error:(id *)arg3;
- (_Bool)writeToURL:(id)arg1 atomically:(_Bool)arg2;
- (_Bool)writeToFile:(id)arg1 atomically:(_Bool)arg2;
- (id)data;
- (id)_initWithRange:(struct _NSRange)arg1 from:(id)arg2 retainingParent:(_Bool)arg3;
- (id)subdataWithRange:(struct _NSRange)arg1;
- (const void *)bytes;
- (unsigned long long)length;
- (void)dealloc;
- (id)mutableCopyWithZone:(struct _NSZone *)arg1;
- (id)copyWithZone:(struct _NSZone *)arg1;
- (id)initWithImmutableData:(id)arg1;
- (id)initWithData:(id)arg1;
- (id)_initWithData:(id)arg1 maybeMutable:(_Bool)arg2;
- (id)initWithContentsOfFile:(id)arg1;
- (id)initWithContentsOfFile:(id)arg1 options:(unsigned long long)arg2 error:(id *)arg3;
- (id)initWithContentsOfMappedFile:(id)arg1;
- (id)initWithContentsOfURL:(id)arg1;
- (id)initWithContentsOfURL:(id)arg1 options:(unsigned long long)arg2 error:(id *)arg3;
- (id)initWithBytesNoCopy:(void *)arg1 length:(unsigned long long)arg2 freeWhenDone:(_Bool)arg3;
- (id)initWithBytesNoCopy:(void *)arg1 length:(unsigned long long)arg2;
- (id)initWithBytes:(const void *)arg1 length:(unsigned long long)arg2;
- (id)_initWithFile:(id)arg1;
- (id)init;

@end

@interface MFMessageStore : NSObject <NSCopying>
{
    NSMutableSet *_uniqueStrings;
    MFMessageStoreObjectCaches *objectCaches;
    MFMessageStoreIntKeyCaches *intKeyCaches;
}

+ (void)setDefaultMessageHeadersClass:(Class)arg1;
+ (Class)classForMimePart;
+ (Class)headersClass;
@property(retain, nonatomic) MFMessageStoreIntKeyCaches *intKeyCaches; // @synthesize intKeyCaches;
@property(retain, nonatomic) MFMessageStoreObjectCaches *objectCaches; // @synthesize objectCaches;
- (id)additionalHeadersForForwardOfMessage:(id)arg1;
- (id)additionalHeadersForReplyOfMessage:(id)arg1;
- (void)setMessageClass:(Class)arg1;
- (_Bool)wantsLineEndingConversionForMIMEPart:(id)arg1;
- (void)setNumberOfAttachments:(unsigned int)arg1 isSigned:(_Bool)arg2 isEncrypted:(_Bool)arg3 forMessage:(id)arg4;
- (_Bool)hasCompleteDataForMimePart:(id)arg1;
- (id)bodyDataForMessage:(id)arg1 isComplete:(_Bool *)arg2 isPartial:(_Bool *)arg3 downloadIfNecessary:(_Bool)arg4;
- (id)_fetchBodyDataForMessage:(id)arg1 andHeaderDataIfReadilyAvailable:(id *)arg2 downloadIfNecessary:(_Bool)arg3 partial:(_Bool *)arg4;
- (void)_flushAllCaches;
- (id)_cachedBodyDataContainerForMessage:(id)arg1 valueIfNotPresent:(id)arg2;
- (id)_cachedHeadersForMessage:(id)arg1 valueIfNotPresent:(id)arg2;
- (id)_cachedBodyForMessage:(id)arg1 valueIfNotPresent:(id)arg2;
- (id)_cachedBodyDataForMessage:(id)arg1 valueIfNotPresent:(id)arg2;
- (id)_cachedHeaderDataForMessage:(id)arg1 valueIfNotPresent:(id)arg2;
- (id)bestAlternativeForPart:(id)arg1;
- (id)defaultAlternativeForPart:(id)arg1;
- (id)decryptedTopLevelPartForPart:(id)arg1;
- (_Bool)dataForMimePart:(id)arg1 inRange:(struct _NSRange)arg2 withConsumer:(id)arg3 downloadIfNecessary:(_Bool)arg4;
- (_Bool)dataForMimePart:(id)arg1 inRange:(struct _NSRange)arg2 isComplete:(_Bool *)arg3 withConsumer:(id)arg4 downloadIfNecessary:(_Bool)arg5 didDownload:(_Bool *)arg6;
- (id)dataForMimePart:(id)arg1 inRange:(struct _NSRange)arg2 isComplete:(_Bool *)arg3 downloadIfNecessary:(_Bool)arg4 didDownload:(_Bool *)arg5;
- (id)uniquedString:(id)arg1;
- (id)fullBodyDataForMessage:(id)arg1 andHeaderDataIfReadilyAvailable:(id *)arg2 isComplete:(_Bool *)arg3 downloadIfNecessary:(_Bool)arg4 didDownload:(_Bool *)arg5;
- (id)bodyForMessage:(id)arg1 fetchIfNotAvailable:(_Bool)arg2 updateFlags:(_Bool)arg3;
- (id)_bodyForMessage:(id)arg1 fetchIfNotAvailable:(_Bool)arg2 updateFlags:(_Bool)arg3;
- (_Bool)bodyFetchRequiresNetworkActivity;
@property(copy, nonatomic) NSString *storagePath;
- (id)_setOrGetBody:(id)arg1 forMessage:(id)arg2 updateFlags:(_Bool)arg3;
- (id)headersForMessage:(id)arg1 fetchIfNotAvailable:(_Bool)arg2;
- (id)headerDataForMessage:(id)arg1 downloadIfNecessary:(_Bool)arg2;
- (id)copyWithZone:(struct _NSZone *)arg1;
- (void)_flushAllMessageData;
- (void)dealloc;
- (id)init;

@end

@interface MFDataMessageStore : MFMessageStore
{
    NSData *_data;
    Class _messageClass;
    NSString *_storagePath;
}

- (id)mailboxUid;
- (id)storeData:(id)arg1 forMimePart:(id)arg2 isComplete:(_Bool)arg3;
- (id)_cachedBodyDataForMessage:(id)arg1 valueIfNotPresent:(id)arg2;
- (id)_cachedHeadersForMessage:(id)arg1 valueIfNotPresent:(id)arg2;
- (id)_cachedBodyForMessage:(id)arg1 valueIfNotPresent:(id)arg2;
- (id)bodyDataForMessage:(id)arg1 isComplete:(_Bool *)arg2 isPartial:(_Bool *)arg3 downloadIfNecessary:(_Bool)arg4;
- (_Bool)bodyFetchRequiresNetworkActivity;
- (id)headerDataForMessage:(id)arg1 downloadIfNecessary:(_Bool)arg2;
- (id)account;
- (id)message;
- (void)setMessageClass:(Class)arg1;
- (void)writeUpdatedMessageDataToDisk;
- (void)setStoragePath:(id)arg1;
- (id)storagePath;
- (id)storePath;
- (void)dealloc;
- (id)initWithData:(id)arg1;

@end

@interface MFEmailSet : NSMutableSet
{
    struct __CFSet *_set;
}

+ (id)set;
- (void)setSet:(id)arg1;
- (void)intersectSet:(id)arg1;
- (void)minusSet:(id)arg1;
- (void)unionSet:(id)arg1;
- (void)removeAllObjects;
- (void)removeObject:(id)arg1;
- (void)addObject:(id)arg1;
- (unsigned long long)countByEnumeratingWithState:(CDStruct_58648341 *)arg1 objects:(id *)arg2 count:(unsigned long long)arg3;
- (id)objectEnumerator;
- (id)allObjects;
- (id)allCommentedAddresses;
- (id)_generateAllObjectsFromSelector:(SEL)arg1;
- (_Bool)isEqualToSet:(id)arg1;
- (_Bool)isSubsetOfSet:(id)arg1;
- (_Bool)intersectsSet:(id)arg1;
- (id)member:(id)arg1;
- (unsigned long long)count;
- (id)copyWithZone:(struct _NSZone *)arg1;
- (id)mutableCopyWithZone:(struct _NSZone *)arg1;
- (void)dealloc;
- (void)_setupSetWithCapacity:(unsigned long long)arg1;
- (id)initWithCapacity:(unsigned long long)arg1;
- (id)init;

@end

@interface MFFuture : NSObject <MFFuture>
{
    NSConditionLock *_stateLock;
    id _result;
    NSError *_error;
    NSMutableArray *_completionBlocks;
}

+ (id)future;
- (void)_flushCompletionBlocks;
- (void)_addCompletionBlock:(CDUnknownBlockType)arg1;
- (void)addFailureBlock:(CDUnknownBlockType)arg1;
- (void)addSuccessBlock:(CDUnknownBlockType)arg1;
- (_Bool)_nts_isFinished;
- (_Bool)finishWithError:(id)arg1;
- (_Bool)finishWithResult:(id)arg1;
- (_Bool)finishWithResult:(id)arg1 error:(id)arg2;
- (void)didCancel;
- (_Bool)cancel;
@property(readonly, getter=isCancelled) _Bool cancelled;
@property(readonly, getter=isFinished) _Bool finished;
- (id)resultBeforeDate:(id)arg1 error:(id *)arg2;
- (id)resultWithTimeout:(double)arg1 error:(id *)arg2;
- (id)result:(id *)arg1;
- (void)dealloc;
- (id)init;

// Remaining properties
@property(readonly, copy) NSString *debugDescription;
@property(readonly, copy) NSString *description;
@property(readonly) unsigned long long hash;
@property(readonly) Class superclass;

@end

@interface MFHTMLParser : NSObject
{
}

+ (id)plainTextFromHTMLSnippet:(id)arg1;
+ (id)plainTextFromHTML:(id)arg1;
+ (id)plainTextFromHTML:(id)arg1 limit:(unsigned long long)arg2;
+ (id)plainTextFromHTML:(id)arg1 limit:(unsigned long long)arg2 preserveNewlines:(_Bool)arg3;

@end

@interface MFLineEndingConverterFilter : MFBaseFilterDataConsumer
{
    _Bool _lastCR;
}

- (void)done;
- (long long)appendData:(id)arg1;

@end

@interface MFLock : NSLock <MFLockObject>
{
    NSString *_name;
    id _delegate;
}

+ (void)initialize;
- (void)dealloc;
- (id)description;
- (void)unlock;
- (_Bool)lockBeforeDate:(id)arg1;
- (_Bool)tryLock;
- (void)lock;
- (_Bool)isLockedByMe;
- (id)initWithName:(id)arg1 andDelegate:(id)arg2;
- (id)init;

@end

@interface MFMessage : NSObject <NSCopying>
{
    MFMessageStore *_store;
    unsigned int _preferredEncoding;
    NSString *_senderAddressComment;
    unsigned int _dateSentInterval;
    unsigned int _dateReceivedInterval;
    unsigned long long _generationNumber;
    NSString *_subject;
    NSArray *_to;
    NSArray *_cc;
    NSArray *_bcc;
    NSArray *_sender;
    NSString *_contentType;
    long long _messageIDHeaderHash;
    long long _conversationID;
    NSString *_summary;
    NSString *_externalID;
    MFMimePart *_parentPart;
    NSURL *_messageURL;
    NSString *_cachedMessageIDHeader;
    unsigned int _calculatedAttachmentInfo:1;
    unsigned short _numberOfAttachments;
}

+ (void)setMessageClassForStore:(id)arg1;
+ (id)messageWithRFC822Data:(id)arg1 withParentPart:(id)arg2;
+ (id)messageWithRFC822Data:(id)arg1;
+ (Class)dataMessageStoreToUse;
@property(retain, nonatomic) MFMimePart *parentPart; // @synthesize parentPart=_parentPart;
- (id)additionalHeadersForForward;
- (id)additionalHeadersForReply;
- (_Bool)isLibraryMessage;
- (_Bool)canBeDeleted;
- (id)bestAlternativeInPart:(id)arg1;
- (id)defaultAlternativeInPart:(id)arg1;
- (long long)generationCompare:(id)arg1;
- (unsigned long long)generationNumber;
- (void)setGenerationNumber:(unsigned long long)arg1;
- (void)setNumberOfAttachments:(unsigned int)arg1;
- (void)setNumberOfAttachments:(unsigned int)arg1 isSigned:(_Bool)arg2 isEncrypted:(_Bool)arg3;
- (void)calculateAttachmentInfoFromBody:(id)arg1;
- (void)_calculateAttachmentInfoFromBody:(id)arg1;
- (id)dataPathForMimePart:(id)arg1;
- (_Bool)fetchDataForMimePart:(id)arg1 inRange:(struct _NSRange)arg2 withConsumer:(id)arg3 isComplete:(_Bool *)arg4 downloadIfNecessary:(_Bool)arg5;
- (id)dataForMimePart:(id)arg1 inRange:(struct _NSRange)arg2 isComplete:(_Bool *)arg3 downloadIfNecessary:(_Bool)arg4 didDownload:(_Bool *)arg5;
- (id)dataForMimePart:(id)arg1 inRange:(struct _NSRange)arg2 isComplete:(_Bool *)arg3;
- (id)dataForMimePart:(id)arg1;
- (id)headerDataDownloadIfNecessary:(_Bool)arg1;
- (id)headerData;
- (id)bodyDataIsComplete:(_Bool *)arg1 isPartial:(_Bool *)arg2 downloadIfNecessary:(_Bool)arg3;
- (id)bodyDataIsComplete:(_Bool *)arg1 isPartial:(_Bool *)arg2;
- (id)bodyDataIsComplete:(_Bool *)arg1;
- (id)bodyData;
- (id)persistentID;
- (id)attachmentStorageLocation;
- (id)path;
- (unsigned int)uid;
- (id)remoteID;
- (void)setMessageInfoFromMessage:(id)arg1;
- (void)setSubject:(id)arg1 to:(id)arg2 cc:(id)arg3 bcc:(id)arg4 sender:(id)arg5 dateReceived:(double)arg6 dateSent:(double)arg7 messageIDHash:(long long)arg8 conversationIDHash:(long long)arg9 summary:(id)arg10 withOptions:(unsigned int)arg11;
- (void)setMessageInfo:(id)arg1 to:(id)arg2 cc:(id)arg3 bcc:(id)arg4 sender:(id)arg5 dateReceivedTimeIntervalSince1970:(double)arg6 dateSentTimeIntervalSince1970:(double)arg7 messageIDHash:(long long)arg8 conversationID:(long long)arg9 summary:(id)arg10;
- (id)uniqueArray:(id)arg1 withStore:(id)arg2;
- (id)summary;
- (void)setExternalID:(id)arg1;
- (id)externalID;
- (void)setConversationID:(long long)arg1;
- (void)setMessageIDHash:(long long)arg1;
- (long long)conversationID;
- (void)setBcc:(id)arg1;
- (id)bccIfCached;
- (id)bcc;
- (void)setCc:(id)arg1;
- (id)ccIfCached;
- (id)cc;
- (void)setTo:(id)arg1;
- (id)toIfCached;
- (id)to;
- (id)senderAddressComment;
- (void)setSender:(id)arg1;
- (id)firstSender;
- (id)sendersIfCached;
- (id)senders;
- (void)setContentType:(id)arg1;
- (id)contentType;
- (void)setDateSentTimeIntervalSince1970:(double)arg1;
- (double)dateSentAsTimeIntervalSince1970;
- (_Bool)needsDateReceived;
- (double)dateReceivedAsTimeIntervalSince1970;
- (void)setDateReceivedTimeIntervalSince1970:(double)arg1;
- (id)dateSent;
- (id)dateReceived;
- (void)setSubject:(id)arg1;
- (id)subjectIfCached;
- (id)subject;
- (void)loadCachedHeaderValuesFromHeaders:(id)arg1;
- (void)_setDateSentFromHeaders:(id)arg1;
- (void)_setDateReceivedFromHeaders:(id)arg1;
- (id)_copyDateFromDateHeaderInHeaders:(id)arg1;
- (id)_copyDateFromReceivedHeadersInHeaders:(id)arg1;
- (_Bool)_doesDateAppearToBeSane:(id)arg1;
- (void)setPreferredEncoding:(unsigned int)arg1;
- (unsigned int)preferredEncoding;
- (_Bool)calculatedNumberOfAttachments;
- (unsigned short)numberOfAttachments;
- (_Bool)isMessageContentsLocallyAvailable;
- (long long)_messageIDHeaderHashIvar;
- (id)messageIDHeaderInFortyBytesOrLess;
- (void)setMessageIDHeader:(id)arg1;
- (id)messageIDHeader;
- (long long)messageIDHash;
- (id)messageURL;
- (void)setMessageURL:(id)arg1;
- (id)messageID;
- (id)preferredEmailAddressToReplyWith;
- (unsigned long long)messageSize;
- (void)dealloc;
- (id)dataConsumerForMimePart:(id)arg1;
- (void)setMessageData:(id)arg1 isPartial:(_Bool)arg2;
- (id)messageData;
- (id)messageDataIsComplete:(_Bool *)arg1 downloadIfNecessary:(_Bool)arg2;
- (_Bool)messageData:(id *)arg1 messageSize:(unsigned long long *)arg2 isComplete:(_Bool *)arg3 downloadIfNecessary:(_Bool)arg4;
- (id)messageBodyIfAvailableUpdatingFlags:(_Bool)arg1;
- (id)messageBodyUpdatingFlags:(_Bool)arg1;
- (id)messageBodyIfAvailable;
- (id)messageBody;
- (id)headersIfAvailable;
- (id)headers;
- (void)setMessageStore:(id)arg1;
- (id)messageStore;
- (id)copyWithZone:(struct _NSZone *)arg1;
- (id)init;

@end

@interface MFMessageBody : NSObject
{
    MFMessage *_message;
}

- (void)dealloc;
- (id)textHtmlPart;
- (id)attachmentURLs;
- (id)attachments;
- (unsigned int)numberOfAttachmentsSigned:(_Bool *)arg1 encrypted:(_Bool *)arg2;
- (id)message;
- (void)setMessage:(id)arg1;
- (_Bool)isRich;
- (_Bool)isHTML;
- (id)htmlContent;
- (id)contentToOffset:(unsigned long long)arg1 resultOffset:(unsigned long long *)arg2 asHTML:(_Bool)arg3 isComplete:(_Bool *)arg4;
- (id)htmlContentToOffset:(unsigned long long)arg1 resultOffset:(unsigned long long *)arg2;
- (id)contentToOffset:(unsigned long long)arg1 resultOffset:(unsigned long long *)arg2 asHTML:(_Bool)arg3;
- (id)rawData;

@end

@interface MFMessageDataContainer : NSObject
{
    NSData *_data;
    _Bool _partial;
    _Bool _incomplete;
}

- (void)dealloc;
- (id)data;
- (id)initWithData:(id)arg1;
- (id)initWithData:(id)arg1 partial:(_Bool)arg2 incomplete:(_Bool)arg3;

@end

@interface MFMessageFileWrapper : NSObject
{
    NSString *_path;
    NSString *_filename;
    NSString *_preferredFilename;
    NSData *_data;
    NSMutableDictionary *_attributes;
    NSString *_linkDestination;
    NSString *_url;
    int _type;
}

- (id)description;
- (void)dealloc;
- (id)fileAttributes;
- (void)setFileAttributes:(id)arg1;
- (id)regularFileContents;
- (id)symbolicLinkDestination;
- (id)fileWrappers;
- (_Bool)isDirectory;
- (_Bool)isRegularFile;
- (_Bool)isSymbolicLink;
- (id)filename;
- (void)setFilename:(id)arg1;
- (id)preferredFilename;
- (void)setPreferredFilename:(id)arg1;
- (id)initSymbolicLinkWithDestination:(id)arg1;
- (id)initRegularFileWithContents:(id)arg1;
- (void)setURL:(id)arg1;
- (id)URL;
- (_Bool)isPlaceholder;
- (void)setPath:(id)arg1;
- (id)path;
- (id)initWithPath:(id)arg1;
- (_Bool)isUnzippableFile;
- (_Bool)isPDFFile;
- (_Bool)isImageFile;
- (void)_isImage:(_Bool *)arg1 orPDFFile:(_Bool *)arg2;
- (id)fileProtection;
- (void)setFileProtection:(id)arg1;
- (id)icsRepresentation;
- (void)setICSRepresentation:(id)arg1;
- (id)meetingStorePersistentID;
- (void)setMeetingStorePersistentID:(id)arg1;
- (id)eventUniqueID;
- (void)setEventUniqueID:(id)arg1;
- (id)messageID;
- (void)setMessageID:(id)arg1;
- (id)contentID;
- (void)setContentID:(id)arg1;
- (id)inferredMimeType;
- (id)mimeType;
- (void)setMimeType:(id)arg1;
- (unsigned short)finderFlags;
- (void)setFinderFlags:(unsigned short)arg1;
- (unsigned int)creator;
- (void)setCreator:(unsigned int)arg1;
- (unsigned int)type;
- (void)setType:(unsigned int)arg1;

@end

@interface MFMessageHeaders : NSObject <NSCopying>
{
    NSData *_data;
    unsigned int _preferredEncoding;
}

+ (id)uniqueHeaderKeyStringForString:(id)arg1;
+ (id)encodedDataForAddressList:(id)arg1 splittingAtLength:(unsigned long long)arg2 firstLineBuffer:(unsigned long long)arg3;
+ (id)addressListFromEncodedString:(id)arg1;
+ (id)copyAddressListFromEncodedData:(id)arg1 encoding:(unsigned int)arg2;
+ (_Bool)shouldDecodeHeaderForKey:(id)arg1;
+ (_Bool)isStructuredHeaderKey:(id)arg1;
+ (id)basicHeaders;
- (id)description;
- (void)appendHeaderData:(id)arg1 andRecipients:(id)arg2;
- (id)encodedHeaders;
- (_Bool)messageIsFromEntourage;
- (id)_decodeHeaderKeysFromData:(id)arg1;
- (id)copyFirstStringValueForKey:(id)arg1;
- (id)copyFirstNonDecodedHeaderForKey:(id)arg1;
- (id)copyFirstHeaderForKey:(id)arg1;
- (id)firstHeaderForKey:(id)arg1;
- (id)references;
- (id)copyAddressListForReplyTo;
- (id)copyAddressListForResentFrom;
- (id)copyAddressListForBcc;
- (id)copyAddressListForCc;
- (id)copyAddressListForTo;
- (id)firstSenderAddress;
- (id)copyAddressListForSender;
- (id)_copyAddressListForKey:(id)arg1;
- (id)headersForKey:(id)arg1;
- (id)copyHeadersForKey:(id)arg1;
- (_Bool)hasHeaderForKey:(id)arg1;
- (id)_headerValueForKey:(id)arg1;
- (id)_copyHeaderValueForKey:(id)arg1;
- (id)_headerValueForKey:(id)arg1 offset:(unsigned long long *)arg2;
- (id)_copyHeaderValueForKey:(id)arg1 offset:(unsigned long long *)arg2 decoded:(_Bool)arg3;
- (id)copyDecodedStringFromHeaderData:(id)arg1 withRange:(struct _NSRange)arg2;
- (unsigned int)_contentTypeEncoding;
- (id)_capitalizedKeyForKey:(id)arg1;
- (void)_setCapitalizedKey:(id)arg1 forKey:(id)arg2;
- (id)allHeaderKeys;
- (_Bool)_isStructuredHeaderKey:(id)arg1;
- (void)setPreferredEncoding:(unsigned int)arg1;
- (unsigned int)preferredEncoding;
- (id)headerData;
- (id)mutableCopy;
- (void)dealloc;
- (id)copyWithZone:(struct _NSZone *)arg1;
- (id)initWithHeaderData:(id)arg1 encoding:(unsigned int)arg2;
- (id)init;

@end

@interface MFMessageStoreIntKeyCaches : NSObject
{
    NSMapTable *headerDataCache;
    NSMapTable *headerCache;
    NSMapTable *bodyDataCache;
    NSMapTable *bodyCache;
}

@property(retain, nonatomic) NSMapTable *bodyCache; // @synthesize bodyCache;
@property(retain, nonatomic) NSMapTable *bodyDataCache; // @synthesize bodyDataCache;
@property(retain, nonatomic) NSMapTable *headerCache; // @synthesize headerCache;
@property(retain, nonatomic) NSMapTable *headerDataCache; // @synthesize headerDataCache;
- (void)dealloc;
- (void)flush;
- (void)setCache:(id)arg1 forType:(unsigned long long)arg2;
- (id)copyCacheForType:(unsigned long long)arg1;

@end

@interface MFMessageStoreObjectCaches : NSObject
{
    NSMutableArray *headerDataCache;
    NSMutableArray *headerCache;
    NSMutableArray *bodyDataCache;
    NSMutableArray *bodyCache;
}

@property(retain, nonatomic) NSMutableArray *bodyCache; // @synthesize bodyCache;
@property(retain, nonatomic) NSMutableArray *bodyDataCache; // @synthesize bodyDataCache;
@property(retain, nonatomic) NSMutableArray *headerCache; // @synthesize headerCache;
@property(retain, nonatomic) NSMutableArray *headerDataCache; // @synthesize headerDataCache;
- (void)dealloc;
- (void)flush;
- (void)setCache:(id)arg1 forType:(unsigned long long)arg2;
- (id)copyCacheForType:(unsigned long long)arg1;

@end

@interface MFMessageTextAttachment : NSObject
{
    NSMutableDictionary *_cache;
}

+ (unsigned long long)precedenceLevel;
- (id)persistentUniqueIdentifier;
- (id)fileWrapperForcingDownload:(_Bool)arg1;
- (void)inlineDisplayData:(id *)arg1 mimeType:(id *)arg2;
- (_Bool)isPlaceholder;
- (void)download;
- (_Bool)needsRedownload;
- (_Bool)hasBeenDownloaded;
- (unsigned int)approximateSize;
@property(retain, nonatomic) MFMessageFileWrapper *fileWrapper;
- (void)setCachedValue:(id)arg1 forKey:(id)arg2;
- (id)cachedValueForKey:(id)arg1;
- (id)description;
- (void)dealloc;
- (id)initWithWrapper:(id)arg1;
- (id)init;
- (void)setMimePart:(id)arg1;
- (id)mimePart;
- (id)textEncodingNameForData:(id)arg1 mimeType:(id)arg2;
- (id)textEncodingGuess;
- (_Bool)shouldDownloadAttachmentOnDisplay;

@end

@interface MFMimeBody : MFMessageBody
{
    MFMimePart *_topLevelPart;
    unsigned int _preferredAlternative:16;
    unsigned int _numAlternatives:16;
}

+ (id)copyNewMimeBoundary;
+ (id)versionString;
- (id)textHtmlPart;
- (id)preferredBodyPart;
- (long long)preferredAlternative;
- (void)setPreferredAlternative:(long long)arg1;
- (long long)numberOfAlternatives;
- (unsigned long long)totalTextSize;
- (id)contentToOffset:(unsigned long long)arg1 resultOffset:(unsigned long long *)arg2 asHTML:(_Bool)arg3 isComplete:(_Bool *)arg4;
- (_Bool)isRich;
- (_Bool)isHTML;
- (id)attachmentURLs;
- (id)attachments;
- (unsigned int)numberOfAttachmentsSigned:(_Bool *)arg1 encrypted:(_Bool *)arg2;
- (id)firstPartPassingTest:(CDUnknownBlockType)arg1;
- (id)partWithNumber:(id)arg1;
- (id)mimeSubtype;
- (id)mimeType;
- (void)setTopLevelPart:(id)arg1;
- (id)topLevelPart;
- (void)dealloc;
- (id)init;

@end

@interface MFMimeCharset : NSObject
{
    unsigned int _encoding;
    NSString *_primaryLanguage;
    NSString *_charsetName;
    unsigned int _coversLargeUnicodeSubset:1;
    unsigned int _useBase64InHeaders:1;
    unsigned int _canBeUsedForOutgoingMessages:1;
}

+ (id)preferredMimeCharset;
+ (id)charsetForEncoding:(unsigned int)arg1;
+ (id)allMimeCharsets;
+ (id)allMimeCharsets:(_Bool)arg1;
- (id)description;
- (id)primaryLanguage;
- (id)displayName;
- (_Bool)useBase64InHeaders;
- (_Bool)coversLargeUnicodeSubset;
- (_Bool)canBeUsedForOutgoingMessages;
- (id)charsetName;
- (unsigned int)encoding;
- (void)dealloc;
- (void)_setPrimaryLanguage:(id)arg1;
- (id)initWithEncoding:(unsigned int)arg1;

@end

@interface MFMimePart : NSObject
{
    NSString *_type;
    NSString *_subtype;
    NSMutableDictionary *_bodyParameters;
    NSString *_contentTransferEncoding;
    NSMutableDictionary *_otherIvars;
    struct _NSRange _range;
    MFWeakReferenceHolder *_parent;
    MFWeakReferenceHolder *_body;
    MFMimePart *_nextPart;
    NSURL *_partURL;
    NSURL *_parentPartURL;
    MFPartialNetworkDataConsumer *_partialDataConsumer;
    NSData *_fullData;
    MFWeakReferenceHolder *_decodedData;
}

+ (_Bool)isRecognizedClassForContent:(id)arg1;
+ (Class)attachmentClass;
+ (_Bool)parseContentTypeHeader:(id)arg1 type:(id *)arg2 subtype:(id *)arg3;
+ (_Bool)parseContentTypeHeader:(id)arg1 type:(id *)arg2 subtype:(id *)arg3 info:(id *)arg4;
+ (void)initialize;
- (void)setIsGenerated:(_Bool)arg1;
- (_Bool)isGenerated;
- (id)chosenAlternativePart;
- (id)partURL;
- (id)attachmentURLs;
- (id)attachments;
- (void)getNumberOfAttachments:(unsigned int *)arg1 isSigned:(_Bool *)arg2 isEncrypted:(_Bool *)arg3;
- (unsigned int)numberOfAttachments;
- (id)contentToOffset:(unsigned long long)arg1 resultOffset:(unsigned long long *)arg2 downloadIfNecessary:(_Bool)arg3 asHTML:(_Bool)arg4;
- (id)contentToOffset:(unsigned long long)arg1 resultOffset:(unsigned long long *)arg2 asHTML:(_Bool)arg3;
- (id)contentToOffset:(unsigned long long)arg1 resultOffset:(unsigned long long *)arg2 downloadIfNecessary:(_Bool)arg3 asHTML:(_Bool)arg4 isComplete:(_Bool *)arg5;
- (_Bool)_shouldContinueDecodingProcess;
- (id)bodyDataForcingDownload:(_Bool)arg1;
- (id)bodyDataToOffset:(unsigned long long)arg1 resultOffset:(unsigned long long *)arg2 downloadIfNecessary:(_Bool)arg3;
- (id)copyBodyDataToOffset:(unsigned long long)arg1 resultOffset:(unsigned long long *)arg2 downloadIfNecessary:(_Bool)arg3;
- (id)copyBodyDataToOffset:(unsigned long long)arg1 resultOffset:(unsigned long long *)arg2;
- (id)copyBodyDataToOffset:(unsigned long long)arg1 resultOffset:(unsigned long long *)arg2 downloadIfNecessary:(_Bool)arg3 isComplete:(_Bool *)arg4;
- (void)_ensureBodyDataToOffset:(unsigned long long)arg1 resultOffset:(unsigned long long *)arg2 downloadIfNecessary:(_Bool)arg3 isComplete:(_Bool *)arg4 decoded:(id *)arg5;
- (_Bool)_hasCompleteBodyDataToOffset:(unsigned long long)arg1;
- (id)storeData:(id)arg1 inMessage:(id)arg2 isComplete:(_Bool)arg3;
- (id)fileWrapper;
- (id)fileWrapperForcingDownload:(_Bool)arg1;
- (void)download;
- (void)configureFileWrapper:(id)arg1;
- (id)fileWrapperForDecodedObject:(id)arg1 withFileData:(id *)arg2;
- (void)clearCachedDescryptedMessageBody;
- (id)decryptedMessageBodyIsEncrypted:(_Bool *)arg1 isSigned:(_Bool *)arg2;
- (id)textHtmlPart;
- (id)signedData;
- (id)alternativeAtIndex:(long long)arg1;
- (long long)numberOfAlternatives;
- (id)startPart;
- (unsigned long long)totalTextSize;
- (void)_setDecryptedMessageBody:(id)arg1 isEncrypted:(_Bool)arg2 isSigned:(_Bool)arg3;
- (void)_setRFC822DecodedMessageBody:(id)arg1;
- (id)rfc822DecodedMessageBody;
- (_Bool)usesKnownSignatureProtocol;
- (_Bool)isHTML;
- (_Bool)isRich;
- (_Bool)isAttachment;
- (_Bool)shouldConsiderInlineOverridingExchangeServer;
- (id)_partThatIsAttachment;
- (_Bool)isReadableText;
- (unsigned int)approximateRawSize;
- (unsigned int)textEncoding;
- (id)attachmentFilename;
- (id)description;
- (void)setMimeBody:(id)arg1;
- (id)mimeBody;
- (id)decodedDataForData:(id)arg1;
- (void)setRange:(struct _NSRange)arg1;
- (struct _NSRange)range;
- (void)addSubpart:(id)arg1;
- (void)setSubparts:(id)arg1;
- (id)subpartAtIndex:(long long)arg1;
- (id)subparts;
- (id)nextSiblingPart;
- (id)firstChildPart;
- (id)parentPart;
- (void)setLanguages:(id)arg1;
- (id)languages;
- (void)setContentLocation:(id)arg1;
- (id)contentLocation;
- (void)setContentID:(id)arg1;
- (id)contentID;
- (void)setContentDescription:(id)arg1;
- (id)contentDescription;
- (id)dispositionParameterKeys;
- (void)setDispositionParameter:(id)arg1 forKey:(id)arg2;
- (id)dispositionParameterForKey:(id)arg1;
- (void)setDisposition:(id)arg1;
- (id)disposition;
- (void)setContentTransferEncoding:(id)arg1;
- (id)contentTransferEncoding;
- (id)preservedHeaderValueForKey:(id)arg1;
- (id)bodyParameterKeys;
- (void)setBodyParameter:(id)arg1 forKey:(id)arg2;
- (id)bodyParameterForKey:(id)arg1;
- (void)setSubtype:(id)arg1;
- (id)subtype;
- (void)setType:(id)arg1;
- (id)type;
- (id)init;
- (void)dealloc;
- (_Bool)parseMimeBodyDownloadIfNecessary:(_Bool)arg1;
- (_Bool)parseMimeBody;
- (id)partNumber;
- (_Bool)parseIMAPPropertyList:(id)arg1;
- (void)decodeIfNecessary;
- (id)bodyData;
- (id)bodyDataToOffset:(unsigned long long)arg1 resultOffset:(unsigned long long *)arg2;
- (id)contentsForTextSystem;
- (id)contentsForTextSystemForcingDownload:(_Bool)arg1;
- (id)contentsForTextSystemToOffset:(unsigned long long)arg1 resultOffset:(unsigned long long *)arg2;
- (id)contentsForTextSystemToOffset:(unsigned long long)arg1 resultOffset:(unsigned long long *)arg2 downloadIfNecessary:(_Bool)arg3;
- (id)contentsForTextSystemToOffset:(unsigned long long)arg1 resultOffset:(unsigned long long *)arg2 downloadIfNecessary:(_Bool)arg3 asHTML:(_Bool)arg4;
- (_Bool)hasContents;
- (id)contentsForTextSystemToOffset:(unsigned long long)arg1 resultOffset:(unsigned long long *)arg2 downloadIfNecessary:(_Bool)arg3 asHTML:(_Bool)arg4 isComplete:(_Bool *)arg5;
- (void)_contents:(id *)arg1 toOffset:(unsigned long long)arg2 resultOffset:(unsigned long long *)arg3 downloadIfNecessary:(_Bool)arg4 asHTML:(_Bool)arg5 isComplete:(_Bool *)arg6;
- (id)decodeText;
- (id)_fullMimeTypeEvenInsideAppleDouble;
- (id)decodeApplicationOctet_stream;
- (id)decodeApplicationZip;
- (id)decodeMultipart;
- (id)decodeMultipartAlternative;
- (id)decodeMultipartRelated;

@end

@interface MFMimeTextAttachment : MFMessageTextAttachment
{
}

- (id)persistentUniqueIdentifier;
- (unsigned int)approximateSize;
- (_Bool)hasBeenDownloaded;
- (void)download;
- (id)_displayedMimePart;
- (id)initWithMimePart:(id)arg1;

@end

@interface MFMutableByteSet : MFByteSet
{
}

- (void)invert;
- (void)removeBytesInRange:(struct _NSRange)arg1;
- (void)addBytesInRange:(struct _NSRange)arg1;

@end

@interface MFMutableData : NSMutableData <NSCopying, NSMutableCopying>
{
    void *_bytes;
    unsigned long long _length;
    unsigned long long _mappedLength;
    unsigned long long _capacity;
    unsigned long long _threshold;
    char *_path;
    int _fd;
    unsigned long long _flushFrom;
    _Bool _flush;
    _Bool _immutable;
    _Bool _vm;
}

- (_Bool)mf_immutable;
- (void)_mapMutableData:(_Bool)arg1;
- (void)_flushToDisk:(unsigned long long)arg1 capacity:(unsigned long long)arg2;
- (_Bool)writeToURL:(id)arg1 options:(unsigned long long)arg2 error:(id *)arg3;
- (_Bool)writeToFile:(id)arg1 options:(unsigned long long)arg2 error:(id *)arg3;
- (_Bool)writeToURL:(id)arg1 atomically:(_Bool)arg2;
- (_Bool)writeToFile:(id)arg1 atomically:(_Bool)arg2;
- (void)mf_makeImmutable;
- (void)setMappingThreshold:(unsigned int)arg1;
- (void)setLength:(unsigned long long)arg1;
- (id)subdataWithRange:(struct _NSRange)arg1;
- (void)appendData:(id)arg1;
- (void)appendBytes:(const void *)arg1 length:(unsigned long long)arg2;
- (void *)mutableBytes;
- (const void *)bytes;
- (unsigned long long)length;
- (void)dealloc;
- (id)mutableCopyWithZone:(struct _NSZone *)arg1;
- (id)copyWithZone:(struct _NSZone *)arg1;
- (id)initWithLength:(unsigned long long)arg1;
- (id)initWithCapacity:(unsigned long long)arg1;
- (id)initWithData:(id)arg1;
- (id)initWithContentsOfFile:(id)arg1;
- (id)initWithContentsOfFile:(id)arg1 options:(unsigned long long)arg2 error:(id *)arg3;
- (id)initWithContentsOfMappedFile:(id)arg1;
- (id)initWithContentsOfURL:(id)arg1;
- (id)initWithContentsOfURL:(id)arg1 options:(unsigned long long)arg2 error:(id *)arg3;
- (id)initWithBytesNoCopy:(void *)arg1 length:(unsigned long long)arg2 freeWhenDone:(_Bool)arg3;
- (id)initWithBytesNoCopy:(void *)arg1 length:(unsigned long long)arg2;
- (id)_initWithFd:(int)arg1 path:(id)arg2 mutable:(_Bool)arg3;
- (id)initWithBytes:(const void *)arg1 length:(unsigned long long)arg2;
- (id)init;

@end

@interface MFMutableFilterDataConsumer : MFBaseFilterDataConsumer <MFGuaranteedCollectingDataConsumer>
{
    id <MFGuaranteedCollectingDataConsumer> _mainConsumer;
    MFLock *_consumerLock;
    _Bool _isDone;
}

- (void)done;
- (id)data;
- (long long)appendData:(id)arg1;
- (void)addDataConsumer:(id)arg1;
- (void)dealloc;
- (id)initWithMainConsumer:(id)arg1;

// Remaining properties
@property(readonly, copy) NSString *debugDescription;
@property(readonly, copy) NSString *description;
@property(readonly) unsigned long long hash;
@property(readonly) Class superclass;

@end

@interface MFMutableMessageHeaders : MFMessageHeaders
{
    NSMutableDictionary *_headersAdded;
    NSMutableArray *_headersRemoved;
}

- (id)description;
- (void)stripInternalHeaders;
- (void)setReferences:(id)arg1;
- (void)setAddressListForBcc:(id)arg1;
- (void)setAddressListForCc:(id)arg1;
- (void)setAddressListForTo:(id)arg1;
- (void)setAddressListForSender:(id)arg1;
- (void)setAddressList:(id)arg1 forKey:(id)arg2;
- (id)encodedHeaders;
- (id)_copyHeaderValueForKey:(id)arg1 offset:(unsigned long long *)arg2 decoded:(_Bool)arg3;
- (id)_copyHeaderValueForKey:(id)arg1;
- (void)_appendAddedHeaderKey:(id)arg1 value:(id)arg2 toData:(id)arg3;
- (void)_appendHeaderKey:(id)arg1 value:(id)arg2 toData:(id)arg3;
- (void)mergeHeaders:(id)arg1;
- (void)setHeader:(id)arg1 forKey:(id)arg2;
- (void)removeHeaderForKey:(id)arg1;
- (id)firstHeaderForKey:(id)arg1;
- (id)_headerValueForKey:(id)arg1;
- (_Bool)hasHeaderForKey:(id)arg1;
- (id)allHeaderKeys;
- (void)dealloc;
- (id)mutableCopy;

@end

@interface MFPartialNetworkDataConsumer : NSObject <MFDataConsumer>
{
    id <MFGuaranteedCollectingDataConsumer> _rawDataConsumer;
    NSData *_strippedData;
    unsigned long long _length;
    unsigned int _seenNetworkLineEndings:1;
}

- (void)purge;
- (id)copyDataWithUnixLineEndings;
- (id)data;
- (unsigned long long)length;
- (void)done;
- (long long)appendData:(id)arg1;
- (void)dealloc;
- (id)init;

// Remaining properties
@property(readonly, copy) NSString *debugDescription;
@property(readonly, copy) NSString *description;
@property(readonly) unsigned long long hash;
@property(readonly) Class superclass;

@end

@interface MFPlaceholderFileWrapper : MFMessageFileWrapper
{
}

- (_Bool)isPlaceholder;

@end

@interface MFPriorityDesignator : NSObject
{
    int _priority;
}

+ (id)currentDesignator;
- (void)setPriority:(int)arg1;
- (int)priority;

@end

@interface MFProgressFilterDataConsumer : MFBaseFilterDataConsumer
{
    unsigned long long _expectedSize;
    unsigned long long _currentBytes;
    CDUnknownBlockType _progressBlock;
}

@property(readonly) unsigned long long expectedSize; // @synthesize expectedSize=_expectedSize;
@property(copy, nonatomic) CDUnknownBlockType progressBlock; // @synthesize progressBlock=_progressBlock;
- (long long)appendData:(id)arg1;
- (void)dealloc;
- (id)initWithConsumers:(id)arg1 expectedSize:(unsigned long long)arg2;
- (id)initWithConsumer:(id)arg1 expectedSize:(unsigned long long)arg2;

@end

@interface MFQuotedPrintableDecoder : MFBaseFilterDataConsumer
{
    unsigned char _lastEncoded;
    unsigned long long _required;
    _Bool _forTextPart;
    _Bool _badlyEncoded;
}

@property(nonatomic) _Bool forTextPart; // @synthesize forTextPart=_forTextPart;
- (void)done;
- (long long)appendData:(id)arg1;

@end

@interface MFQuotedPrintableEncoder : MFBaseFilterDataConsumer
{
    unsigned long long _line;
    unsigned long long _matchedFrom;
    unsigned char _lastHorizontalWhitespace;
    _Bool _forTextPart;
    _Bool _lastWasNewLine;
    _Bool _forHeader;
}

+ (unsigned long long)requiredSizeToEncodeHeaderBytes:(const char *)arg1 length:(unsigned long long)arg2;
@property(nonatomic) _Bool forHeader; // @synthesize forHeader=_forHeader;
@property(nonatomic) _Bool forTextPart; // @synthesize forTextPart=_forTextPart;
- (void)done;
- (long long)appendData:(id)arg1;

@end

@interface MFRangedDataFilter : MFBaseFilterDataConsumer
{
    struct _NSRange _range;
    unsigned long long _consumedLength;
}

+ (id)rangedFilterWithConsumer:(id)arg1 range:(struct _NSRange)arg2;
+ (id)rangedFilterWithConsumers:(id)arg1 range:(struct _NSRange)arg2;
@property(nonatomic) struct _NSRange range; // @synthesize range=_range;
- (long long)appendData:(id)arg1;

@end

@interface MFRecursiveLock : NSRecursiveLock <MFLockObject>
{
    NSString *_name;
    id _delegate;
}

+ (void)initialize;
- (void)dealloc;
- (id)description;
- (void)unlock;
- (_Bool)lockBeforeDate:(id)arg1;
- (_Bool)tryLock;
- (void)lock;
- (_Bool)isLockedByMe;
- (id)initWithName:(id)arg1 andDelegate:(id)arg2;
- (id)init;

@end

@interface MFUUDecoder : MFBaseFilterDataConsumer
{
    unsigned long long _begin;
    unsigned long long _end;
    unsigned long long _length;
    unsigned long long _readBytes;
    unsigned char _encoded[4];
    _Bool _beginComplete;
    _Bool _dataComplete;
    _Bool _validLength;
    _Bool _lineComplete;
    _Bool _passthrough;
}

- (void)done;
- (long long)appendData:(id)arg1;

@end

@interface MFWeakDictionary : NSMutableDictionary
{
    unsigned long long _gen;
    NSLock *_lock;
    NSMutableDictionary *_dictionary;
}

- (id)_copyDictionary;
- (void)enumerateKeysAndObjectsUsingBlock:(CDUnknownBlockType)arg1;
- (void)enumerateKeysAndObjectsWithOptions:(unsigned long long)arg1 usingBlock:(CDUnknownBlockType)arg2;
- (unsigned long long)countByEnumeratingWithState:(CDStruct_58648341 *)arg1 objects:(id *)arg2 count:(unsigned long long)arg3;
- (void)removeAllObjects;
- (void)removeObjectForKey:(id)arg1;
- (void)setObject:(id)arg1 forKey:(id)arg2;
- (id)objectForKey:(id)arg1;
- (id)allValues;
- (id)allKeys;
- (unsigned long long)count;
- (void)dealloc;
- (id)initWithCapacity:(unsigned long long)arg1;

@end

@interface MFWeakReferenceHolder : NSObject
{
    id <NSObject> _reference;
}

+ (id)weakReferenceWithObject:(id)arg1;
- (id)reference;
- (id)retainedReference;
- (void)dealloc;
- (id)_initWithObject:(id)arg1;
- (id)init;

@end

@interface MFWeakSet : NSMutableSet
{
    NSLock *_lock;
    unsigned long long _gen;
    struct __CFDictionary *_objects;
}

+ (id)setWithCapacity:(unsigned long long)arg1;
+ (id)setWithArray:(id)arg1;
+ (id)setWithSet:(id)arg1;
+ (id)setWithObjects:(id)arg1;
+ (id)setWithObjects:(const id *)arg1 count:(unsigned long long)arg2;
+ (id)setWithObject:(id)arg1;
+ (id)set;
- (void)setSet:(id)arg1;
- (void)unionSet:(id)arg1;
- (void)removeAllObjects;
- (void)minusSet:(id)arg1;
- (void)intersectSet:(id)arg1;
- (void)addObjectsFromArray:(id)arg1;
- (void)removeObject:(id)arg1;
- (void)addObject:(id)arg1;
- (void)dealloc;
- (id)init;
- (id)initWithCapacity:(unsigned long long)arg1;
- (id)initWithArray:(id)arg1;
- (id)initWithSet:(id)arg1 copyItems:(_Bool)arg2;
- (id)initWithSet:(id)arg1;
- (id)initWithObjects:(id)arg1;
- (id)initWithObjects:(const id *)arg1 count:(unsigned long long)arg2;
- (id)objectsWithOptions:(unsigned long long)arg1 passingTest:(CDUnknownBlockType)arg2;
- (id)objectsPassingTest:(CDUnknownBlockType)arg1;
- (void)enumerateObjectsWithOptions:(unsigned long long)arg1 usingBlock:(CDUnknownBlockType)arg2;
- (void)enumerateObjectsUsingBlock:(CDUnknownBlockType)arg1;
- (id)setByAddingObjectsFromArray:(id)arg1;
- (id)setByAddingObjectsFromSet:(id)arg1;
- (id)setByAddingObject:(id)arg1;
- (void)makeObjectsPerformSelector:(SEL)arg1 withObject:(id)arg2;
- (void)makeObjectsPerformSelector:(SEL)arg1;
- (_Bool)isSubsetOfSet:(id)arg1;
- (_Bool)isEqualToSet:(id)arg1;
- (_Bool)intersectsSet:(id)arg1;
- (id)initWithCoder:(id)arg1;
- (void)encodeWithCoder:(id)arg1;
- (id)descriptionWithLocale:(id)arg1;
- (id)description;
- (_Bool)containsObject:(id)arg1;
- (id)anyObject;
- (id)mutableCopyWithZone:(struct _NSZone *)arg1;
- (id)copyWithZone:(struct _NSZone *)arg1;
- (id)allObjects;
- (id)_copyAllItems;
- (unsigned long long)countByEnumeratingWithState:(CDStruct_58648341 *)arg1 objects:(id *)arg2 count:(unsigned long long)arg3;
- (id)objectEnumerator;
- (id)member:(id)arg1;
- (unsigned long long)count;

@end

@interface NSArray (DerivedArray)
- (id)mf_objectsPassingTest:(CDUnknownBlockType)arg1;
- (id)mf_indicesOfStringsWithPrefix:(id)arg1;
@end

@interface NSArray (Functional)
- (id)mf_reduce:(CDUnknownBlockType)arg1;
- (id)mf_map:(CDUnknownBlockType)arg1;
- (id)mf_uniquifyWithComparator:(CDUnknownBlockType)arg1;
- (id)mf_flatten;
- (id)mf_firstObjectPassingTest:(CDUnknownBlockType)arg1;
- (id)mf_filter:(CDUnknownBlockType)arg1;
- (_Bool)mf_any:(CDUnknownBlockType)arg1;
- (_Bool)mf_all:(CDUnknownBlockType)arg1;
@end

@interface NSArray (MessagesFromMixedStoresConvenience)
- (id)mf_dictionaryWithMessagesSortedByStore;
@end

@interface NSArray (NSEmailAddressArray)
- (id)mf_uncommentedAddressList;
@end

@interface NSArray (SortedArrayExtensions)
- (unsigned long long)mf_indexWhereObjectWouldBeInserted:(id)arg1 usingSortFunction:(CDUnknownFunctionPointerType)arg2 context:(void *)arg3;
- (unsigned long long)mf_indexWhereObjectWouldBeInserted:(id)arg1 usingComparator:(CDUnknownBlockType)arg2;
- (id)mf_objectEquivalentTo:(id)arg1 usingSortFunction:(CDUnknownFunctionPointerType)arg2 context:(void *)arg3;
- (id)mf_objectEquivalentTo:(id)arg1 usingComparator:(CDUnknownBlockType)arg2;
- (unsigned long long)mf_indexOfObject:(id)arg1 usingSortFunction:(CDUnknownFunctionPointerType)arg2 context:(void *)arg3;
- (unsigned long long)mf_indexOfObject:(id)arg1 usingComparator:(CDUnknownBlockType)arg2;
@end

@interface NSData (DigestUtilities)
- (id)mf_MD5Digest;
@end

@interface NSData (MimeDataEncoding)
- (id)mf_encodeBase64HeaderData;
- (id)mf_encodeModifiedBase64;
- (id)mf_encodeBase64;
- (id)mf_encodeBase64WithoutLineBreaks;
- (id)mf_decodeModifiedBase64;
- (id)mf_decodeBase64InRange:(struct _NSRange *)arg1;
- (id)mf_decodeBase64;
- (id)mf_decodeUuencoded;
- (id)mf_decodeQuotedPrintableForText:(_Bool)arg1;
@end

@interface NSData (NSDataExtensions)
- (_Bool)mf_immutable;
- (id)mf_subdataWithRange:(struct _NSRange)arg1;
@end

@interface NSData (NSDataUtils)
- (id)mf_copyHexString;
- (id)mf_dataByConvertingUnixNewlinesToNetwork;
- (id)mf_locationsOfUnixNewlinesNeedingConversion;
- (struct _NSRange)mf_rangeOfCString:(const char *)arg1 options:(unsigned long long)arg2 range:(struct _NSRange)arg3;
- (struct _NSRange)mf_rangeOfCString:(const char *)arg1 options:(unsigned long long)arg2;
- (struct _NSRange)mf_rangeOfCString:(const char *)arg1;
- (struct _NSRange)mf_rangeOfByteFromSet:(id)arg1;
- (struct _NSRange)mf_rangeOfByteFromSet:(id)arg1 range:(struct _NSRange)arg2;
- (struct _NSRange)mf_rangeOfData:(id)arg1 options:(unsigned long long)arg2 range:(struct _NSRange)arg3;
- (id)mf_subdataFromIndex:(unsigned long long)arg1;
- (id)mf_subdataToIndex:(unsigned long long)arg1;
- (struct _NSRange)mf_rangeOfRFC822HeaderData;
@end

@interface NSDate (MFDateUtils)
+ (id)mf_copyDateInCommonFormatsWithString:(id)arg1;
@end

@interface NSDate (MFDateUtils_Private)
+ (id)mf_copyLenientDateInCommonFormatsWithString:(id)arg1;
@end

@interface NSError (MIME)
+ (id)mf_timeoutError;
- (_Bool)mf_isTimeoutError;
- (_Bool)mf_isCancelledError;
@end

@interface NSFileManager (NSFileManagerAdditions)
- (_Bool)mf_setValue:(id)arg1 forExtendedAttribute:(id)arg2 ofItemAtPath:(id)arg3 error:(id *)arg4;
- (_Bool)mf_setValue:(id)arg1 forAttribute:(id)arg2 ofItemAtPath:(id)arg3 error:(id *)arg4;
- (_Bool)mf_protectFileAtPath:(id)arg1 withClass:(int)arg2 error:(id *)arg3;
- (void)mf_deleteFilesInSortedArray:(id)arg1 matchingPrefix:(id)arg2 fromDirectory:(id)arg3;
- (id)mf_pathsAtDirectory:(id)arg1 beginningWithString:(id)arg2;
- (id)mf_fileModificationDateAtPath:(id)arg1 traverseLink:(_Bool)arg2;
- (_Bool)mf_canWriteToDirectoryAtPath:(id)arg1;
- (_Bool)mf_makeCompletePath:(id)arg1 mode:(int)arg2;
- (id)mf_makeUniqueFileInDirectory:(id)arg1;
@end

@interface NSLock (MessageAdditions)
- (void)mf_waitForLock;
@end

@interface NSMutableArray (Convenience)
- (void)mf_moveObjectAtIndex:(unsigned long long)arg1 toIndex:(unsigned long long)arg2;
- (void)mf_addObject:(id)arg1 orPlaceholder:(id)arg2;
- (_Bool)mf_addObjectIfAbsentAccordingToEquals:(id)arg1;
- (_Bool)mf_addObjectIfAbsent:(id)arg1;
@end

@interface NSMutableArray (SortedArrayExtensions)
- (unsigned long long)mf_removeObject:(id)arg1 usingSortFunction:(CDUnknownFunctionPointerType)arg2 context:(void *)arg3;
- (unsigned long long)mf_insertObject:(id)arg1 usingSortFunction:(CDUnknownFunctionPointerType)arg2 context:(void *)arg3 allowDuplicates:(_Bool)arg4;
- (unsigned long long)mf_removeObject:(id)arg1 usingComparator:(CDUnknownBlockType)arg2;
- (unsigned long long)mf_insertObject:(id)arg1 usingComparator:(CDUnknownBlockType)arg2 allowDuplicates:(_Bool)arg3;
@end

@interface NSMutableData (NSDataUtils)
- (void)mf_makeImmutable;
- (void)mf_convertNetworkLineEndingsToUnix;
- (void)mf_convertNetworkLineEndingsToUnixInRange:(struct _NSRange)arg1;
- (void)mf_appendCString:(const char *)arg1;
@end

@interface NSMutableData (RFC2231Support)
- (void)mf_appendRFC2231CompliantValue:(id)arg1 forKey:(id)arg2;
@end

@interface NSMutableDictionary (RFC2231Support)
- (void)mf_fixupRFC2231Values;
@end

@interface NSMutableSet (MFMessageAdditions)
- (id)mf_uniquedObject:(id)arg1;
@end

@interface NSObject (LockingAdditions)
+ (void)mf_clearLocks;
- (id)mf_exclusiveLocks;
- (id)mf_lockOrdering;
- (id)mf_strictLockOrdering;
- (_Bool)_mf_ntsIsLocked;
- (void)mf_unlock;
- (_Bool)mf_tryLockWithPriority;
- (void)mf_lockWithPriority;
- (_Bool)mf_tryLock;
- (void)mf_lock;
- (void)_mf_checkToAllowLock:(id)arg1;
- (void)_mf_checkToAllowExclusiveLocksWithLock:(id)arg1;
- (void)_mf_checkToAllowStrictProgressionWithLock:(id)arg1;
- (void)_mf_checkToAllowOrderingWithLock:(id)arg1;
- (void)_mf_dumpLockCallStacks:(unsigned long long)arg1 ordering:(id)arg2;
- (id)_mf_lockOrderingForType:(int)arg1;
@end

@interface NSScanner (NSScannerUtils)
- (_Bool)mf_scanUpAndOverString:(id)arg1;
- (id)mf_nextTokenWithPunctuation:(struct __CFCharacterSet *)arg1;
@end

@interface NSString (MFStringUtils)
+ (id)mf_stringWithData:(id)arg1 encoding:(unsigned long long)arg2;
- (id)mf_copyStringByEncodingIDNA;
- (id)mf_copyStringByDecodingIDNA;
- (id)mf_copyStringByEncodingIDNAInRange:(struct _NSRange)arg1;
- (id)mf_copyStringByDecodingIDNAInRange:(struct _NSRange)arg1;
- (id)mf_messageIDSubstring;
- (id)mf_MD5Digest;
- (id)mf_dataUsingEncoding:(unsigned long long)arg1 allowLossyConversion:(_Bool)arg2;
- (id)mf_dataUsingEncoding:(unsigned long long)arg1;
- (long long)mf_caseInsensitiveCompareExcludingXDash:(id)arg1;
- (const void *)mf_lossyDefaultCStringBytes;
@end

@interface NSString (MimeCharsetSupport)
- (id)mf_bestMimeCharsetForMessageDeliveryUsingSubtype:(id)arg1;
- (id)mf_bestMimeCharsetUsingHint:(unsigned int)arg1;
- (id)_mf_bestMimeCharset:(id)arg1;
- (id)mf_bestMimeCharset;
@end

@interface NSString (MimeHeaderEncoding)
- (id)mf_decodeMimeHeaderValueWithCharsetHint:(id)arg1;
- (id)mf_decodeMimeHeaderValueWithEncodingHint:(unsigned int)arg1;
- (id)mf_encodedHeaderDataWithEncodingHint:(unsigned int)arg1;
@end

@interface NSString (NSEmailAddressString)
+ (id)mf_partialSurnames;
+ (id)mf_nameExtensions;
+ (id)mf_formattedAddressWithName:(id)arg1 email:(id)arg2 useQuotes:(_Bool)arg3;
- (id)mf_trimCommasSpacesQuotes;
- (_Bool)mf_appearsToBeAnInitial;
- (_Bool)mf_hasSameNamesAs:(id)arg1;
- (void)mf_firstName:(id *)arg1 middleName:(id *)arg2 lastName:(id *)arg3 extension:(id *)arg4;
- (void)mf_addressCommentFirstName:(id *)arg1 middleName:(id *)arg2 lastName:(id *)arg3 extension:(id *)arg4;
- (id)mf_copyIDNAEncodedEmailAddress;
- (id)mf_copyIDNADecodedEmailAddress;
- (_Bool)mf_isEqualToAddress:(id)arg1;
- (id)mf_addressDomain;
- (struct _NSRange)mf_rangeOfAddressDomain;
- (_Bool)mf_isLegalEmailAddress;
- (_Bool)mf_isLegalCommentedEmailAddress;
- (id)mf_copyAddressComment;
- (id)mf_addressComment;
- (id)mf_uncommentedAddressRespectingGroups;
- (id)mf_uncommentedAddress;
- (id)mf_copyUncommentedAddress;
@end

@interface _MFEmailSetEmail : NSObject
{
    unsigned long long _hash;
    NSString *_encodedAddress;
    NSString *_comment;
}

@property(readonly, nonatomic) NSString *commentedAddress;
@property(retain, nonatomic) NSString *address;
- (_Bool)isEqualToEmail:(id)arg1;
@property(readonly, nonatomic) unsigned long long hash;
- (id)description;
- (void)dealloc;
- (id)initWithAddress:(id)arg1;

@end

@interface _MFEmailSetEnumerator : NSEnumerator
{
    MFEmailSet *_set;
    CDStruct_58648341 _state;
}

- (id)nextObject;
- (unsigned long long)countByEnumeratingWithState:(CDStruct_58648341 *)arg1 objects:(id *)arg2 count:(unsigned long long)arg3;
- (void)dealloc;
- (id)initWithSet:(id)arg1;

@end


text:
$(function(){
	$(".chosen-select,.chosen-multiple-select").chosen({allow_single_deselect:true});
});

redpajama_set_name: RedPajamaGithub


text:
NSString * const kTestNotification = @"TestNotification";

@implementation TestableObject

- (id)init
{
    self = [super init];
    if (self)
    {
        [[NSNotificationCenter defaultCenter] addObserver:self
                                                 selector:@selector(objectAction:)
                                                     name:kTestNotification
                                                   object:nil];
    }
    return self;
}

- (void)objectAction:(NSNotification *)notification
{
    // Test action does nothing
}

- (void)stopNotifications
{
    [[NSNotificationCenter defaultCenter] removeObserver:self
                                                    name:kTestNotification
                                                  object:nil];
}

@end


text:
package eu.cloud4soa.adapter.rest.aop;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Describes the version of the adapter api.

 * Note: this @interface does not need an interceptor yet.
 *
 * @author Denis Neuling (dn@cloudcontrol.de)
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(value=ElementType.TYPE)
@Inherited
public @interface Version {

	String value() default "1.0";
}


text:
<?php

/* FOSUserBundle:Security:login.html.twig */
class __TwigTemplate_9541ced363df9cb540fa2035fcbf239fb2151432cf18cd7bf98f1ad80040d9e3 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        // line 1
        try {
            $this->parent = $this->env->loadTemplate("CwpAdminBundle:Layout:layout.html.twig");
        } catch (Twig_Error_Loader $e) {
            $e->setTemplateFile($this->getTemplateName());
            $e->setTemplateLine(1);

            throw $e;
        }

        $this->blocks = array(
            'nav_bar' => array($this, 'block_nav_bar'),
            'fos_user_content' => array($this, 'block_fos_user_content'),
        );
    }

    protected function doGetParent(array $context)
    {
        return "CwpAdminBundle:Layout:layout.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 2
    public function block_nav_bar($context, array $blocks = array())
    {
        // line 3
        echo "

            sfblog

";
    }

    // line 20
    public function block_fos_user_content($context, array $blocks = array())
    {
        // line 21
        echo "    ";
        if ((isset($context["error"]) ? $context["error"] : $this->getContext($context, "error"))) {
            // line 22
            echo "
";
            echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans($this->getAttribute((isset($context["error"]) ? $context["error"] : $this->getContext($context, "error")), "messageKey", array()), $this->getAttribute((isset($context["error"]) ? $context["error"] : $this->getContext($context, "error")), "messageData", array()), "security"), "html", null, true);
            echo "

    ";
        }
        // line 24
        echo "

后台登录

                <form action=\"";
        // line 29
        echo $this->env->getExtension('routing')->getPath("fos_user_security_check");
        echo "\" method=\"post\">
                    <input type=\"hidden\" name=\"_csrf_token\" value=\"";
        // line 30
        echo twig_escape_filter($this->env, (isset($context["csrf_token"]) ? $context["csrf_token"] : $this->getContext($context, "csrf_token")), "html", null, true);
        echo "\" />

                        ";
        // line 33
        echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("security.login.username", array(), "FOSUserBundle"), "html", null, true);
        echo "
                        <input type=\"text\" id=\"username\" class=\"form-control span12\" name=\"_username\" value=\"";
        // line 34
        echo twig_escape_filter($this->env, (isset($context["last_username"]) ? $context["last_username"] : $this->getContext($context, "last_username")), "html", null, true);
        echo "\" required=\"required\" />

                        ";
        // line 37
        echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("security.login.password", array(), "FOSUserBundle"), "html", null, true);
        echo "
                        <input type=\"password\" id=\"password\" class=\"form-control span12 form-control\" name=\"_password\" required=\"required\" />

                    <button type=\"submit\" class=\"btn btn-primary pull-right\">";
        // line 40
        echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("security.login.submit", array(), "FOSUserBundle"), "html", null, true);
        echo "</button>
                    <input type=\"checkbox\" name=\"remember_me\"> ";
        // line 41
        echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("security.login.remember_me", array(), "FOSUserBundle"), "html", null, true);
        echo "

                </form>

联系管理员

忘记密码?

";
    }

    public function getTemplateName()
    {
        return "FOSUserBundle:Security:login.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  106 => 41,  102 => 40,  96 => 37,  90 => 34,  86 => 33,  80 => 30,  76 => 29,  69 => 24,  63 => 22,  60 => 21,  57 => 20,  40 => 3,  37 => 2,  11 => 1,);
    }
}


text:
=head1 LICENSE

Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

=cut

=head1 CONTACT

  Please email comments or questions to the public Ensembl
  developers list at <http://lists.ensembl.org/mailman/listinfo/dev>.

  Questions may also be sent to the Ensembl help desk at
  <http://www.ensembl.org/Help/Contact>.

=cut

=head1 NAME

Bio::EnsEMBL::Util::EprofStack - DESCRIPTION of Object

=head1 SYNOPSIS

=head1 DESCRIPTION

=head1 METHODS

=cut

package Bio::EnsEMBL::Utils::EprofStack;

use strict;
use warnings;

use POSIX;

use Bio::EnsEMBL::Utils::Exception ('warning');

BEGIN {
  eval {
    require Time::HiRes;
    Time::HiRes->import('time');
  };
}

sub new {
  my ( $proto, $name ) = @_;

  my $class = ref($proto) || $proto;

  my $self = bless( { 'is_active'       => 0,
                      'total_time'      => 0,
                      'total_time_time' => 0,
                      'max_time'        => 0,
                      'min_time'        => 999999999,
                      'number'          => 0,
                      'tag'             => $name
                    },
                    $class );

  return $self;
}

=head2 push_stack

 Title   : push_stack
 Usage   :
 Function:
 Example :
 Returns :
 Args    :

=cut

sub push_stack {
  my ( $self, @args ) = @_;

  if ( $self->{'is_active'} == 1 ) {
    warning(
             sprintf(     "Attempting to push stack on tag '%s' "
                        . "when active. Discarding previous push."
                        . $self->tag() ) );
  }

  # my ( $user, $sys ) = times();
  # $self->{'current_start'} = (POSIX::times)[0];

  $self->{'current_start'} = time();
  $self->{'is_active'}     = 1;
}

=head2 pop_stack

 Title   : pop_stack
 Usage   :
 Function:
 Example :
 Returns :
 Args    :

=cut

sub pop_stack {
  my ( $self, @args ) = @_;

  if ( $self->{'is_active'} == 0 ) {
    warning(
             sprintf( "Attempting to pop stack on tag '%s' "
                        . "when not active. Ignoring.",
                      $self->tag() ) );
  }

  # my ( $user, $sys ) = times();
  # my $clocktime =
  #   ( (POSIX::times)[0] - $self->{'current_start'} )/
  #   POSIX::sysconf(&POSIX::_SC_CLK_TCK);

  my $clocktime = time() - $self->{'current_start'};

  if ( $self->{'max_time'} < $clocktime ) {
    $self->{'max_time'} = $clocktime;
  }
  if ( $self->{'min_time'} > $clocktime ) {
    $self->{'min_time'} = $clocktime;
  }

  $self->{'total_time'}      += $clocktime;
  $self->{'total_time_time'} += $clocktime*$clocktime;
  $self->{'number'}++;
  $self->{'is_active'} = 0;
} ## end sub pop_stack

=head2 total_time_time

 Title   : total_time_time
 Usage   : $obj->total_time_time($newval)
 Function:
 Returns : value of total_time_time
 Args    : newvalue (optional)

=cut

sub total_time_time {
  my ( $self, $value ) = @_;

  if ( defined($value) ) { $self->{'total_time_time'} = $value }

  return $self->{'total_time_time'};
}

=head2 max_time

 Title   : max_time
 Usage   : $obj->max_time($newval)
 Function:
 Returns : value of max_time
 Args    : newvalue (optional)

=cut

sub max_time {
  my ( $self, $value ) = @_;

  if ( defined($value) ) { $self->{'max_time'} = $value }

  return $self->{'max_time'};
}

=head2 min_time

 Title   : min_time
 Usage   : $obj->min_time($newval)
 Function:
 Returns : value of min_time
 Args    : newvalue (optional)

=cut

sub min_time {
  my ( $self, $value ) = @_;

  if ( defined($value) ) { $self->{'min_time'} = $value }

  return $self->{'min_time'};
}

=head2 total_time

 Title   : total_time
 Usage   : $obj->total_time($newval)
 Function:
 Returns : value of total_time
 Args    : newvalue (optional)

=cut

sub total_time {
  my ( $self, $value ) = @_;

  if ( defined($value) ) { $self->{'total_time'} = $value }

  return $self->{'total_time'};
}

=head2 number

 Title   : number
 Usage   : $obj->number($newval)
 Function:
 Returns : value of number
 Args    : newvalue (optional)

=cut

sub number {
  my ( $self, $value ) = @_;

  if ( defined($value) ) { $self->{'number'} = $value }

  return $self->{'number'};
}

=head2 is_active

 Title   : is_active
 Usage   : $obj->is_active($newval)
 Function:
 Returns : value of is_active
 Args    : newvalue (optional)

=cut

sub is_active {
  my ( $self, $value ) = @_;

  if ( defined($value) ) { $self->{'is_active'} = $value }

  return $self->{'is_active'};
}

=head2 current_start

 Title   : current_start
 Usage   : $obj->current_start($newval)
 Function:
 Returns : value of current_start
 Args    : newvalue (optional)

=cut

sub current_start {
  my ( $self, $value ) = @_;

  if ( defined($value) ) { $self->{'current_start'} = $value }

  return $self->{'current_start'};
}

=head2 tag

 Title   : tag
 Usage   : $obj->tag($newval)
 Function:
 Returns : value of tag
 Args    : newvalue (optional)

=cut

sub tag {
  my ( $self, $value ) = @_;

  if ( defined($value) ) { $self->{'tag'} = $value }

  return $self->{'tag'};
}

1;


text:
@interface ViewController : UIViewController
- (id)initWithIndex:(NSUInteger)index;

@end


text:
package scorecard

import (
	"reflect"
	"testing"

	testdata "github.com/guacsec/guac/internal/testing/processor"
	"github.com/guacsec/guac/pkg/handler/processor"
)

func TestScorecardProcessor_Unpack(t *testing.T) {
	testCases := []struct {
		name      string
		doc       processor.Document
		expected  []*processor.Document
		expectErr bool
	}{{
		name: "Scorecard document",
		doc: processor.Document{
			Blob:              testdata.ScorecardExample,
			Format:            processor.FormatUnknown,
			Type:              processor.DocumentScorecard,
			SourceInformation: processor.SourceInformation{},
		},
		expected:  []*processor.Document{},
		expectErr: false,
	}, {
		name: "Incorrect type",
		doc: processor.Document{
			Blob:              testdata.ScorecardExample,
			Format:            processor.FormatUnknown,
			Type:              processor.DocumentUnknown,
			SourceInformation: processor.SourceInformation{},
		},
		expected:  nil,
		expectErr: true,
	}}
	for _, tt := range testCases {
		t.Run(tt.name, func(t *testing.T) {
			d := ScorecardProcessor{}
			actual, err := d.Unpack(&tt.doc)
			if (err != nil) != tt.expectErr {
				t.Errorf("ScorecardProcessor.Unpack() error = %v, expectErr %v", err, tt.expectErr)
			}
			if !reflect.DeepEqual(actual, tt.expected) {
				t.Errorf("ScorecardProcessor.Unpack() = %v, expected %v", actual, tt.expected)
			}
		})
	}
}

func TestScorecardProcessor_ValidateSchema(t *testing.T) {
	testCases := []struct {
		name      string
		doc       processor.Document
		expectErr bool
	}{{
		name: "valid Scorecard document",
		doc: processor.Document{
			Blob:              testdata.ScorecardExample,
			Format:            processor.FormatJSON,
			Type:              processor.DocumentScorecard,
			SourceInformation: processor.SourceInformation{},
		},
		expectErr: false,
	}, {
		name: "invalid Scorecard document",
		doc: processor.Document{
			Blob:              testdata.ScorecardInvalid,
			Format:            processor.FormatJSON,
			Type:              processor.DocumentScorecard,
			SourceInformation: processor.SourceInformation{},
		},
		expectErr: true,
	}, {
		name: "invalid format supported",
		doc: processor.Document{
			Blob:              testdata.ScorecardExample,
			Format:            processor.FormatUnknown,
			Type:              processor.DocumentScorecard,
			SourceInformation: processor.SourceInformation{},
		},
		expectErr: true,
	}}
	for _, tt := range testCases {
		t.Run(tt.name, func(t *testing.T) {
			d := ScorecardProcessor{}
			err := d.ValidateSchema(&tt.doc)
			if (err != nil) != tt.expectErr {
				t.Errorf("ScorecardProcessor.ValidateSchema() error = %v, expectErr %v", err, tt.expectErr)
			}
		})
	}
}


text:
namespace scene {
    auto create_entity(assets::instance_t &asset, video::instance_t &vi, instance_t &sc, const json &info) -> uint32_t {
        using namespace std;
        using namespace game;

        string name;
        if (info.find("name") != info.end())
            name = info["name"].get<string>();

        const auto ix = (name != "root") ? sc.current_entity_id++ : 0;

        if (!name.empty())
            sc.names.emplace(name, ix);

        const auto parent_name = info.find("parent") != info.end() ? info["parent"].get<string>() : string{};

        const auto parent_ix = find_entity_by_name(sc, parent_name);
        const auto renderable = info.find("renderable") != info.end() ? info["renderable"].get<bool>() : false;
        //const auto bool movable = info.find("movable") != info.end() ? info["movable"].get<bool>() : false;

        journal::info(journal::_SCENE, "Create entity:\n\tname '%' (%)\n\tparent '%' (%)\n\trenderable %", name, ix, parent_name, parent_ix, renderable);

        if (info.find("body") != info.end()) {
            const auto b = create_body(info["body"]);
            if (b)
                sc.bodies[ix] = b.value();
        }

        if (info.find("camera") != info.end()) {
            const auto c = create_camera(ix, info["camera"], vi.aspect_ratio);
            if (c) {
                sc.cameras[ix] = c.value();
                sc.current_camera_index = ix;
            }
        }

        if (renderable) {
            const auto t = create_transforms(ix, parent_ix);
            if (t)
                sc.transforms[ix] = t.value();
        }

        if (info.find("model") != info.end()) {
            const auto m = get_model(sc, info["model"].get<string>());
            if (m)
                sc.models[ix] = m.value();
        }

        if (info.find("light") != info.end()) {
            const auto l = create_light(info["light"]);
            if (l)
                sc.lights[ix] = l.value();
        }

        if (info.find("materials") != info.end()) {
            const auto mats = info["materials"];
            if (mats.size() != 0) {
                const auto mat_name = mats[0].get<string>();
                const auto m = get_material(sc, mat_name);
                if (m)
                    sc.materials[ix] = m.value();
            }
        }

        if (info.find("script") != info.end()) {
            const auto s = create_script(asset, ix, info["script"]);
            if (s)
                sc.scripts[ix] = s.value();
        }

        if (info.find("input") != info.end()) {
            const auto in = create_input(ix, info["input"], sc.input_sources);

            if (in)
                sc.inputs[ix] = in.value();
        }

        return ix;
    }

    // TODO: optional
    auto find_entity_by_name(instance_t &sc, const std::string &name) -> uint32_t {
        if (name.empty())
            return 0;

        auto it = sc.names.find(name);
        if (it != sc.names.end())
            return (*it).second;

        return 0;
    }

    auto remove_entity( instance_t &sc, const uint32_t entity_id ) -> bool {
        auto res = false;

        auto name_it = std::find_if( sc.names.begin( ), sc.names.end( ), [entity_id]( const auto &nv ) { return nv.second == entity_id; } );
        if ( name_it != sc.names.end( ) ) {
            res |= true;
            sc.names.erase( name_it );
        }

        auto material_it = sc.materials.find( entity_id );
        if ( material_it != sc.materials.end() ) {
            res |= true;
            sc.materials.erase( material_it );
        }

        auto model_it = sc.models.find( entity_id );
        if ( model_it != sc.models.end() ) {
            res |= true;
            sc.models.erase( model_it );
        }

        auto camera_it = sc.cameras.find( entity_id );
        if ( camera_it != sc.cameras.end() ) {
            res |= true;
            sc.cameras.erase( camera_it );
        }

        auto script_it = sc.scripts.find( entity_id );
        if ( script_it != sc.scripts.end() ) {
            res |= true;
            sc.scripts.erase( script_it );
        }

        auto body_it = sc.bodies.find( entity_id );
        if ( body_it != sc.bodies.end() ) {
            res |= true;
            sc.bodies.erase( body_it );
        }

        auto input_it = sc.inputs.find( entity_id );
        if ( input_it != sc.inputs.end() ) {
            res |= true;
            sc.inputs.erase( input_it );
        }

        auto transform_it = sc.transforms.find( entity_id );
        if ( transform_it != sc.transforms.end() ) {
            res |= true;
            sc.transforms.erase( transform_it );
        }

        auto emitter_it = sc.emitters.find( entity_id );
        if ( emitter_it != sc.emitters.end() ) {
            res |= true;
            sc.emitters.erase( emitter_it );
        }

        auto light_it = sc.lights.find( entity_id );
        if ( light_it != sc.lights.end() ) {
            res |= true;
            sc.lights.erase( light_it );
        }

        return res;
    }

    auto get_entity_name( instance_t &inst, const uint32_t entity_id ) -> std::optional<std::string_view> {
        auto name_it =
            std::find_if( inst.names.begin( ), inst.names.end( ), [entity_id]( const auto &nv ) { return nv.second == entity_id; } );
        if ( name_it != inst.names.end( ) ) {
            return name_it->first;
        }

        return {};
    }

    auto get_entity_material( instance_t &inst, const uint32_t entity_id ) -> std::optional<material_ref> {
        auto it = inst.materials.find( entity_id );
        if ( it != inst.materials.end( ) )
            return std::ref( it->second );

        return {};
    }

    auto get_entity_model( instance_t &inst, const uint32_t entity_id ) -> std::optional<model_ref> {
        auto it = inst.models.find( entity_id );
        if ( it != inst.models.end() )
            return std::ref( it->second );

        return {};
    }

    auto get_entity_camera( instance_t &inst, const uint32_t entity_id ) -> std::optional<camera_ref> {
        auto it = inst.cameras.find( entity_id );
        if ( it != inst.cameras.end( ) )
            return std::ref( it->second );

        return {};
    }

    auto get_entity_script( instance_t &inst, const uint32_t entity_id ) -> std::optional<script_ref> {
        auto it = inst.scripts.find( entity_id );
        if ( it != inst.scripts.end() )
            return std::ref( it->second );

        return {};
    }

    auto get_entity_body( instance_t &inst, const uint32_t entity_id ) -> std::optional<body_ref> {
        auto it = inst.bodies.find( entity_id );
        if ( it != inst.bodies.end() )
            return std::ref( it->second );

        return {};
    }

    auto get_entity_input( instance_t &inst, const uint32_t entity_id ) -> std::optional<input_ref> {
        auto it = inst.inputs.find( entity_id );
        if ( it != inst.inputs.end() )
            return std::ref( it->second );

        return {};
    }

    auto get_entity_transform( instance_t &inst, const uint32_t entity_id ) -> std::optional<transform_ref> {
        auto it = inst.transforms.find( entity_id );
        if ( it != inst.transforms.end() )
            return std::ref( it->second );

        return {};
    }

    auto get_entity_emitter( instance_t &inst, const uint32_t entity_id ) -> std::optional<emitter_ref> {
        auto it = inst.emitters.find( entity_id );
        if ( it != inst.emitters.end() )
            return std::ref( it->second );

        return {};
    }

    auto get_entity_light( instance_t &inst, const uint32_t entity_id ) -> std::optional<light_ref> {
        auto it = inst.lights.find( entity_id );
        if ( it != inst.lights.end() )
            return std::ref( it->second );

        return {};
    }

} // namespace scene


text:
import { posix, resolve } from 'path';
import { Readable } from 'stream';

import PluginError from 'plugin-error';
import * as rollup from 'rollup';
import sourceMapCompactor from 'source-map-compactor';
import Vinyl from 'vinyl';

interface VinylPluginError {
  columnNumber?: number;
}

function isEmittedAsset(
  chunkOrAsset: rollup.OutputChunk | rollup.OutputAsset,
): chunkOrAsset is rollup.OutputAsset {
  return !!(chunkOrAsset as rollup.OutputAsset).isAsset;
}

export default function rollupToVinyl(
  inputOptions: rollup.RollupOptions,
  outputOptions: rollup.OutputOptions,
) {
  const stream = new Readable({ objectMode: true });
  stream._read = () => {};

  function generatePath(fileName: string) {
    return outputOptions.dir
      ? posix.join(outputOptions.dir, fileName)
      : fileName;
  }

  function emitAsset({ fileName, source }: rollup.OutputAsset) {
    stream.push(
      new Vinyl({
        contents:
          source instanceof Uint8Array
            ? Buffer.from(source)
            : Buffer.from(source, 'utf8'),
        path: resolve(process.cwd(), generatePath(fileName)),
      }),
    );
  }

  function emitChunk({ code, fileName, map, isEntry }: rollup.OutputChunk) {
    const chunkPath = generatePath(fileName);
    if (map) {
      // Rollup produces bad sourcemaps, this package fixes them up.
      // We've tried taking it out, and source maps have broken each
      // time. NO TOUCHING!
      map.mappings = JSON.parse(sourceMapCompactor(map)).mappings;

      // Rollup only writes the basename to the file property
      // This path must be bundle-root relative
      map.file = chunkPath;
    }
    stream.push(
      new Vinyl({
        isEntryPoint: isEntry,
        contents: Buffer.from(code, 'utf8'),
        path: resolve(process.cwd(), chunkPath),
        sourceMap: map,
      }),
    );
  }

  rollup
    .rollup(inputOptions)
    .then((bundle) => {
      stream.emit('bundle', bundle);
      return bundle.generate(outputOptions).then(({ output }) => {
        for (const chunkOrAsset of output) {
          if (isEmittedAsset(chunkOrAsset)) emitAsset(chunkOrAsset);
          else emitChunk(chunkOrAsset);
        }
        stream.push(null);
      });
    })
    .catch((reason) => {
      setImmediate(() => {
        const pluginErr: PluginError<VinylPluginError> = new PluginError(
          'rollup',
          reason,
        );

        if (reason.loc) {
          pluginErr.fileName = reason.loc.file;
          pluginErr.lineNumber = reason.loc.line;
          pluginErr.columnNumber = reason.loc.column;
        }

        delete (pluginErr as any).loc;
        delete (pluginErr as any).pos;

        stream.emit('error', pluginErr);
      });
    });

  return stream;
}


text:
namespace ABI { namespace Microsoft { namespace Graphics { namespace Canvas { namespace UI { namespace Xaml
{
    class CanvasVirtualImageSourceFactory
        : public ActivationFactory<ICanvasVirtualImageSourceFactory>,
          private LifespanTracker<CanvasVirtualImageSourceFactory>
    {
        InspectableClassStatic(RuntimeClass_Microsoft_Graphics_Canvas_UI_Xaml_CanvasVirtualImageSource, BaseTrust);

        ComPtr<IVirtualSurfaceImageSourceFactory> m_virtualSurfaceImageSourceFactory;
        std::shared_ptr<ICanvasImageSourceDrawingSessionFactory> m_drawingSessionFactory;

    public:
        CanvasVirtualImageSourceFactory();

        // This constructor used by tests to inject mock factories
        CanvasVirtualImageSourceFactory(
            IVirtualSurfaceImageSourceFactory* vsisFactory,
            std::shared_ptr<ICanvasImageSourceDrawingSessionFactory> drawingSessionFactory);

        IFACEMETHOD(CreateWithSize)(
            ICanvasResourceCreatorWithDpi* resourceCreator,
            Size size,
            ICanvasVirtualImageSource** virtualImageSource) override;

        IFACEMETHOD(CreateWithWidthAndHeight)(
            ICanvasResourceCreatorWithDpi* resourceCreator,
            float width,
            float height,
            ICanvasVirtualImageSource** virtualImageSource) override;

        IFACEMETHOD(CreateWithWidthAndHeightAndDpi)(
            ICanvasResourceCreator* resourceCreator,
            float width,
            float height,
            float dpi,
            ICanvasVirtualImageSource** virtualImageSource) override;

        IFACEMETHOD(CreateWithWidthAndHeightAndDpiAndAlphaMode)(
            ICanvasResourceCreator* resourceCreator,
            float width,
            float height,
            float dpi,
            CanvasAlphaMode alphaMode,
            ICanvasVirtualImageSource** virtualImageSource) override;

    private:
        void Create(
            ICanvasResourceCreator* resourceCreator,
            float width,
            float height,
            float dpi,
            CanvasAlphaMode alphaMode,
            ICanvasVirtualImageSource** virtualImageSource);
    };

    typedef ITypedEventHandler<CanvasVirtualImageSource*, CanvasRegionsInvalidatedEventArgs*> ImageSourceRegionsInvalidatedHandler;

    class CanvasVirtualImageSource
        : public RuntimeClass<
            RuntimeClassFlags<WinRtClassicComMix>,
            ICanvasVirtualImageSource,
            IVirtualSurfaceUpdatesCallbackNative>,
          private LifespanTracker<CanvasVirtualImageSource>
    {
        InspectableClass(RuntimeClass_Microsoft_Graphics_Canvas_UI_Xaml_CanvasVirtualImageSource, BaseTrust);

        std::shared_ptr<ICanvasImageSourceDrawingSessionFactory> m_drawingSessionFactory;
        ComPtr<ICanvasDevice> m_device;
        ComPtr<IVirtualSurfaceImageSource> m_vsis;
        float m_dpi;
        Size m_size;
        CanvasAlphaMode m_alphaMode;
        bool m_registeredForUpdates;
        EventSource<ImageSourceRegionsInvalidatedHandler, InvokeModeOptions<StopOnFirstError>> m_regionsInvalidatedEventSource;

    public:
        CanvasVirtualImageSource(
            std::shared_ptr<ICanvasImageSourceDrawingSessionFactory> drawingSessionFactory,
            ICanvasResourceCreator* resourceCreator,
            IVirtualSurfaceImageSource* vsis,
            float dpi,
            Size size,
            CanvasAlphaMode alphaMode);

        //
        // ICanvasVirtualImageSource
        //

        IFACEMETHOD(get_Source)(
            IVirtualSurfaceImageSource** value) override;

        IFACEMETHOD(CreateDrawingSession)(
            Color clearColor,
            Rect updateRectangle,
            ICanvasDrawingSession** drawingSession) override;

        IFACEMETHOD(SuspendDrawingSession)(
            ICanvasDrawingSession* drawingSession) override;

        IFACEMETHOD(ResumeDrawingSession)(
            ICanvasDrawingSession* drawingSession) override;

        IFACEMETHOD(Invalidate)() override;

        IFACEMETHOD(InvalidateRegion)(
            Rect region) override;

        IFACEMETHOD(RaiseRegionsInvalidatedIfAny)() override;

        IFACEMETHOD(add_RegionsInvalidated)(
            ImageSourceRegionsInvalidatedHandler* value,
            EventRegistrationToken* token) override;

        IFACEMETHOD(remove_RegionsInvalidated)(
            EventRegistrationToken token) override;

        IFACEMETHOD(ResizeWithSize)(
            Size size) override;

        IFACEMETHOD(ResizeWithWidthAndHeight)(
            float width,
            float height) override;

        IFACEMETHOD(ResizeWithWidthAndHeightAndDpi)(
            float width,
            float height,
            float dpi) override;

        IFACEMETHOD(get_Device)(
            ICanvasDevice** value) override;

        IFACEMETHOD(Recreate)(
            ICanvasResourceCreator* resourceCreator) override;

        IFACEMETHOD(get_Dpi)(
            float* dpi) override;

        IFACEMETHOD(ConvertPixelsToDips)(
            INT32 pixels,
            float* dips) override;

        IFACEMETHOD(ConvertDipsToPixels)(
            float dips,
            CanvasDpiRounding dpiRounding,
            INT32* pixels) override;

        IFACEMETHOD(get_Size)(
            Size* value) override;

        IFACEMETHOD(get_SizeInPixels)(
            BitmapSize* value) override;

        IFACEMETHOD(get_AlphaMode)(
            CanvasAlphaMode* value) override;

        //
        // IVirtualSurfaceUpdatesCallbackNative
        //

        IFACEMETHOD(UpdatesNeeded)() override;

    private:
        void SetDevice(ICanvasDevice* device);
    };

    class CanvasRegionsInvalidatedEventArgs
        : public RuntimeClass<ICanvasRegionsInvalidatedEventArgs>
    {
        InspectableClass(RuntimeClass_Microsoft_Graphics_Canvas_UI_Xaml_CanvasRegionsInvalidatedEventArgs, BaseTrust);

        std::vector<Rect> m_invalidatedRegions;
        Rect m_visibleRegion;

    public:
        CanvasRegionsInvalidatedEventArgs(std::vector<Rect>&& invalidatedRegions, Rect const& visibleRegion);

        IFACEMETHOD(get_InvalidatedRegions)(uint32_t*, Rect**) override;
        IFACEMETHOD(get_VisibleRegion)(Rect*) override;
    };

} } } } } }


text:
package com.microsoft.windowsazure.mobileservices.sdk.testapp.test;

public class PersonTestObject {
	private int id;
	private String firstName;
	private String lastName;
	private int age;

	public PersonTestObject(String firstName, String lastName, int age) {
		this.firstName = firstName;
		this.lastName = lastName;
		this.age = age;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}
}


text:
namespace {

const extensions::Extension* GetExtensionForTab(Profile* profile,
                                                content::WebContents* tab) {
  ExtensionService* extension_service =
      extensions::ExtensionSystem::Get(profile)->extension_service();
  if (!extension_service || !extension_service->extensions_enabled())
    return nullptr;

  // Note: It is possible to come here after a tab got removed form the browser
  // before it gets destroyed, in which case there is no browser.
  Browser* browser = chrome::FindBrowserWithWebContents(tab);

  extensions::ExtensionRegistry* registry =
      extensions::ExtensionRegistry::Get(profile);

  // Use the Browser's app name to determine the extension for app windows and
  // use the tab's url for app tabs.
  if (browser && browser->is_app()) {
    return registry->GetExtensionById(
        web_app::GetExtensionIdFromApplicationName(browser->app_name()),
        extensions::ExtensionRegistry::EVERYTHING);
  }

  const GURL url = tab->GetURL();
  const extensions::ExtensionSet& extensions = registry->enabled_extensions();
  const extensions::Extension* extension = extensions.GetAppByURL(url);
  if (extension && !extensions::LaunchesInWindow(profile, extension))
    return extension;

  // Bookmark app windows should match their launch url extension despite
  // their web extents.
  if (extensions::util::IsNewBookmarkAppsEnabled()) {
    for (const auto& i : extensions) {
      if (i.get()->from_bookmark() &&
          extensions::AppLaunchInfo::GetLaunchWebURL(i.get()) == url &&
          !extensions::LaunchesInWindow(profile, i.get())) {
        return i.get();
      }
    }
  }
  return nullptr;
}

const extensions::Extension* GetExtensionByID(Profile* profile,
                                              const std::string& id) {
  return extensions::ExtensionRegistry::Get(profile)->GetExtensionById(
      id, extensions::ExtensionRegistry::EVERYTHING);
}

std::string GetSourceFromAppListSource(ash::LaunchSource source) {
  switch (source) {
    case ash::LAUNCH_FROM_APP_LIST:
      return std::string(extension_urls::kLaunchSourceAppList);
    case ash::LAUNCH_FROM_APP_LIST_SEARCH:
      return std::string(extension_urls::kLaunchSourceAppListSearch);
    default:
      return std::string();
  }
}

}  // namespace

LauncherControllerHelper::LauncherControllerHelper(Profile* profile)
    : profile_(profile) {}

LauncherControllerHelper::~LauncherControllerHelper() {}

// static
base::string16 LauncherControllerHelper::GetAppTitle(
    Profile* profile,
    const std::string& app_id) {
  base::string16 title;
  if (app_id.empty())
    return title;

  // Get title if the app is an Arc app.
  ArcAppListPrefs* arc_prefs = ArcAppListPrefs::Get(profile);
  if (arc_prefs && arc_prefs->IsRegistered(app_id)) {
    std::unique_ptr<ArcAppListPrefs::AppInfo> app_info =
        arc_prefs->GetApp(app_id);
    DCHECK(app_info.get());
    if (app_info)
      title = base::UTF8ToUTF16(app_info->name);
    return title;
  }

  const extensions::Extension* extension = GetExtensionByID(profile, app_id);
  if (extension)
    title = base::UTF8ToUTF16(extension->name());
  return title;
}

std::string LauncherControllerHelper::GetAppID(content::WebContents* tab) {
  ProfileManager* profile_manager = g_browser_process->profile_manager();
  if (profile_manager) {
    const std::vector<Profile*> profile_list =
        profile_manager->GetLoadedProfiles();
    if (!profile_list.empty()) {
      for (auto* i : profile_list) {
        const extensions::Extension* extension = GetExtensionForTab(i, tab);
        if (extension)
          return extension->id();
      }
      return std::string();
    }
  }
  // If there is no profile manager we only use the known profile.
  const extensions::Extension* extension = GetExtensionForTab(profile_, tab);
  return extension ? extension->id() : std::string();
}

bool LauncherControllerHelper::IsValidIDForCurrentUser(
    const std::string& id) const {
  const ArcAppListPrefs* arc_prefs = GetArcAppListPrefs();
  if (arc_prefs && arc_prefs->IsRegistered(id))
    return true;
  if (!GetExtensionByID(profile_, id))
    return false;
  if (id == ArcSupportHost::kHostAppId) {
    if (!arc::ArcAuthService::IsAllowedForProfile(profile()))
      return false;
    const arc::ArcAuthService* arc_auth_service = arc::ArcAuthService::Get();
    DCHECK(arc_auth_service);
    if (!arc_auth_service->IsAllowed())
      return false;
    if (!arc_auth_service->IsArcEnabled() && arc_auth_service->IsArcManaged())
      return false;
  }

  return true;
}

void LauncherControllerHelper::SetCurrentUser(Profile* profile) {
  profile_ = profile;
}

void LauncherControllerHelper::LaunchApp(const std::string& app_id,
                                         ash::LaunchSource source,
                                         int event_flags) {
  const ArcAppListPrefs* arc_prefs = GetArcAppListPrefs();
  if (arc_prefs && arc_prefs->IsRegistered(app_id)) {
    arc::LaunchApp(profile_, app_id);
    return;
  }

  // |extension| could be null when it is being unloaded for updating.
  const extensions::Extension* extension = GetExtensionByID(profile_, app_id);
  if (!extension)
    return;

  if (!extensions::util::IsAppLaunchableWithoutEnabling(app_id, profile_)) {
    // Do nothing if there is already a running enable flow.
    if (extension_enable_flow_)
      return;

    extension_enable_flow_.reset(
        new ExtensionEnableFlow(profile_, app_id, this));
    extension_enable_flow_->StartForNativeWindow(nullptr);
    return;
  }

  // The app will be created for the currently active profile.
  AppLaunchParams params = CreateAppLaunchParamsWithEventFlags(
      profile_, extension, event_flags, extensions::SOURCE_APP_LAUNCHER);
  if (source != ash::LAUNCH_FROM_UNKNOWN &&
      app_id == extensions::kWebStoreAppId) {
    // Get the corresponding source string.
    std::string source_value = GetSourceFromAppListSource(source);

    // Set an override URL to include the source.
    GURL extension_url = extensions::AppLaunchInfo::GetFullLaunchURL(extension);
    params.override_url = net::AppendQueryParameter(
        extension_url, extension_urls::kWebstoreSourceField, source_value);
  }

  OpenApplication(params);
}

ArcAppListPrefs* LauncherControllerHelper::GetArcAppListPrefs() const {
  return ArcAppListPrefs::Get(profile_);
}

void LauncherControllerHelper::ExtensionEnableFlowFinished() {
  LaunchApp(extension_enable_flow_->extension_id(), ash::LAUNCH_FROM_UNKNOWN,
            ui::EF_NONE);
  extension_enable_flow_.reset();
}

void LauncherControllerHelper::ExtensionEnableFlowAborted(bool user_initiated) {
  extension_enable_flow_.reset();
}


text:
import React, { Component } from 'react';

import TopNavBar from '../container/topNavBar';
import SideMenu from '../components/sideMenu';

export default function(ComposedComponent) {
    class NormalPage extends Component {
        render() {
            return (

                    <SideMenu />

                        <ComposedComponent {...this.props} />
                        <TopNavBar />

            );
        }
    }
    return NormalPage;
}