<commit_before>#include "GHIElectronics_TinyCLR_Devices.h"
#include "GHIElectronics_TinyCLR_InteropUtil.h"

TinyCLR_Result Interop_GHIElectronics_TinyCLR_Devices_GHIElectronics_TinyCLR_Devices_Adc_Provider_AdcControllerApiWrapper::get_ChannelCount___I4(const TinyCLR_Interop_MethodData md) {
    auto provider = reinterpret_cast<const TinyCLR_Adc_Controller*>(TinyCLR_Interop_GetArgument(md, FIELD___impl___I));        
    auto ret = TinyCLR_Interop_GetReturn(md);

    ret.Data.Numeric->I4 = provider->GetChannelCount(provider);

    return TinyCLR_Result::Success;
}

TinyCLR_Result Interop_GHIElectronics_TinyCLR_Devices_GHIElectronics_TinyCLR_Devices_Adc_Provider_AdcControllerApiWrapper::get_ResolutionInBits___I4(const TinyCLR_Interop_MethodData md) {
    auto provider = reinterpret_cast<const TinyCLR_Adc_Controller*>(TinyCLR_Interop_GetArgument(md, FIELD___impl___I));
    auto ret = TinyCLR_Interop_GetReturn(md);

    ret.Data.Numeric->I4 = provider->GetResolutionInBits(provider);

    return TinyCLR_Result::Success;
}

TinyCLR_Result Interop_GHIElectronics_TinyCLR_Devices_GHIElectronics_TinyCLR_Devices_Adc_Provider_AdcControllerApiWrapper::get_MinValue___I4(const TinyCLR_Interop_MethodData md) {
    auto provider = reinterpret_cast<const TinyCLR_Adc_Controller*>(TinyCLR_Interop_GetArgument(md, FIELD___impl___I));
    auto ret = TinyCLR_Interop_GetReturn(md);

    ret.Data.Numeric->I4 = provider->GetMinValue(provider);

    return TinyCLR_Result::Success;
}

TinyCLR_Result Interop_GHIElectronics_TinyCLR_Devices_GHIElectronics_TinyCLR_Devices_Adc_Provider_AdcControllerApiWrapper::get_MaxValue___I4(const TinyCLR_Interop_MethodData md) {
    auto provider = reinterpret_cast<const TinyCLR_Adc_Controller*>(TinyCLR_Interop_GetArgument(md, FIELD___impl___I));
    auto ret = TinyCLR_Interop_GetReturn(md);

    ret.Data.Numeric->I4 = provider->GetMaxValue(provider);

    return TinyCLR_Result::Success;
}

TinyCLR_Result Interop_GHIElectronics_TinyCLR_Devices_GHIElectronics_TinyCLR_Devices_Adc_Provider_AdcControllerApiWrapper::IsChannelModeSupported___BOOLEAN__GHIElectronicsTinyCLRDevicesAdcAdcChannelMode(const TinyCLR_Interop_MethodData md) {
    auto provider = reinterpret_cast<const TinyCLR_Adc_Controller*>(TinyCLR_Interop_GetArgument(md, FIELD___impl___I));
    auto arg1 = TinyCLR_Interop_GetArguments(md, 0);
    auto ret = TinyCLR_Interop_GetReturn(md);

    ret.Data.Numeric->Boolean = provider->IsChannelModeSupported(provider, reintrepret_cast<TinyCLR_Adc_ChannelMode>(arg1.Data.Numeric->U4));

    return TinyCLR_Result::Success;
}

TinyCLR_Result Interop_GHIElectronics_TinyCLR_Devices_GHIElectronics_TinyCLR_Devices_Adc_Provider_AdcControllerApiWrapper::GetChannelMode___GHIElectronicsTinyCLRDevicesAdcAdcChannelMode(const TinyCLR_Interop_MethodData md) {
    auto provider = reinterpret_cast<const TinyCLR_Adc_Controller*>(TinyCLR_Interop_GetArgument(md, FIELD___impl___I));
    auto ret = TinyCLR_Interop_GetReturn(md);

    ret.Data.Numeric->I4 = static_cast<int32_t>(provider->GetChannelMode(provider));

    return TinyCLR_Result::Success;
}

TinyCLR_Result Interop_GHIElectronics_TinyCLR_Devices_GHIElectronics_TinyCLR_Devices_Adc_Provider_AdcControllerApiWrapper::SetChannelMode___VOID__GHIElectronicsTinyCLRDevicesAdcAdcChannelMode(const TinyCLR_Interop_MethodData md) {
    auto provider = reinterpret_cast<const TinyCLR_Adc_Controller*>(TinyCLR_Interop_GetArgument(md, FIELD___impl___I));
    auto arg1 = TinyCLR_Interop_GetArguments(md, 0);

    return provider->SetChannelMode(provider, static_cast<TinyCLR_Adc_ChannelMode>(arg1.Data.Numeric->U4));
}

TinyCLR_Result Interop_GHIElectronics_TinyCLR_Devices_GHIElectronics_TinyCLR_Devices_Adc_Provider_AdcControllerApiWrapper::OpenChannel___VOID__I4(const TinyCLR_Interop_MethodData md) {
    auto provider = reinterpret_cast<const TinyCLR_Adc_Controller*>(TinyCLR_Interop_GetArgument(md, FIELD___impl___I));
    auto arg1 = TinyCLR_Interop_GetArguments(md, 0);

    return provider->OpenChannel(provider, arg1.Data.Numeric->U4);
}

TinyCLR_Result Interop_GHIElectronics_TinyCLR_Devices_GHIElectronics_TinyCLR_Devices_Adc_Provider_AdcControllerApiWrapper::CloseChannel___VOID__I4(const TinyCLR_Interop_MethodData md) {
    auto provider = reinterpret_cast<const TinyCLR_Adc_Controller*>(TinyCLR_Interop_GetArgument(md, FIELD___impl___I));
    auto arg1 = TinyCLR_Interop_GetArguments(md, 0);

    return provider->CloseChannel(provider, arg1.Data.Numeric->U4);
}

TinyCLR_Result Interop_GHIElectronics_TinyCLR_Devices_GHIElectronics_TinyCLR_Devices_Adc_Provider_AdcControllerApiWrapper::Read___I4__I4(const TinyCLR_Interop_MethodData md) {
    auto provider = reinterpret_cast<const TinyCLR_Adc_Controller*>(TinyCLR_Interop_GetArgument(md, FIELD___impl___I));
    auto arg1 = TinyCLR_Interop_GetArguments(md, 0);
    auto ret = TinyCLR_Interop_GetReturn(md);

    return provider->ReadChannel(provider, arg1.Data.Numeric->U4, ret.Data.Numeric->I4);
}

TinyCLR_Result Interop_GHIElectronics_TinyCLR_Devices_GHIElectronics_TinyCLR_Devices_Adc_Provider_AdcControllerApiWrapper::Acquire___VOID(const TinyCLR_Interop_MethodData md) {
    auto provider = reinterpret_cast<const TinyCLR_Adc_Controller*>(TinyCLR_Interop_GetArgument(md, FIELD___impl___I));

    return provider->Acquire(provider);
}

TinyCLR_Result Interop_GHIElectronics_TinyCLR_Devices_GHIElectronics_TinyCLR_Devices_Adc_Provider_AdcControllerApiWrapper::Release___VOID(const TinyCLR_Interop_MethodData md) {
    auto provider = reinterpret_cast<const TinyCLR_Adc_Controller*>(TinyCLR_Interop_GetArgument(md, FIELD___impl___I));

    return provider->Release(provider);
}<commit_msg>Renamed a few things in ADC<commit_after>#include "GHIElectronics_TinyCLR_Devices.h"
#include "GHIElectronics_TinyCLR_InteropUtil.h"

TinyCLR_Result Interop_GHIElectronics_TinyCLR_Devices_GHIElectronics_TinyCLR_Devices_Adc_Provider_AdcControllerApiWrapper::get_ChannelCount___I4(const TinyCLR_Interop_MethodData md) {
    auto api = reinterpret_cast<const TinyCLR_Adc_Controller*>(TinyCLR_Interop_GetApi(md, FIELD___impl___I));        
    auto ret = TinyCLR_Interop_GetReturn(md);

    ret.Data.Numeric->I4 = api->GetChannelCount(api);

    return TinyCLR_Result::Success;
}

TinyCLR_Result Interop_GHIElectronics_TinyCLR_Devices_GHIElectronics_TinyCLR_Devices_Adc_Provider_AdcControllerApiWrapper::get_ResolutionInBits___I4(const TinyCLR_Interop_MethodData md) {
    auto api = reinterpret_cast<const TinyCLR_Adc_Controller*>(TinyCLR_Interop_GetApi(md, FIELD___impl___I));
    auto ret = TinyCLR_Interop_GetReturn(md);

    ret.Data.Numeric->I4 = api->GetResolutionInBits(api);

    return TinyCLR_Result::Success;
}

TinyCLR_Result Interop_GHIElectronics_TinyCLR_Devices_GHIElectronics_TinyCLR_Devices_Adc_Provider_AdcControllerApiWrapper::get_MinValue___I4(const TinyCLR_Interop_MethodData md) {
    auto api = reinterpret_cast<const TinyCLR_Adc_Controller*>(TinyCLR_Interop_GetApi(md, FIELD___impl___I));
    auto ret = TinyCLR_Interop_GetReturn(md);

    ret.Data.Numeric->I4 = api->GetMinValue(api);

    return TinyCLR_Result::Success;
}

TinyCLR_Result Interop_GHIElectronics_TinyCLR_Devices_GHIElectronics_TinyCLR_Devices_Adc_Provider_AdcControllerApiWrapper::get_MaxValue___I4(const TinyCLR_Interop_MethodData md) {
    auto api = reinterpret_cast<const TinyCLR_Adc_Controller*>(TinyCLR_Interop_GetApi(md, FIELD___impl___I));
    auto ret = TinyCLR_Interop_GetReturn(md);

    ret.Data.Numeric->I4 = api->GetMaxValue(api);

    return TinyCLR_Result::Success;
}

TinyCLR_Result Interop_GHIElectronics_TinyCLR_Devices_GHIElectronics_TinyCLR_Devices_Adc_Provider_AdcControllerApiWrapper::IsChannelModeSupported___BOOLEAN__GHIElectronicsTinyCLRDevicesAdcAdcChannelMode(const TinyCLR_Interop_MethodData md) {
    auto api = reinterpret_cast<const TinyCLR_Adc_Controller*>(TinyCLR_Interop_GetApi(md, FIELD___impl___I));
    auto arg1 = TinyCLR_Interop_GetArgument(md, 0);
    auto ret = TinyCLR_Interop_GetReturn(md);

    ret.Data.Numeric->Boolean = api->IsChannelModeSupported(api, reintrepret_cast<TinyCLR_Adc_ChannelMode>(arg1.Data.Numeric->U4));

    return TinyCLR_Result::Success;
}

TinyCLR_Result Interop_GHIElectronics_TinyCLR_Devices_GHIElectronics_TinyCLR_Devices_Adc_Provider_AdcControllerApiWrapper::GetChannelMode___GHIElectronicsTinyCLRDevicesAdcAdcChannelMode(const TinyCLR_Interop_MethodData md) {
    auto api = reinterpret_cast<const TinyCLR_Adc_Controller*>(TinyCLR_Interop_GetApi(md, FIELD___impl___I));
    auto ret = TinyCLR_Interop_GetReturn(md);

    ret.Data.Numeric->I4 = static_cast<int32_t>(api->GetChannelMode(api));

    return TinyCLR_Result::Success;
}

TinyCLR_Result Interop_GHIElectronics_TinyCLR_Devices_GHIElectronics_TinyCLR_Devices_Adc_Provider_AdcControllerApiWrapper::SetChannelMode___VOID__GHIElectronicsTinyCLRDevicesAdcAdcChannelMode(const TinyCLR_Interop_MethodData md) {
    auto api = reinterpret_cast<const TinyCLR_Adc_Controller*>(TinyCLR_Interop_GetApi(md, FIELD___impl___I));
    auto arg1 = TinyCLR_Interop_GetArgument(md, 0);

    return api->SetChannelMode(api, static_cast<TinyCLR_Adc_ChannelMode>(arg1.Data.Numeric->U4));
}

TinyCLR_Result Interop_GHIElectronics_TinyCLR_Devices_GHIElectronics_TinyCLR_Devices_Adc_Provider_AdcControllerApiWrapper::OpenChannel___VOID__I4(const TinyCLR_Interop_MethodData md) {
    auto api = reinterpret_cast<const TinyCLR_Adc_Controller*>(TinyCLR_Interop_GetApi(md, FIELD___impl___I));
    auto arg1 = TinyCLR_Interop_GetArgument(md, 0);

    return api->OpenChannel(api, arg1.Data.Numeric->U4);
}

TinyCLR_Result Interop_GHIElectronics_TinyCLR_Devices_GHIElectronics_TinyCLR_Devices_Adc_Provider_AdcControllerApiWrapper::CloseChannel___VOID__I4(const TinyCLR_Interop_MethodData md) {
    auto api = reinterpret_cast<const TinyCLR_Adc_Controller*>(TinyCLR_Interop_GetApi(md, FIELD___impl___I));
    auto arg1 = TinyCLR_Interop_GetArgument(md, 0);

    return api->CloseChannel(api, arg1.Data.Numeric->U4);
}

TinyCLR_Result Interop_GHIElectronics_TinyCLR_Devices_GHIElectronics_TinyCLR_Devices_Adc_Provider_AdcControllerApiWrapper::Read___I4__I4(const TinyCLR_Interop_MethodData md) {
    auto api = reinterpret_cast<const TinyCLR_Adc_Controller*>(TinyCLR_Interop_GetApi(md, FIELD___impl___I));
    auto arg1 = TinyCLR_Interop_GetArgument(md, 0);
    auto ret = TinyCLR_Interop_GetReturn(md);

    return api->ReadChannel(api, arg1.Data.Numeric->U4, ret.Data.Numeric->I4);
}

TinyCLR_Result Interop_GHIElectronics_TinyCLR_Devices_GHIElectronics_TinyCLR_Devices_Adc_Provider_AdcControllerApiWrapper::Acquire___VOID(const TinyCLR_Interop_MethodData md) {
    auto api = reinterpret_cast<const TinyCLR_Adc_Controller*>(TinyCLR_Interop_GetApi(md, FIELD___impl___I));

    return api->Acquire(api);
}

TinyCLR_Result Interop_GHIElectronics_TinyCLR_Devices_GHIElectronics_TinyCLR_Devices_Adc_Provider_AdcControllerApiWrapper::Release___VOID(const TinyCLR_Interop_MethodData md) {
    auto api = reinterpret_cast<const TinyCLR_Adc_Controller*>(TinyCLR_Interop_GetApi(md, FIELD___impl___I));

    return api->Release(api);
}
{'fraction_non_alphanumeric': 0.07342436024957048, 'fraction_numerical': 0.006510534406365856, 'mean_word_length': 9.907297830374754, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 81, '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': '5650370', 'n_tokens_mistral': 4255, 'n_tokens_neox': 4063, 'n_words': 395}