<commit_before>/*=========================================================================

  Program:   Insight Segmentation & Registration Toolkit
  Module:    itkWin32Header.h
  Language:  C++
  Date:      $Date$
  Version:   $Revision$


Copyright (c) 2000 National Library of Medicine
All rights reserved.

See COPYRIGHT.txt for copyright details.

=========================================================================*/

#ifndef __itkWIN32Header_h
#define __itkWIN32Header_h

// add in the Windows variants
#if defined(_WIN32) || defined(WIN32)
#include <windows.h>

#pragma warning ( disable : 4244 )
#pragma warning ( disable : 4305 )
#pragma warning ( disable : 4309 )
#pragma warning ( disable : 4786 )
#pragma warning ( disable : 4800 )

#ifdef ITKDLL
#define ITK_EXPORT __declspec( dllexport ) 
#else
//#define ITK_EXPORT __declspec( dllimport )
#define ITK_EXPORT __declspec( dllexport ) 
#endif

// Now for the UNIX stuff
#else 

#define ITK_EXPORT

#endif

#endif<commit_msg>STYLE: Commented the purpose of each warning that is disabled.<commit_after>/*=========================================================================

  Program:   Insight Segmentation & Registration Toolkit
  Module:    itkWin32Header.h
  Language:  C++
  Date:      $Date$
  Version:   $Revision$


Copyright (c) 2000 National Library of Medicine
All rights reserved.

See COPYRIGHT.txt for copyright details.

=========================================================================*/

#ifndef __itkWIN32Header_h
#define __itkWIN32Header_h

// add in the Windows variants
#if defined(_WIN32) || defined(WIN32)
#include <windows.h>

//
// Disable some common warnings in MS VC++
//

// 'conversion' conversion from 'type1' to 'type2', possible loss of data
#pragma warning ( disable : 4244 )

// 'identifier' : truncation from 'type1' to 'type2'
#pragma warning ( disable : 4305 )

// 'conversion' : truncation of constant value
#pragma warning ( disable : 4309 )

// 'identifier' : identifier was truncated to 'number' characters in the
// debug information
#pragma warning ( disable : 4786 )

// 'type' : forcing value to bool 'true' or 'false' (performance warning)
#pragma warning ( disable : 4800 )

// 'identifier' : class 'type' needs to have dll-interface to be used by
// clients of class 'type2'
#pragma warning ( disable : 4251 )

#ifdef ITKDLL
#define ITK_EXPORT __declspec( dllexport ) 
#else
//#define ITK_EXPORT __declspec( dllimport )
#define ITK_EXPORT __declspec( dllexport ) 
#endif

// Now for the UNIX stuff
#else 

#define ITK_EXPORT

#endif

#endif

{'fraction_non_alphanumeric': 0.20264488525865423, 'fraction_numerical': 0.029949436017113962, 'mean_word_length': 4.665198237885463, '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': '2616985', 'n_tokens_mistral': 826, 'n_tokens_neox': 728, 'n_words': 254}