repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
AustinShalit/sysid
sysid-application/src/main/native/include/sysid/analysis/Storage.h
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #pragma once #include <vector> #include <units/time.h> namespace sysid { /** * Represents each data point after it ...
AustinShalit/sysid
sysid-application/src/main/native/include/sysid/Util.h
<gh_stars>0 // Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #pragma once #include <string> #include <string_view> #include <vector> #include <wpi/fs.h> // The genera...
AustinShalit/sysid
sysid-projects/drive/src/main/include/Robot.h
<reponame>AustinShalit/sysid // Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #pragma once #include <ctre/Phoenix.h> #include <functional> #include <memory> #include <...
AustinShalit/sysid
sysid-projects/analysis-test/src/main/include/Elevator.h
<reponame>AustinShalit/sysid<gh_stars>0 // Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #pragma once #include <frc/AnalogGyro.h> #include <frc/Encoder.h> #include <frc...
AustinShalit/sysid
sysid-application/src/main/native/include/sysid/view/Generator.h
<filename>sysid-application/src/main/native/include/sysid/view/Generator.h // Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #pragma once #include <array> #include <memo...
AustinShalit/sysid
sysid-library/src/main/include/generation/SysIdSetup.h
<reponame>AustinShalit/sysid // Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #pragma once #include <ctre/Phoenix.h> #include <functional> #include <memory> #include <...
AustinShalit/sysid
sysid-projects/analysis-test/src/main/include/SimpleMotor.h
<filename>sysid-projects/analysis-test/src/main/include/SimpleMotor.h // Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #pragma once #include <frc/AnalogGyro.h> #include...
AustinShalit/sysid
sysid-library/src/main/include/logging/SysIdDrivetrainLogger.h
<reponame>AustinShalit/sysid<filename>sysid-library/src/main/include/logging/SysIdDrivetrainLogger.h // Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #pragma once #incl...
AustinShalit/sysid
sysid-application/src/main/native/include/sysid/view/AnalyzerPlot.h
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #pragma once #include <array> #include <atomic> #include <string> #include <vector> #include <imgui.h> #include <implo...
Siminov/android-samples
Core-Library-Sample/iOS/Siminov/Core/Library/Sample/Model/Credential.h
<filename>Core-Library-Sample/iOS/Siminov/Core/Library/Sample/Model/Credential.h /// /// [SIMINOV FRAMEWORK] /// Copyright [2014-2016] [Siminov Software Solution LLP|<EMAIL>] /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// ...
Siminov/android-samples
Core-Sample/iOS/Siminov/Core/Sample/Model/BookShopMapping.h
/// /// [SIMINOV FRAMEWORK] /// Copyright [2014-2016] [Siminov Software Solution LLP|<EMAIL>] /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You may obtain a copy of the License at /// /// http://www.apache.org/license...
Siminov/android-samples
Core-Sample/iOS/Siminov/Core/Sample/Model/Lession.h
/// /// [SIMINOV FRAMEWORK] /// Copyright [2014-2016] [Siminov Software Solution LLP|<EMAIL>] /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You may obtain a copy of the License at /// /// http://www.apache.org/license...
Siminov/android-samples
Core-Sample/iOS/Siminov/Core/Sample/Model/BookAndLessionJoin.h
/// /// [SIMINOV FRAMEWORK] /// Copyright [2014-2016] [Siminov Software Solution LLP|<EMAIL>] /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You may obtain a copy of the License at /// /// http://www.apache.org/license...
Siminov/android-samples
Connect-Sample/iOS/Siminov/Connect/Sample/CredentialManager.h
<filename>Connect-Sample/iOS/Siminov/Connect/Sample/CredentialManager.h /// /// [SIMINOV FRAMEWORK] /// Copyright [2014-2016] [Siminov Software Solution LLP|<EMAIL>] /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You may o...
Siminov/android-samples
Connect-Sample/iOS/Siminov/Connect/Sample/Model/Book.h
<reponame>Siminov/android-samples<filename>Connect-Sample/iOS/Siminov/Connect/Sample/Model/Book.h<gh_stars>1-10 /// /// [SIMINOV FRAMEWORK] /// Copyright [2014-2016] [Siminov Software Solution LLP|<EMAIL>] /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in co...
Siminov/android-samples
Hybrid-Phonegap-Sample/iOS/hybrid-phonegap-sample/ViewController.h
<reponame>Siminov/android-samples<filename>Hybrid-Phonegap-Sample/iOS/hybrid-phonegap-sample/ViewController.h<gh_stars>1-10 // // ViewController.h // hybrid-phonegap-sample // // Created by user on 09/08/15. // Copyright (c) 2015 Siminov. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController :...
Siminov/android-samples
Connect-Sample/iOS/Siminov/Connect/Sample/Model/Credential.h
<gh_stars>1-10 /// /// [SIMINOV FRAMEWORK] /// Copyright [2014-2016] [Siminov Software Solution LLP|<EMAIL>] /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You may obtain a copy of the License at /// /// http://www.apa...
Siminov/android-samples
Core-Sqlcipher-Sample/iOS/Siminov/Core/Sqlcipher/Sample/Model/Model.h
<filename>Core-Sqlcipher-Sample/iOS/Siminov/Core/Sqlcipher/Sample/Model/Model.h /// /// [SIMINOV FRAMEWORK] /// Copyright [2015] [Siminov Software Solution LLP|<EMAIL>] /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You ma...
Siminov/android-samples
Core-Sample/iOS/Siminov/Core/Sample/Model/Shop.h
/// /// [SIMINOV FRAMEWORK] /// Copyright [2014-2016] [Siminov Software Solution LLP|<EMAIL>] /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You may obtain a copy of the License at /// /// http://www.apache.org/license...
Siminov/android-samples
Connect-Sample/iOS/Siminov/Connect/Sample/Constants.h
/// /// [SIMINOV FRAMEWORK] /// Copyright [2014-2016] [Siminov Software Solution LLP|<EMAIL>] /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You may obtain a copy of the License at /// /// http://www.apache.org/license...
Siminov/android-samples
Hybrid-Native-Script-Sample/platforms/ios/HybridNativeScriptSample/SIHNativeScriptInterceptor.h
<reponame>Siminov/android-samples // // SIHReactInterceptor.h // hybridReactSample // // Created by user on 15/10/15. // Copyright © 2015 Facebook. All rights reserved. // #import <Foundation/Foundation.h> //#include "SICResourceManager.h" //#include "SIHResourceManager.h" //#include "SIHAdapterFactory.h" @inte...
Siminov/android-samples
Core-Sample/iOS/Siminov/Core/Sample/Model/Pricing.h
<filename>Core-Sample/iOS/Siminov/Core/Sample/Model/Pricing.h /// /// [SIMINOV FRAMEWORK] /// Copyright [2014-2016] [Siminov Software Solution LLP|<EMAIL>] /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You may obtain a co...
jaccharrison/ece422_project4
main.c
#include <msp430.h> #include <cs.h> #include <lcd.h> void init_gpio(void); void init_clocks(void); void lcd_print_char(char); void lcd_return_home(void); int main(void) { WDTCTL = WDTPW | WDTHOLD; /* Stop watchdog timer */ init_gpio(); init_clocks(); /* Count out 15ms with a timer; on expira...
jaccharrison/ece422_project4
lcd.h
<reponame>jaccharrison/ece422_project4<filename>lcd.h /** * External LCD API * Contains functions for the initialization, configuration, and control of an * external HD44780U LCD display. Use of the LCD requires: * - Pins 2.0-2.7 */ #ifndef LCD_H #define LCD_H #include <msp430.h> /* Device header file */ /* Pin ...
jaccharrison/ece422_project4
drivers/lcd.c
p#include "lcd.h" #define LCD_4bit_tx(A) \ P2OUT &= 0xF0; P2OUT |= 0x0F & A; P2OUT |= LCD_E; P2OUT &= ~LCD_E; #define LCD_wait() TA3CCR0 |= CCIE; TA3CTL = (TASSEL_2 | MC_1); \ _BIS_SR(LPM1_bits); void LCD_txbyte(char); /* Internal function used to send data to the LCD */ /** * init_lcd * Initializes the...
jaccharrison/ece422_project4
drivers/lcd.h
/** * External LCD API * Contains functions for the initialization, configuration, and control of an * external HD44780U LCD display. Use of the LCD requires: * - Pins 2.0-2.7 */ #ifndef LCD_H #define LCD_H #include <msp430.h> /* Device header file */ /* Pin definitions */ #define LCD_PINS 0x3F /* Pins 2.0 - 2.6...
jaccharrison/ece422_project4
lcd.c
<reponame>jaccharrison/ece422_project4<gh_stars>0 #include "lcd.h" #define LCD_4bit_tx(A) \ P2OUT &= 0xF0; P2OUT |= 0x0F & A; P2OUT |= LCD_E; P2OUT &= ~LCD_E #define LCD_wait() TA3CCTL0 |= CCIE; TA3CTL = (TASSEL_2 | MC_1); \ LPM1 void LCD_txbyte(char); /* Internal function used to send data to the LCD */ ...
AyahnaSyahid/a3plus
C/BagiPlano.c
<filename>C/BagiPlano.c // 29-April-2020 - Under COVID-19 #include <stdlib.h> #include <stdio.h> int iCalculate(int a, int b, int c, int d) { int ta = a ; // local a int pcount = 0, lcount = 0; // unused here int mn = c < d ? c : d; // minimum value of c vs d int mx = c > d ? c : ...
tmatos/progres
erros.c
<filename>erros.c /* Progres - Simulador de circuitos combinacionais em Verilog (C) 2014, 2015 <NAME> Under the terms of the MIT license. */ #include <stdio.h> #include <stdlib.h> #include "erros.h" void* exibeMsgErro(char* msg, int linha, int coluna, char* esperado, char *encontrado) { if(linha...
tmatos/progres
IDE/SinaisDrawPane.h
#ifndef SINAISDRAWPANE_H #define SINAISDRAWPANE_H #include "sinais.h" class SinaisDrawPane : public wxPanel { public: SinaisDrawPane(wxWindow* parent); void paintEvent(wxPaintEvent & evt); void paintNow(); void render(wxDC& dc); void setSinais(wxString filePath, bool isInput); ...
tmatos/progres
mem.c
/* Progres - Simulador de circuitos combinacionais em Verilog (C) 2014, 2015 <NAME> Under the terms of the MIT license. */ #include <stdlib.h> #include "erros.h" #include "mem.h" void* xmalloc(size_t t) { void* p = malloc(t); if(!p) erroFatalMemoria(); return p; } void* ...
tmatos/progres
IDE/IDEMain.h
/*************************************************************** * Name: IDEMain.h * Purpose: Defines Application Frame * Author: <NAME> () * Created: 2014-06-12 * Copyright: <NAME> () * License: **************************************************************/ #ifndef IDEMAIN_H #define IDEM...
tmatos/progres
IDE/memoria.c
#include <stdio.h> #include <stdlib.h> #include "memoria.h" void* xmalloc(size_t t) { void* p = malloc(t); if(!p) erroFatalMemoria(); return p; } void* xrealloc(void* m, size_t t) { void* p = realloc(m, t); if(!p) erroFatalMemoria(); return p; } v...
tmatos/progres
IDE/inout.h
#ifndef INOUT_H #define INOUT_H #include "sinais.h" void salvarSinais(Sinais *sinaisSaida, FILE *arqSaida); Sinais* carregaEntradas(FILE *arquivo); extern "C" Sinais* carregaArquivoSinais(const char* path); #endif // INOUT_H
tmatos/progres
IDE/IDEConfig.h
<reponame>tmatos/progres<filename>IDE/IDEConfig.h #ifndef IDECONFIG_H #define IDECONFIG_H //(*Headers(IDEConfig) #include <wx/stattext.h> #include <wx/textctrl.h> #include <wx/checkbox.h> #include <wx/filedlg.h> #include <wx/button.h> #include <wx/dialog.h> //*) #include <wx/config.h> class IDEConfig: public wxD...
tmatos/progres
IDE/memoria.h
<gh_stars>0 #ifndef MEMORIA_H #define MEMORIA_H #include <stdio.h> #include <stdlib.h> void* xmalloc(size_t t); void* xrealloc(void* m, size_t t); void* xcalloc(size_t n, size_t t); void* exibeMsgErro(char* msg, int linha, int coluna, char* esperado, char *encontrado); void erroFatalMemoria(); ...
tmatos/progres
IDE/EdicaoDeSinal.h
#ifndef EDICAODESINAL_H #define EDICAODESINAL_H //(*Headers(EdicaoDeSinal) #include <wx/textctrl.h> #include <wx/button.h> #include <wx/dialog.h> //*) class EdicaoDeSinal: public wxDialog { public: EdicaoDeSinal(wxWindow* parent,wxWindowID id=wxID_ANY,const wxPoint& pos=wxDefaultPosition,const wxSize& ...
tmatos/progres
IDE/IDEApp.h
/*************************************************************** * Name: IDEApp.h * Purpose: Defines Application Class * Author: <NAME> () * Created: 2014-06-12 * Copyright: <NAME> () * License: **************************************************************/ #ifndef IDEAPP_H #define IDEAPP...
polymurph/STM-Linux
stm32g474_blinky/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/RefLibs/src/HelperFunctions/HelperFunctions.c
<filename>stm32g474_blinky/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/RefLibs/src/HelperFunctions/HelperFunctions.c #include "mat_helper.c" #include "ref_helper.c"
polymurph/STM-Linux
stm32g474_blinky/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/RefLibs/src/ComplexMathFunctions/ComplexMathFunctions.c
#include "cmplx_conj.c" #include "cmplx_dot_prod.c" #include "cmplx_mag.c" #include "cmplx_mag_squared.c" #include "cmplx_mult_cmplx.c" #include "cmplx_mult_real.c"
polymurph/STM-Linux
stm32g474_blinky/Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_rtc.h
<gh_stars>10-100 /** ****************************************************************************** * @file stm32g4xx_hal_rtc.h * @author MCD Application Team * @brief Header file of RTC HAL module. ****************************************************************************** * @attention * ...
polymurph/STM-Linux
stm32g474_blinky/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/RefLibs/src/MatrixFunctions/MatrixFunctions.c
#include "mat_add.c" #include "mat_cmplx_mult.c" #include "mat_inverse.c" #include "mat_mult.c" #include "mat_scale.c" #include "mat_sub.c" #include "mat_trans.c"
polymurph/STM-Linux
example_proj/G431_blinki/Core/Inc/app_main.h
<filename>example_proj/G431_blinki/Core/Inc/app_main.h #ifndef _APP_MAIN_H_ #define _APP_MAIN_H_ #ifdef __cplusplus extern "C" { #endif // __cplusplus int app_main(); #ifdef __cplusplus } #endif // __cplusplus #endif // _APP_MAIN_H_
polymurph/STM-Linux
stm32g474_blinky/Drivers/CMSIS/DSP/Source/FilteringFunctions/FilteringFunctions.c
<gh_stars>1000+ /* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: FilteringFunctions.c * Description: Combination of all filtering function source files. * * $Date: 18. March 2019 * $Revision: V1.0.0 * * Target Processo...
polymurph/STM-Linux
stm32g474_blinky/Drivers/CMSIS/DSP/PythonWrapper/cmsisdsp_pkg/src/cmsismodule.c
<reponame>polymurph/STM-Linux /* ---------------------------------------------------------------------- * Project: CMSIS DSP Python Wrapper * Title: cmsismodule.c * Description: C code for the CMSIS-DSP Python wrapper * * $Date: 25. March 2019 * $Revision: V0.0.1 * * Target Proces...
polymurph/STM-Linux
stm32g474_blinky/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/RefLibs/src/FilteringFunctions/fir_lattice.c
<gh_stars>10-100 #include "ref.h" void ref_fir_lattice_f32( const arm_fir_lattice_instance_f32 * S, float32_t * pSrc, float32_t * pDst, uint32_t blockSize) { float32_t *pState; /* State pointer */ const float32_t *pCoeffs = S->pCoeffs; ...
polymurph/STM-Linux
stm32g474_blinky/Drivers/CMSIS/DSP/Source/TransformFunctions/arm_rfft_fast_init_f32.c
<filename>stm32g474_blinky/Drivers/CMSIS/DSP/Source/TransformFunctions/arm_rfft_fast_init_f32.c /* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_cfft_init_f32.c * Description: Split Radix Decimation in Frequency CFFT Floating point pr...
polymurph/STM-Linux
stm32g474_blinky/Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_fmac.h
<gh_stars>10-100 /** ****************************************************************************** * @file stm32g4xx_hal_fmac.h * @author MCD Application Team * @brief Header for stm32g4xx_hal_fmac.c module ****************************************************************************** * @attent...
polymurph/STM-Linux
stm32g474_blinky/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/RefLibs/src/FilteringFunctions/FilteringFunctions.c
#include "biquad.c" #include "conv.c" #include "correlate.c" #include "fir.c" #include "fir_decimate.c" #include "fir_interpolate.c" #include "fir_lattice.c" #include "fir_sparse.c" #include "iir_lattice.c" #include "lms.c"
polymurph/STM-Linux
stm32g474_blinky/Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_lpuart.h
/** ****************************************************************************** * @file stm32g4xx_ll_lpuart.h * @author MCD Application Team * @brief Header file of LPUART LL module. ****************************************************************************** * @attention * * <h2><cen...
polymurph/STM-Linux
stm32g474_blinky/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/src/all_tests.c
<reponame>polymurph/STM-Linux #include "jtest.h" #include "basic_math_test_group.h" #include "complex_math_test_group.h" #include "controller_test_group.h" #include "fast_math_test_group.h" #include "filtering_test_group.h" #include "matrix_test_group.h" #include "statistics_test_group.h" #include "support_test...
polymurph/STM-Linux
stm32g474_blinky/Drivers/CMSIS/DSP/Source/ControllerFunctions/arm_sin_cos_f32.c
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_sin_cos_f32.c * Description: Sine and Cosine calculation for floating-point values * * $Date: 18. March 2019 * $Revision: V1.6.0 * * Target Processor: Cortex-M cores...
polymurph/STM-Linux
stm32g474_blinky/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/inc/templates/test_templates.h
#ifndef _TEST_TEMPLATES_H_ #define _TEST_TEMPLATES_H_ /*--------------------------------------------------------------------------------*/ /* Includes */ /*--------------------------------------------------------------------------------*/ #include "template.h" #include <string.h> /* memcmp() */ #in...
polymurph/STM-Linux
stm32g474_blinky/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/RefLibs/src/SupportFunctions/SupportFunctions.c
<gh_stars>10-100 #include "copy.c" #include "fill.c" #include "fixed_to_fixed.c" #include "fixed_to_float.c" #include "float_to_fixed.c"
polymurph/STM-Linux
stm32g474_blinky/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/RefLibs/src/TransformFunctions/TransformFunctions.c
#include "cfft.c" #include "dct4.c" #include "rfft.c"
polymurph/STM-Linux
stm32g474_blinky/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/src/filtering_tests/filtering_test_group.c
<gh_stars>10-100 #include "jtest.h" #include "filtering_tests.h" JTEST_DEFINE_GROUP(filtering_tests) { /* To skip a test, comment it out. */ JTEST_GROUP_CALL(biquad_tests); JTEST_GROUP_CALL(conv_tests); JTEST_GROUP_CALL(correlate_tests); JTEST_GROUP_CALL(fir_tests); JTEST_GROUP_CALL(iir_t...
polymurph/STM-Linux
stm32g474_blinky/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/inc/jtest_cycle.h
#ifndef _JTEST_CYCLE_H_ #define _JTEST_CYCLE_H_ /*--------------------------------------------------------------------------------*/ /* Includes */ /*--------------------------------------------------------------------------------*/ #include "jtest_fw.h" /* JTEST_DUMP_STRF() */ #include "jtest_systi...
polymurph/STM-Linux
stm32g474_blinky/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/RefLibs/src/StatisticsFunctions/StatisticsFunctions.c
<gh_stars>10-100 #include "max.c" #include "mean.c" #include "min.c" #include "power.c" #include "rms.c" #include "std.c" #include "var.c"
polymurph/STM-Linux
stm32g474_blinky/Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_gpio_ex.h
<gh_stars>10-100 /** ****************************************************************************** * @file stm32g4xx_hal_gpio_ex.h * @author MCD Application Team * @brief Header file of GPIO HAL Extended module. ****************************************************************************** * @a...
polymurph/STM-Linux
stm32g474_blinky/Drivers/CMSIS/DSP/Examples/ARM/boot/RTE_Components.h
<reponame>polymurph/STM-Linux #ifndef RTE_COMPONENTS_H #define RTE_COMPONENTS_H #endif /* RTE_COMPONENTS_H */
polymurph/STM-Linux
stm32g474_blinky/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/RefLibs/src/Intrinsics/Intrinsics_.c
<gh_stars>10-100 #include "intrinsics.c"
polymurph/STM-Linux
stm32g474_blinky/Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_opamp_ex.c
<gh_stars>10-100 /** ****************************************************************************** * @file stm32g4xx_hal_opamp_ex.c * @author MCD Application Team * @brief Extended OPAMP HAL module driver. * * This file provides firmware functions to manage the following * ...
polymurph/STM-Linux
stm32g474_blinky/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/DspLibTest_FVP_A5/RTE/RTE_Components.h
<gh_stars>10-100 /* * Auto generated Run-Time-Environment Component Configuration File * *** Do not modify ! *** * * Project: DspLibTest_FVP_A5 * RTE configuration: DspLibTest_FVP_A5.rteconfig */ #ifndef RTE_COMPONENTS_H #define RTE_COMPONENTS_H /* * Define the Device Header File: */ #define CM...
polymurph/STM-Linux
stm32g474_blinky/Drivers/CMSIS/DSP/Source/StatisticsFunctions/StatisticsFunctions.c
<filename>stm32g474_blinky/Drivers/CMSIS/DSP/Source/StatisticsFunctions/StatisticsFunctions.c /* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: StatisticsFunctions.c * Description: Combination of all statistics function source files. * ...
polymurph/STM-Linux
stm32g474_blinky/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/RefLibs/src/ControllerFunctions/ControllerFunctions.c
<gh_stars>10-100 #include "pid.c" #include "sin_cos.c"
polymurph/STM-Linux
stm32g474_blinky/Drivers/CMSIS/DSP/Source/TransformFunctions/arm_cfft_radix8_f32.c
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_cfft_radix8_f32.c * Description: Radix-8 Decimation in Frequency CFFT & CIFFT Floating point processing function * * $Date: 18. March 2019 * $Revision: V1.6.0 * * Ta...
polymurph/STM-Linux
stm32g474_blinky/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/RefLibs/src/FastMathFunctions/FastMathFunctions.c
#include "cos.c" #include "sin.c" #include "sqrt.c"
polymurph/STM-Linux
maketest/Core/Inc/app_main.h
<filename>maketest/Core/Inc/app_main.h<gh_stars>0 #ifndef _APP_MAIN_ #define _APP_MAIN_ #ifdef __cplusplus extern "C" { #endif #include "main.h" #include "usart.h" #include "gpio.h" int app_main(); #ifdef __cplusplus } #endif #endif
ramalho/brainfuck
origdistro/brainfuck-2/bfi.c
#include <stdio.h> int p, r, q; char a[5000], f[5000], b, o, *s=f; void interpret(char *c) { char *d; r++; while( *c ) { //if(strchr("<>+-,.[]\n",*c))printf("%c",*c); switch(o=1,*c++) { case '<': p--; break; case '>': p++; break; case '+': a[p]++; break; case '-': a[p]--; break;...
chpublichp/masspred
tools/parjob-0.5/variable.h
<reponame>chpublichp/masspred #ifndef __VARIABLE__H__ #define __VARIABLE__H__ _EXTERN_ job_data_t Job_data; _EXTERN_ boolean_t Debug; #endif
chpublichp/masspred
tools/region_filter-0.19/type.h
#ifndef __TYPE__H__ #define __TYPE__H__ typedef enum boolean_t { FALSE = 0, TRUE = 1 } boolean_t; typedef enum model_t { MODEL_ANCHOR, MODEL_DISEMBL_1, MODEL_DISEMBL_2, MODEL_DISEMBL_3, MODEL_DISOPRED, MODEL_DISOPRED_1, MODEL_DISOPRED_2, MODEL_ISUNSTRUCT, MODEL_IUPRED_LONG, MODEL_IUPRED_SHORT...
chpublichp/masspred
tools/fasta_tool-0.4/id_work.c
<reponame>chpublichp/masspred<gh_stars>0 #include "main.h" static char* id_quote(char* input, char* output, int output_size) { int input_position; int output_position; input_position = 0; output_position = 0; while(output_position < output_size-1 && input[input_position] != '\0') { if ( inpu...
chpublichp/masspred
tools/hydro-0.2/hydro.c
#include <ctype.h> #include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #define DEFAULT_OUTPUT_FILE_PREFIX "hy_out" #define DEFAULT_OUTPUT_FILE_NAME_SQL_SUFFIX "sql" #define DEFAULT_OUTPUT_FILE_NAME_LOAD_SUFFIX "load" #define DEFAULT_PROTEIN_ID ...
chpublichp/masspred
tools/region_filter-0.19/work_ronn.c
#include "main.h" _FUNCTION_DECLARATION_BEGIN_ void work_ronn(profile_t* profile) _FUNCTION_DECLARATION_END_ { char* name; row_t row; int row_number; char aa; float probability; region_t region; int region_start; int region_end; name = "RONN"; region = REGION_UNKNOWN; row_number = 1; while(fge...
chpublichp/masspred
tools/parjob-0.5/read_next_command.c
#include "main.h" static boolean_t is_empty_command(job_data_t* job_data, int index) { int i; i = 0; while(job_data->children_data[index].command[i] != '\0') { if(isspace(job_data->children_data[index].command[i]) == 0) return FALSE; } return TRUE; } boolean_t read_next_command(job_data_t* job_...
chpublichp/masspred
tools/parjob-0.5/start_new_child.c
<reponame>chpublichp/masspred<filename>tools/parjob-0.5/start_new_child.c #include "main.h" boolean_t start_new_child(job_data_t* job_data, char* enviroment[]) { static char* arguments_value[] = {"sh", "-c", NULL, NULL}; int i; pid_t child_pid; for(i = 0; i < job_data->size; i++) if(job_data->children_dat...
chpublichp/masspred
tools/parjob-0.5/main.c
#define __MAIN__C__ #include "main.h" static void usage(char* name) { fprintf ( stderr, "Usage: %s [-h] [-d] [-n number] [job_file]\n" " -h\t\tHelp\n" " -d\t\tTurn debug on (default off)\n" " -n\t\tMax number of children (default %d)\n" " job_file\tFile with command on each row (defaul...
chpublichp/masspred
tools/parjob-0.5/prototype.h
#ifndef __PROTOTYPE__H_ #define __PROTOTYPE__H_ void child_dead(int); void dump(int); void job_data_clean(job_data_t*); boolean_t job_data_init(job_data_t*, int, char*); boolean_t read_next_command(job_data_t*, int); boolean_t start_new_child(job_data_t*, char*[]); void wait_all_children(job_data_t*); #endif
chpublichp/masspred
tools/fasta_tool-0.4/main.h
#ifndef __MAIN__H__ #define __MAIN__H__ #define _GNU_SOURCE #include <crypt.h> #include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include "default.h" #include "type.h" #include "prototype.i" #define ERROR(format, ...) \ do ...
chpublichp/masspred
tools/fasta_tool-0.4/length_work.c
#include "main.h" _FUNCTION_DECLARATION_BEGIN_ void length_work(FILE* input_file) _FUNCTION_DECLARATION_END_ { int length; row_t row; length = 0; while(fgets(row, MAX_ROW_SIZE, input_file) != NULL) { if(row[0] == '>') length++; } printf("FASTA_LENGTH=\"%d\"\n", length); }
chpublichp/masspred
tools/parjob-0.5/job_data_init.c
#include "main.h" boolean_t job_data_init(job_data_t* job_data, int size, char* job_file_name) { int i; job_data->children_data = (child_data_t*)calloc(size, sizeof(child_data_t)); if(job_data->children_data == NULL) ERROR("No free space for job data"); job_data->size = size; for(i = 0; i < size; i++) ...
chpublichp/masspred
tools/region_filter-0.19/dump_plain.c
#include "main.h" _FUNCTION_DECLARATION_BEGIN_ void dump_plain(profile_t* profile, char* name, int start, int end, char* order) _FUNCTION_DECLARATION_END_ { if(profile->output_sql != NULL) { fprintf ( profile->output_sql, "INSERT INTO region(protein_id, protein_reference, protein_file_name, beg...
chpublichp/masspred
tools/region_filter-0.19/default.h
<reponame>chpublichp/masspred<filename>tools/region_filter-0.19/default.h #ifndef __DEFAULT__H__ #define __DEFAULT__H__ #define DEFAULT_OUTPUT_FILE_PREFIX "rf_out" #define DEFAULT_OUTPUT_FILE_NAME_SQL_SUFFIX "sql" #define DEFAULT_OUTPUT_FILE_NAME_LOAD_SUFFIX "load" #define DEFAULT_PROTEIN_ID ...
chpublichp/masspred
tools/fasta_tool-0.4/get_work.c
<reponame>chpublichp/masspred #include "main.h" _FUNCTION_DECLARATION_BEGIN_ void get_work(FILE* input_file, int get_number) _FUNCTION_DECLARATION_END_ { int position; boolean_t found; row_t row; position = 0; found = FALSE; while(fgets(row, MAX_ROW_SIZE, input_file) != NULL) if(row[0] == '>') { ...
chpublichp/masspred
tools/region_filter-0.19/open_file.c
<reponame>chpublichp/masspred<filename>tools/region_filter-0.19/open_file.c #include "main.h" _FUNCTION_DECLARATION_BEGIN_ FILE* open_file(char* output_file_prefix, char* output_file_suffix) _FUNCTION_DECLARATION_END_ { char name[PATH_MAX]; FILE* file; snprintf(name, PATH_MAX, "%s.%s", output_file_prefix, outpu...
chpublichp/masspred
tools/fasta_tool-0.4/checksum_work.c
<filename>tools/fasta_tool-0.4/checksum_work.c #include "main.h" #define SALT "$1$fasta" _FUNCTION_DECLARATION_BEGIN_ void checksum_work(char* name) _FUNCTION_DECLARATION_END_ { struct crypt_data data; char* result; data.initialized = 0; result = crypt_r(name, SALT, &data); printf ( "DIR_1=\"%01x%01x...
chpublichp/masspred
tools/fasta_tool-0.4/default.h
<filename>tools/fasta_tool-0.4/default.h #ifndef __DEFAULT__H__ #define __DEFAULT__H__ #define DEFAULT_SPLIT_OUTPUT_DIRECTORY "." #define DEFAULT_INPUT_FILE_NAME "-" #endif
chpublichp/masspred
tools/command-0.1/fasta_stat.c
#include <stdio.h> #include <stdlib.h> #include <limits.h> #define LINE_LEN 1024 int main(void) { unsigned char first_line[LINE_LEN]; unsigned char line[LINE_LEN]; int stat[UCHAR_MAX]; int i; if(fgets(first_line, LINE_LEN, stdin) == NULL) return 1; for(i = 0; first_line[i] != '\n'; i++); first_line...
chpublichp/masspred
tools/fasta_tool-0.4/split_work.c
#include "main.h" static FILE* split_new_output_file(char* input_file_name, char* output_directory, int output_file_number) { char input_file_name_copy[PATH_MAX]; char* slash; char* old_input_file_name; char* dot; char new_output_file_name[PATH_MAX]; FILE* new_output_file; snprintf(input_file_name_copy,...
chpublichp/masspred
tools/parjob-0.5/main.h
<filename>tools/parjob-0.5/main.h #ifndef __MAIN__H__ #define __MAIN__H__ #include <sys/types.h> #include <sys/wait.h> #include <ctype.h> #include <errno.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #define DEFAULT_CHILD_DATA_SIZE 4 #define DEFAULT_JOB_FILE_NAM...
chpublichp/masspred
tools/parjob-0.5/job_data_clean.c
#include "main.h" void job_data_clean(job_data_t* job_data) { free((void*)job_data->children_data); fclose(job_data->file); }
chpublichp/masspred
tools/region_filter-0.19/dump_numeric.c
<reponame>chpublichp/masspred<filename>tools/region_filter-0.19/dump_numeric.c<gh_stars>0 #include "main.h" _FUNCTION_DECLARATION_BEGIN_ void dump_numeric(profile_t* profile, char* name, int position, char aa, float value, char* order) _FUNCTION_DECLARATION_END_ { if(profile->output_sql != NULL) { fprintf ...
chpublichp/masspred
tools/fasta_tool-0.4/main.c
<reponame>chpublichp/masspred<gh_stars>0 #include "main.h" static void usage(char* name) { fprintf ( stderr, "Usage: %s [-h] (-s dir | -i | -c | -l | -g number) [input_file]\n" " -h\t\tHelp\n" " -s\t\tSplit multi fasta format file to dir (default \'%s\')\n" " -i\t\tGet ID from single fasta f...
chpublichp/masspred
tools/parjob-0.5/dump.c
<reponame>chpublichp/masspred #include "main.h" void dump(int signal) { int i; for(i = 0; i < Job_data.size; i++) if(Job_data.children_data[i].used == TRUE) fprintf(stderr, "DUMP: position=%d/%d pid=%d command=\'%s\'\n", i+1, Job_data.size, Job_data.children_data[i].pid, Job_data.children_data[i].comman...
chpublichp/masspred
tools/epitope_filter-0.13/epitope_filter.c
#include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #define DEFAULT_OUTPUT_FILE_PREFIX "ef_out" #define DEFAULT_OUTPUT_FILE_NAME_SQL_SUFFIX "sql" #define DEFAULT_OUTPUT_FILE_NAME_LOAD_SUFFIX "load" #define DEFAULT_ALLELE "" #define DEFAULT...
chpublichp/masspred
tools/region_fail-0.15/region_fail.c
<reponame>chpublichp/masspred #include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #define DEFAULT_OUTPUT_FILE_PREFIX "rf_fail_out" #define DEFAULT_OUTPUT_FILE_NAME_SQL_SUFFIX "sql" #define DEFAULT_OUTPUT_FILE_NAME_LOAD_SUFFIX "load" #define DEFAULT_PROTEIN_ID ...
chpublichp/masspred
tools/parjob-0.5/child_dead.c
<gh_stars>0 #include "main.h" void child_dead(int signal) { pid_t pid; int status; int i; while(TRUE) { pid = waitpid(-1, &status, WNOHANG); if(pid == -1) if(errno == ECHILD) break; else error("Cannot waitpid"); if(pid == 0) break; for(i = 0; i < Job_data.si...
chpublichp/masspred
tools/region_filter-0.19/work_isunstruct.c
#include "main.h" #define DUMP_SIZE 32 _FUNCTION_DECLARATION_BEGIN_ void work_isunstruct(profile_t* profile) _FUNCTION_DECLARATION_END_ { char* name; row_t row; int row_number; char aa; char status; char dump[DUMP_SIZE+1]; float probability; region_t region; int region_start; int region_end; na...
chpublichp/masspred
tools/region_filter-0.19/work_predisorder.c
#include "main.h" _FUNCTION_DECLARATION_BEGIN_ void work_predisorder(profile_t* profile) _FUNCTION_DECLARATION_END_ { char* name; row_t row_aa; row_t row_status; float probability[MAX_ROW_SIZE]; int position; int row_number; region_t region; int region_start; int region_end; if(fgets(row_aa, MAX_R...
chpublichp/masspred
tools/fasta_tool-0.4/type.h
#ifndef __TYPE__H__ #define __TYPE__H__ typedef enum model_t { MODEL_SPLIT, MODEL_ID, MODEL_CHECKSUM, MODEL_LENGTH, MODEL_GET, MODEL_UNKNOWN } model_t; typedef enum boolean_t { FALSE = 0, TRUE = 1 } boolean_t; #define MAX_ROW_SIZE 1024 typedef char row_t[MAX_ROW_SIZE+1]; #endif