<commit_before>//
//  Constants.h
//  ios-base
//
//  Created by <NAME> on 14.02.14.
//  Copyright (c) 2014 FlatStack. All rights reserved.
//

#ifndef ios_base_Constants_h
#define ios_base_Constants_h

#define kTestflightAppToken @"<KEY>"

/*------------debugging------------*/
#ifdef DEBUG
#define DLog(...) NSLog(@"%s %@", __PRETTY_FUNCTION__, [NSString stringWithFormat:__VA_ARGS__])
#define ALog(...) [[NSAssertionHandler currentHandler] handleFailureInFunction:[NSString stringWithCString:__PRETTY_FUNCTION__ encoding:NSUTF8StringEncoding] file:[NSString stringWithCString:__FILE__ encoding:NSUTF8StringEncoding] lineNumber:__LINE__ description:__VA_ARGS__]
#else
#define DLog(...) do { } while (0)
#ifndef NS_BLOCK_ASSERTIONS
#define NS_BLOCK_ASSERTIONS
#endif
#define ALog(...) NSLog(@"%s %@", __PRETTY_FUNCTION__, [NSString stringWithFormat:__VA_ARGS__])
#endif

#define ZAssert(condition, ...) do { if (!(condition)) { ALog(__VA_ARGS__); }} while(0)

/*------------typedefs------------*/
typedef void(^DictionaryCallback)(NSDictionary* resultDict);
typedef void(^ArrayCallback)(NSArray* resultArray);
typedef void(^BOOLCallback)(BOOL success);
typedef void(^Callback)(void);
typedef void(^ProgressFloatCallback)(float progress);
typedef void(^ObjectCallback)(id object);

/*----------Notifications---------*/
static NSString *const kMockNotification = @"mock_notification";

#endif<commit_msg>fix DLog define<commit_after>//
//  Constants.h
//  ios-base
//
//  Created by <NAME> on 14.02.14.
//  Copyright (c) 2014 FlatStack. All rights reserved.
//

#ifndef ios_base_Constants_h
#define ios_base_Constants_h

#define kTestflightAppToken @"<KEY>"

/*------------debugging------------*/
#ifdef DEBUG
#define DLog(...) NSLog(@"%s %@", __PRETTY_FUNCTION__, [NSString stringWithFormat:__VA_ARGS__])
#define ALog(...) [[NSAssertionHandler currentHandler] handleFailureInFunction:[NSString stringWithCString:__PRETTY_FUNCTION__ encoding:NSUTF8StringEncoding] file:[NSString stringWithCString:__FILE__ encoding:NSUTF8StringEncoding] lineNumber:__LINE__ description:__VA_ARGS__]
#else
#define DLog(...)
#ifndef NS_BLOCK_ASSERTIONS
#define NS_BLOCK_ASSERTIONS
#endif
#define ALog(...) NSLog(@"%s %@", __PRETTY_FUNCTION__, [NSString stringWithFormat:__VA_ARGS__])
#endif

#define ZAssert(condition, ...) do { if (!(condition)) { ALog(__VA_ARGS__); }} while(0)

/*------------typedefs------------*/
typedef void(^DictionaryCallback)(NSDictionary* resultDict);
typedef void(^ArrayCallback)(NSArray* resultArray);
typedef void(^BOOLCallback)(BOOL success);
typedef void(^Callback)(void);
typedef void(^ProgressFloatCallback)(float progress);
typedef void(^ObjectCallback)(id object);

/*----------Notifications---------*/
static NSString *const kMockNotification = @"mock_notification";

#endif
{'fraction_non_alphanumeric': 0.1827302042278753, 'fraction_numerical': 0.009673951988534575, 'mean_word_length': 5.176991150442478, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3281532', 'n_tokens_mistral': 915, 'n_tokens_neox': 844, 'n_words': 184}