<commit_before>#import <CoreFoundation/CoreFoundation.h>

#ifdef __cplusplus

#if defined(__WIN32__)
#if defined(SECURITY_INSIDE_BUILD)
#define SECURITY_EXPORT extern "C" __declspec(dllexport)
#else
#define SECURITY_EXPORT extern "C" __declspec(dllimport) 
#endif
#else
#define SECURITY_EXPORT extern "C"
#endif

#else

#if defined(__WIN32__)
#if defined(SECURITY_INSIDE_BUILD)
#define SECURITY_EXPORT __declspec(dllexport) extern
#else
#define SECURITY_EXPORT __declspec(dllimport) extern
#endif
#else
#define SECURITY_EXPORT extern
#endif

#endif

typedef OSType SecKeychainAttrType;

typedef struct SecKeychainAttribute {
   SecKeychainAttrType tag;
   UInt32              length;
   void               *data;
} SecKeychainAttribute;

typedef struct SecKeychainAttributeList {
   UInt32                count;
   SecKeychainAttribute *attr;
} SecKeychainAttributeList;

typedef struct SecKeychainAttributeInfo {
   UInt32 count;
   UInt32 *tag;
   UInt32 *format;
} SecKeychainAttributeInfo;

// objc for now
@class SecKeychainItem,SecKeychainSearch,SecAccess,SecKeychain,SecTrustedApplication;

typedef SecKeychainItem *SecKeychainItemRef;
typedef SecKeychainSearch *SecKeychainSearchRef;
typedef SecAccess *SecAccessRef;
typedef SecKeychain *SecKeychainRef;
typedef SecTrustedApplication *SecTrustedApplicationRef;

// Keychain Item Attributes
typedef OSType SecItemClass;

enum {
   kSecDescriptionItemAttr='desc',
   kSecCreatorItemAttr='crtr',
   kSecTypeItemAttr='type',
   kSecLabelItemAttr='labl',
   kSecCustomIconItemAttr= 'cusi',
   kSecAccountItemAttr='acct',
   kSecServerItemAttr='srvr',
   kSecProtocolItemAttr='ptcl',
   kSecServiceItemAttr='svce',
   kSecGenericPasswordItemClass='genp'   <commit_msg>Turned multi-character constants into hex values to quiet noisy watnings.<commit_after>#import <CoreFoundation/CoreFoundation.h>

#ifdef __cplusplus

#if defined(__WIN32__)
#if defined(SECURITY_INSIDE_BUILD)
#define SECURITY_EXPORT extern "C" __declspec(dllexport)
#else
#define SECURITY_EXPORT extern "C" __declspec(dllimport) 
#endif
#else
#define SECURITY_EXPORT extern "C"
#endif

#else

#if defined(__WIN32__)
#if defined(SECURITY_INSIDE_BUILD)
#define SECURITY_EXPORT __declspec(dllexport) extern
#else
#define SECURITY_EXPORT __declspec(dllimport) extern
#endif
#else
#define SECURITY_EXPORT extern
#endif

#endif

typedef OSType SecKeychainAttrType;

typedef struct SecKeychainAttribute {
   SecKeychainAttrType tag;
   UInt32              length;
   void               *data;
} SecKeychainAttribute;

typedef struct SecKeychainAttributeList {
   UInt32                count;
   SecKeychainAttribute *attr;
} SecKeychainAttributeList;

typedef struct SecKeychainAttributeInfo {
   UInt32 count;
   UInt32 *tag;
   UInt32 *format;
} SecKeychainAttributeInfo;

// objc for now
@class SecKeychainItem,SecKeychainSearch,SecAccess,SecKeychain,SecTrustedApplication;

typedef SecKeychainItem *SecKeychainItemRef;
typedef SecKeychainSearch *SecKeychainSearchRef;
typedef SecAccess *SecAccessRef;
typedef SecKeychain *SecKeychainRef;
typedef SecTrustedApplication *SecTrustedApplicationRef;

// Keychain Item Attributes
typedef OSType SecItemClass;

enum {
   kSecDescriptionItemAttr=/* 'desc' */ 1684370275,
   kSecCreatorItemAttr=/* 'crtr' */ 1668445298,
   kSecTypeItemAttr=/* 'type' */ 1954115685,
   kSecLabelItemAttr=/* 'labl' */ 1818321516,
   kSecCustomIconItemAttr=/* 'cusi' */ 1668641641,
   kSecAccountItemAttr='/* acct' */ 1633903476,
   kSecServerItemAttr=/* 'srvr' */ 1936881266,
   kSecProtocolItemAttr=/* 'ptcl' */ 1886675820,
   kSecServiceItemAttr=/* 'svce' */ 1937138533,
   kSecGenericPasswordItemClass=/* 'genp' */ 1734700656   
{'fraction_non_alphanumeric': 0.08449168710820387, 'fraction_numerical': 0.03488689016080676, 'mean_word_length': 5.709323583180987, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3663853', 'n_tokens_mistral': 1344, 'n_tokens_neox': 1190, 'n_words': 260}