<commit_before>package scard

// #cgo pkg-config: libpcsclite
// #include <winscard.h>
// #include <reader.h>
import "C"

const (
	ATTR_VENDOR_NAME              uint32 = C.SCARD_ATTR_VENDOR_NAME
	ATTR_VENDOR_IFD_TYPE          uint32 = C.SCARD_ATTR_VENDOR_IFD_TYPE
	ATTR_VENDOR_IFD_VERSION       uint32 = C.SCARD_ATTR_VENDOR_IFD_VERSION
	ATTR_VENDOR_IFD_SERIAL_NO     uint32 = C.SCARD_ATTR_VENDOR_IFD_SERIAL_NO
	ATTR_CHANNEL_ID               uint32 = C.SCARD_ATTR_CHANNEL_ID
	ATTR_ASYNC_PROTOCOL_TYPES     uint32 = C.SCARD_ATTR_ASYNC_PROTOCOL_TYPES
	ATTR_DEFAULT_CLK              uint32 = C.SCARD_ATTR_DEFAULT_CLK
	ATTR_MAX_CLK                  uint32 = C.SCARD_ATTR_MAX_CLK
	ATTR_DEFAULT_DATA_RATE        uint32 = C.SCARD_ATTR_DEFAULT_DATA_RATE
	ATTR_MAX_DATA_RATE            uint32 = C.SCARD_ATTR_MAX_DATA_RATE
	ATTR_MAX_IFSD                 uint32 = C.SCARD_ATTR_MAX_IFSD
	ATTR_SYNC_PROTOCOL_TYPES      uint32 = C.SCARD_ATTR_SYNC_PROTOCOL_TYPES
	ATTR_POWER_MGMT_SUPPORT       uint32 = C.SCARD_ATTR_POWER_MGMT_SUPPORT
	ATTR_USER_TO_CARD_AUTH_DEVICE uint32 = C.SCARD_ATTR_USER_TO_CARD_AUTH_DEVICE
	ATTR_USER_AUTH_INPUT_DEVICE   uint32 = C.SCARD_ATTR_USER_AUTH_INPUT_DEVICE
	ATTR_CHARACTERISTICS          uint32 = C.SCARD_ATTR_CHARACTERISTICS
	ATTR_CURRENT_PROTOCOL_TYPE    uint32 = C.SCARD_ATTR_CURRENT_PROTOCOL_TYPE
	ATTR_CURRENT_CLK              uint32 = C.SCARD_ATTR_CURRENT_CLK
	ATTR_CURRENT_F                uint32 = C.SCARD_ATTR_CURRENT_F
	ATTR_CURRENT_D                uint32 = C.SCARD_ATTR_CURRENT_D
	ATTR_CURRENT_N                uint32 = C.SCARD_ATTR_CURRENT_N
	ATTR_CURRENT_W                uint32 = C.SCARD_ATTR_CURRENT_W
	ATTR_CURRENT_IFSC             uint32 = C.SCARD_ATTR_CURRENT_IFSC
	ATTR_CURRENT_IFSD             uint32 = C.SCARD_ATTR_CURRENT_IFSD
	ATTR_CURRENT_BWT              uint32 = C.SCARD_ATTR_CURRENT_BWT
	ATTR_CURRENT_CWT              uint32 = C.SCARD_ATTR_CURRENT_CWT
	ATTR_CURRENT_EBC_ENCODING     uint32 = C.SCARD_ATTR_CURRENT_EBC_ENCODING
	ATTR_EXTENDED_BWT             uint32 = C.SCARD_ATTR_EXTENDED_BWT
	ATTR_ICC_PRESENCE             uint32 = C.SCARD_ATTR_ICC_PRESENCE
	ATTR_ICC_INTERFACE_STATUS     uint32 = C.SCARD_ATTR_ICC_INTERFACE_STATUS
	ATTR_CURRENT_IO_STATE         uint32 = C.SCARD_ATTR_CURRENT_IO_STATE
	ATTR_ATR_STRING               uint32 = C.SCARD_ATTR_ATR_STRING
	ATTR_ICC_TYPE_PER_ATR         uint32 = C.SCARD_ATTR_ICC_TYPE_PER_ATR
	ATTR_ESC_RESET                uint32 = C.SCARD_ATTR_ESC_RESET
	ATTR_ESC_CANCEL               uint32 = C.SCARD_ATTR_ESC_CANCEL
	ATTR_ESC_AUTHREQUEST          uint32 = C.SCARD_ATTR_ESC_AUTHREQUEST
	ATTR_MAXINPUT                 uint32 = C.SCARD_ATTR_MAXINPUT
	ATTR_DEVICE_UNIT              uint32 = C.SCARD_ATTR_DEVICE_UNIT
	ATTR_DEVICE_IN_USE            uint32 = C.SCARD_ATTR_DEVICE_IN_USE
	ATTR_DEVICE_FRIENDLY_NAME     uint32 = C.SCARD_ATTR_DEVICE_FRIENDLY_NAME
	ATTR_DEVICE_SYSTEM_NAME       uint32 = C.SCARD_ATTR_DEVICE_SYSTEM_NAME
	ATTR_SUPRESS_T1_IFS_REQUEST   uint32 = C.SCARD_ATTR_SUPRESS_T1_IFS_REQUEST
)<commit_msg>drop cgo dependency for attribs.go<commit_after>package scard

const (
	ATTR_VENDOR_NAME              uint32 = 0x00010100
	ATTR_VENDOR_IFD_TYPE          uint32 = 0x00010101
	ATTR_VENDOR_IFD_VERSION       uint32 = 0x00010102
	ATTR_VENDOR_IFD_SERIAL_NO     uint32 = 0x00010103
	ATTR_CHANNEL_ID               uint32 = 0x00020110
	ATTR_ASYNC_PROTOCOL_TYPES     uint32 = 0x00030120
	ATTR_DEFAULT_CLK              uint32 = 0x00030121
	ATTR_MAX_CLK                  uint32 = 0x00030122
	ATTR_DEFAULT_DATA_RATE        uint32 = 0x00030123
	ATTR_MAX_DATA_RATE            uint32 = 0x00030124
	ATTR_MAX_IFSD                 uint32 = 0x00030125
	ATTR_SYNC_PROTOCOL_TYPES      uint32 = 0x00030126
	ATTR_POWER_MGMT_SUPPORT       uint32 = 0x00040131
	ATTR_USER_TO_CARD_AUTH_DEVICE uint32 = 0x00050140
	ATTR_USER_AUTH_INPUT_DEVICE   uint32 = 0x00050142
	ATTR_CHARACTERISTICS          uint32 = 0x00060150
	ATTR_CURRENT_PROTOCOL_TYPE    uint32 = 0x00080201
	ATTR_CURRENT_CLK              uint32 = 0x00080202
	ATTR_CURRENT_F                uint32 = 0x00080203
	ATTR_CURRENT_D                uint32 = 0x00080204
	ATTR_CURRENT_N                uint32 = 0x00080205
	ATTR_CURRENT_W                uint32 = 0x00080206
	ATTR_CURRENT_IFSC             uint32 = 0x00080207
	ATTR_CURRENT_IFSD             uint32 = 0x00080208
	ATTR_CURRENT_BWT              uint32 = 0x00080209
	ATTR_CURRENT_CWT              uint32 = 0x0008020a
	ATTR_CURRENT_EBC_ENCODING     uint32 = 0x0008020b
	ATTR_EXTENDED_BWT             uint32 = 0x0008020c
	ATTR_ICC_PRESENCE             uint32 = 0x00090300
	ATTR_ICC_INTERFACE_STATUS     uint32 = 0x00090301
	ATTR_CURRENT_IO_STATE         uint32 = 0x00090302
	ATTR_ATR_STRING               uint32 = 0x00090303
	ATTR_ICC_TYPE_PER_ATR         uint32 = 0x00090304
	ATTR_ESC_RESET                uint32 = 0x0007a000
	ATTR_ESC_CANCEL               uint32 = 0x0007a003
	ATTR_ESC_AUTHREQUEST          uint32 = 0x0007a005
	ATTR_MAXINPUT                 uint32 = 0x0007a007
	ATTR_DEVICE_UNIT              uint32 = 0x7fff0001
	ATTR_DEVICE_IN_USE            uint32 = 0x7fff0002
	ATTR_DEVICE_FRIENDLY_NAME     uint32 = 0x7fff0003
	ATTR_DEVICE_SYSTEM_NAME       uint32 = 0x7fff0004
	ATTR_SUPRESS_T1_IFS_REQUEST   uint32 = 0x7fff0007
)
{'fraction_non_alphanumeric': 0.02989078367503353, 'fraction_numerical': 0.10097719869706841, 'mean_word_length': 2.930722891566265, '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': '1290149', 'n_tokens_mistral': 2263, 'n_tokens_neox': 1951, 'n_words': 271}