repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
zz-zigzag/bioinformatics
tools/splitfasta.c
<filename>tools/splitfasta.c /* The MIT License Copyright (C) 2015 zz_zigzag <<EMAIL>> */ #include <stdio.h> #include <stdlib.h> //#include <unistd.h> #define PACKAGE_VERSION "0.1.2" #define MAX_LINE_BYTE 1000 static int usage(void ) { fprintf(stderr, "\n"); fprintf(stderr, "Program: splitfasta (spl...
zz-zigzag/bioinformatics
tools/vcf_indel.c
/* The MIT License Copyright (C) 2015 zz_zigzag <<EMAIL>> */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> #define PACKAGE_VERSION "0.1.1" static int usage() { fprintf(stderr, "\n"); fprintf(stderr, "Program: VCF_INDEL (format the <INDEL> vcf file)\n"); fprintf(...
zz-zigzag/bioinformatics
tools/vcf_del.c
<reponame>zz-zigzag/bioinformatics<filename>tools/vcf_del.c /* Copyright (C) 2015 zz_zigzag <<EMAIL>> */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <ctype.h> #include <sys/stat.h> #define PACKAGE_VERSION "0.2.7" static int usage() { fprintf(stderr, "\n"); f...
zz-zigzag/bioinformatics
tools/verify-deletion.c
<reponame>zz-zigzag/bioinformatics #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <ctype.h> #include <sys/stat.h> #define PACKAGE_VERSION "0.1.1" typedef struct { char call_chrom[100]; int call_brk1, call_brk2; }call_var; typedef struct { char...
fjhoelsg/JNI-Calculator
src/main/c/jni_calc.h
<filename>src/main/c/jni_calc.h<gh_stars>1-10 /* DO NOT EDIT THIS FILE - it is machine generated */ #include <jni.h> /* Header for class cr_ac_tec_appsmoviles_jnicalculator_calculator_processing_NativeArithmeticProcessor */ #ifndef _Included_cr_ac_tec_appsmoviles_jnicalculator_calculator_processing_NativeArithmeticPro...
fjhoelsg/JNI-Calculator
src/main/c/jni_calc.c
<gh_stars>1-10 #include "jni_calc.h" #include <math.h> /* * Class: cr_ac_tec_appsmoviles_jnicalculator_calculator_processing_NativeArithmeticProcessor * Method: nativeAdd * Signature: (DD)D */ JNIEXPORT jdouble JNICALL Java_cr_ac_tec_appsmoviles_jnicalculator_calculator_processing_NativeArithmeticProcessor_n...
wuzhecode/MYNewLib
Example/WHDemoBase/HPAppDelegate.h
<reponame>wuzhecode/MYNewLib // // HPAppDelegate.h // WHDemoBase // // Created by <EMAIL> on 03/28/2021. // Copyright (c) 2021 <EMAIL>. All rights reserved. // @import UIKit; @interface HPAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
wuzhecode/MYNewLib
Example/WHDemoBase/HPViewController.h
// // HPViewController.h // WHDemoBase // // Created by <EMAIL> on 03/28/2021. // Copyright (c) 2021 <EMAIL>. All rights reserved. // @import UIKit; @interface HPViewController : UIViewController @end
wuzhecode/MYNewLib
WHDemoBase/Classes/UIBarButtonItem+Extension.h
// // UIBarButtonItem+Extension.h // MJ // // Created by apple on 14-7-3. // Copyright (c) 2014年 MJ. All rights reserved. // #import <UIKit/UIKit.h> @interface UIBarButtonItem (Extension) + (UIBarButtonItem *)itemWithImageName:(NSString *)imageName highImageName:(NSString *)highImageName target:(id)target action:...
BloomsdayRun/Facebook-Integration
BloomsdayApp/BloomsdayApp/BloomsdayApp-Bridging-Header.h
<reponame>BloomsdayRun/Facebook-Integration<gh_stars>0 // // BloomsdayApp-Bridging-Header.h // BloomsdayApp // // Created by <NAME> on 11/18/15. // Copyright © 2015 Senior Design. All rights reserved. // #ifndef BloomsdayApp_Bridging_Header_h #define BloomsdayApp_Bridging_Header_h #import "FBSDKCoreKit/FBSDKCoreK...
mcoted/slist
include/slist_types.h
<filename>include/slist_types.h #ifndef SLIST_TYPES_H #define SLIST_TYPES_H #include <functional> #include <string> #include <unordered_map> #include <memory> #include <vector> namespace slist { struct context; struct node; typedef std::shared_ptr<node> node_ptr; struct procedure; typedef std::shared_ptr<pro...
mcoted/slist
include/slist_eval.h
#ifndef SLIST_EVAL_H #define SLIST_EVAL_H #include "slist_types.h" #include "slist_context.h" #include <string> #include <istream> namespace slist { node_ptr eval(context& ctx, const node_ptr& n); node_ptr eval_procedure(context& ctx, const node_ptr& proc_node, const node_ptr& args); node_ptr apply(context& ctx, c...
mcoted/slist
include/slist_native.h
#ifndef SLIST_NATIVE_H #define SLIST_NATIVE_H #include "slist_types.H" namespace slist { struct context; node_ptr native_eval (context& ctx, const node_ptr& root); node_ptr native_apply (context& ctx, const node_ptr& root); node_ptr native_cons (context& ctx, const node_ptr& root);...
mcoted/slist
include/slist_log.h
#ifndef SLIST_LOG_H #define SLIST_LOG_H #include "slist_types.h" #ifdef DEBUG #define LOG_TRACE(STR) log_trace_slow(STR) #define LOG_TRACE2(STR, ARG0) log_trace_slow(STR, ARG0) #define LOG_TRACELN(STR) log_traceln_slow(STR) #define LOG_TRACELN2(STR, ARG0) log_traceln_slow(STR, ARG0) #else #define LOG_TRACE(STR) do {}...
mcoted/slist
include/slist_context.h
#ifndef SLIST_CONTEXT_H #define SLIST_CONTEXT_H #include <unordered_set> #include "slist_types.h" namespace slist { struct context { context(); void register_native(const std::string& name, procedure::callback func); node_ptr lookup_symbol(const std::string& name); void insert_symbol(const node_pt...
mcoted/slist
include/slist.h
#ifndef SLIST_H #define SLIST_H #include "slist_types.h" #include "slist_context.h" #include "slist_parser.h" #include "slist_eval.h" #include "slist_log.h" #endif
mcoted/slist
include/slist_parser.h
<gh_stars>0 #ifndef SLIST_PARSER_H #define SLIST_PARSER_H #include "slist_types.h" namespace slist { node_ptr parse(const std::string& str); node_ptr parse_stream(std::istream& in); node_ptr parse_file(const std::string& filename); void print_parse_node(const node_ptr& root); void debug_print_parse_node(const n...
rockyplum/vampy-host
native/StringConversion.h
<gh_stars>10-100 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ /* VampyHost Use Vamp audio analysis plugins in Python <NAME> and <NAME> Centre for Digital Music, Queen Mary, University of London Copyright 2008-2015 Queen Mary, University of London Permission is hereby ...
rockyplum/vampy-host
native/VectorConversion.h
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ /* VampyHost Use Vamp audio analysis plugins in Python <NAME> and <NAME> Centre for Digital Music, Queen Mary, University of London Copyright 2008-2015 <NAME>, University of London Permission is hereby granted, free of char...
MaricleZhang/FastlaneDemo
FastlaneDemo/ViewController.h
<reponame>MaricleZhang/FastlaneDemo<gh_stars>1-10 // // ViewController.h // FastlaneDemo // // Created by zhangjian on 2020/10/24. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
agapito6314/PowerToys
src/modules/alwaysontop/AlwaysOnTop/Settings.h
#pragma once #include <unordered_set> #include <common/SettingsAPI/FileWatcher.h> #include <common/SettingsAPI/settings_objects.h> #include <SettingsConstants.h> #include <winrt/Windows.UI.ViewManagement.h> class SettingsObserver; // Needs to be kept in sync with src\settings-ui\Settings.UI.Library\AlwaysOnTopPro...
brettferdosi/grayscale
Sources/Bridge.h
// // Bridge.h // grayscale // // Created by <NAME> on 5/24/20. // Copyright © 2020 <NAME>. All rights reserved. // #ifndef Bridge_h #define Bridge_h #import <MASShortcut/Shortcut.h> // notes on how macOS sets grayscale filters // -- // these functions don't require a private framework. the filter they enable ...
huaaopro/FrameworkUnityPlugin
src/native/c/tstunity/math_helper.c
#define TST_LIB #include "math_helper.h" TST_API int tst_add(int a, int b){ return a + b; } TST_API int tst_sub(int a, int b){ return a - b; } TST_API int tst_div(int a, int b){ return a / b; } TST_API int tst_mul(int a, int b){ return a * b; }
huaaopro/FrameworkUnityPlugin
src/native/c/tstunity/math_helper.h
<gh_stars>10-100 #ifndef MATH_HELPER_ #define MATH_HELPER_ #include "tstunity_conf.h" TST_API int tst_add(int a, int b); TST_API int tst_sub(int a, int b); TST_API int tst_div(int a, int b); TST_API int tst_mul(int a, int b); #endif//MATH_HELPER_
huaaopro/FrameworkUnityPlugin
src/native/c/tstunity/tstunity_conf.h
/* conf */ #if defined _WIN32 #if LIBTST_BUILD #define TST_API __declspec(dllexport) #else #define TST_API __declspec(dllimport) #endif #else #define TST_API #endif typedef void (*CSFunction)();
huaaopro/FrameworkUnityPlugin
src/native/c/tstunity/unity_helper.h
<filename>src/native/c/tstunity/unity_helper.h #ifndef UNITY_HELPER_ #define UNITY_HELPER_ #include "tstunity_conf.h" TST_API void reg_func(CSFunction func); TST_API void call_func(); #endif//UNITY_HELPER_
huaaopro/FrameworkUnityPlugin
src/native/c/tstunity/unity_helper.c
<gh_stars>10-100 #define TST_LIB #include "unity_helper.h" CSFunction function; TST_API void reg_func(CSFunction func){ function = func; } TST_API void call_func() { function(); }
ccqpein/Arithmetic-Exercises
Find-Lucky-Integer-in-an-Array/FLIiaA.c
#include <assert.h> #include <stdio.h> int findLucky(int* arr, int arrSize) { int cache[501] = {}; for (int i = 0; i < arrSize; i++) { cache[arr[i]] += 1; }; for (int i = 500; i > 0; i--) { if (cache[i] == i) { return i; } } return -1; } int main() { int case0[4] = {2, 2, 3, 4}; as...
ccqpein/Arithmetic-Exercises
The-Sieve-of-Eratosthenes/SoE.c
<filename>The-Sieve-of-Eratosthenes/SoE.c #include <stdio.h> #include <math.h> #include <stdlib.h> int judge (int n, int endNum) { // if is,return n; if not, return 0; for (int i = 2; i <= endNum; i++){ if ((n%i == 0) && (n != i)){ return 0; }else{ continue; } } return n; } int main () {...
marcfreir/zero-to-hero_LearningPath
c/questions_menu/questions_menu.c
#include <stdio.h> #include <math.h> int main() { char menu; printf("Type the option for the question (1, 2, 0, 3, 4 ou 5): \n"); scanf("%c", &menu); switch(menu) { case '1': /*Q1 Start*/ printf("Question 1 \n"); double a, b, c, discriminant, root1, r...
bodichkhomych/PCDP
Lab 9/Lab9_4/Lab9_4/MatrixGenerator.h
<filename>Lab 9/Lab9_4/Lab9_4/MatrixGenerator.h #pragma once #include <random> class MatrixGenerator { public: MatrixGenerator(int size, double maxValue); MatrixGenerator(int rowSize, int columnSize, double maxValue); double** generate(); private: int rowSize; int columnSize; double maxValue; };
bodichkhomych/PCDP
Lab 9/Lab9_4/Lab9_4/Test.h
<reponame>bodichkhomych/PCDP #pragma once #include "MatrixGenerator.h" #include "StripesSchema.h" #include "HtmlBuilder.h" #include <vector> #include <string> #include <utility> #include <iostream> #include <chrono> class Test { public: Test(std::string path); void addTask(int size); void run(); private: std::ve...
bodichkhomych/PCDP
Lab 9/Lab9_4/Lab9_4/HtmlBuilder.h
<gh_stars>0 #pragma once #include <string> #include <fstream> #include <vector> #include <utility> class HtmlBuilder { public: HtmlBuilder(std::string path); HtmlBuilder* createHtml(); HtmlBuilder* addHead(); HtmlBuilder* startBody(); HtmlBuilder* createTable(); HtmlBuilder* addResult(int matrixSize, double se...
creator-build/craftr
examples/c-clglshare/src/main.c
<reponame>creator-build/craftr #define _CRT_SECURE_NO_WARNINGS #include <assert.h> #include <math.h> #include <stdio.h> #include <time.h> #include <GL/glew.h> #include <GLFW/glfw3.h> #ifdef __APPLE__ #include <OpenCL/opencl.h> #include <OpenCL/opencl_gl.h> #else #include <CL/cl.h> #include <CL/cl_gl.h> #endi...
creator-build/craftr
examples/c-win32/src/resource.h
enum { IDS_HELLO };
creator-build/craftr
examples/c-win32/src/main.c
<filename>examples/c-win32/src/main.c<gh_stars>1-10 #include <stdio.h> #include <Windows.h> #include "resource.h" #pragma comment(lib, "user32.lib") int main() { char buffer[512]; LoadString(NULL, IDS_HELLO, buffer, 512); printf("%s\n", buffer); return 0; }
xcxcxc/react-navite-umeng
PRCTUMengManager.h
// // PRCTUMengManager.h // PPForum // // Created by xc on 15/8/27. // Copyright (c) 2015年 kang. All rights reserved. // #import <Foundation/Foundation.h> #import "RCTBridgeModule.h" @interface PRCTUMengManager : NSObject <RCTBridgeModule> @end
sebastiankaybelle/cmake-init
source/fiblib/include/fiblib/Fibonacci.h
#pragma once #include <fiblib/fiblib_api.h> namespace fiblib { /** \brief .. ... */ class FIBLIB_API Fibonacci { public: Fibonacci(); virtual ~Fibonacci(); unsigned int operator()(unsigned int i); }; } // namespace fiblib
sebastiankaybelle/cmake-init
source/fiblib/include/fiblib/fiblib_api.h
<reponame>sebastiankaybelle/cmake-init #pragma once #ifdef _MSC_VER # define FIBLIB_API_EXPORT_DECLARATION __declspec(dllexport) # define FIBLIB_API_IMPORT_DECLARATION __declspec(dllimport) #elif __GNUC__ # define FIBLIB_API_EXPORT_DECLARATION __attribute__ ((visibility ("default"))) # define FIBLIB_API_IMPORT_DEC...
TimeFaceCoder/TFNavigator
TFNavigator/TFNavigator/TFNavigator.h
// // TFNavigator.h // TFNavigator // // Created by Melvin on 3/31/16. // Copyright © 2016 TimeFace. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import "UIWindow+TFNavigator.h" //////////////////////////////////////////////////////////////////////////////////////////////////...
TimeFaceCoder/TFNavigator
TFNavigator/TFNavigator/TFNavigatorKit.h
// // TFNavigatorKit.h // TFNavigator // // Created by Melvin on 2018/8/15. // Copyright © 2018 TimeFace. All rights reserved. // #ifndef TFNavigatorKit_h #define TFNavigatorKit_h #if __has_include(<TFNavigator/TFNavigator.h>) #import <TFNavigator/TFNavigator.h> #import <TFNavigator/TFRouter.h> #import <TFNavig...
TimeFaceCoder/TFNavigator
TFNavigator/TFNavigator/TFURLAction.h
<reponame>TimeFaceCoder/TFNavigator // // TFURLAction.h // TFNavigator // // Created by Melvin on 3/31/16. // Copyright © 2016 TimeFace. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> @class TFURLAction; typedef void(^TFActionCompletionBlock)(__kindof TFURLAction *action); @in...
TimeFaceCoder/TFNavigator
TFNavigator/ViewController.h
<filename>TFNavigator/ViewController.h<gh_stars>1-10 // // ViewController.h // TFNavigator // // Created by Melvin on 3/31/16. // Copyright © 2016 TimeFace. All rights reserved. // #import <UIKit/UIKit.h> #import "TFNavigator.h" @interface ViewController : UIViewController @end
TimeFaceCoder/TFNavigator
TFNavigator/ListViewController.h
// // ListViewController.h // TFNavigator // // Created by Melvin on 4/1/16. // Copyright © 2016 TimeFace. All rights reserved. // #import <UIKit/UIKit.h> #import "TFNavigator.h" @interface ListViewController : UITableViewController @end
TimeFaceCoder/TFNavigator
TFNavigator/TFNavigator/UIWindow+TFNavigator.h
<reponame>TimeFaceCoder/TFNavigator // // UIWindow+TFNavigator.h // TFNavigator // // Created by Melvin on 4/1/16. // Copyright © 2016 TimeFace. All rights reserved. // #import <UIKit/UIKit.h> extern NSString *const kTFNavigatorParameterUserInfo; @interface UIWindow (TFNavigator) - (UIViewController *)visibleV...
TimeFaceCoder/TFNavigator
TFNavigator/TFNavigator/TFRouter.h
// // TFRouter.h // TFNavigator // // Created by Melvin on 3/31/16. // Copyright © 2016 TimeFace. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import "UIWindow+TFNavigator.h" typedef NS_ENUM (NSInteger, TFRouteType) { TFRouteTypeNone = 0, TFRouteTypeViewController = 1...
TimeFaceCoder/TFNavigator
TFNavigator/ContentViewController.h
<gh_stars>1-10 // // ContentViewController.h // TFNavigator // // Created by Melvin on 4/1/16. // Copyright © 2016 TimeFace. All rights reserved. // #import <UIKit/UIKit.h> #import "TFNavigator.h" @interface ContentViewController : UIViewController @end
Microchip-MPLAB-Harmony/gfx_apps_sam_c20_c21
apps/legato_quickstart/firmware/src/config/ili9488_rgb565_c21/gfx/legato/generated/le_gen_stringtable.c
<reponame>Microchip-MPLAB-Harmony/gfx_apps_sam_c20_c21<gh_stars>0 #include "gfx/legato/generated/le_gen_assets.h" /***************************************************************************** * Legato String Table * Encoding ASCII * Language Count: 1 * String Count: 3 ***********************************...
Microchip-MPLAB-Harmony/gfx_apps_sam_c20_c21
apps/legato_quickstart/firmware/src/config/ili9488_rgb565_c21/gfx/driver/controller/ili9488/drv_gfx_ili9488_intf.c
// DOM-IGNORE-BEGIN /******************************************************************************* * Copyright (C) 2020 Microchip Technology Inc. and its subsidiaries. * * Subject to your compliance with these terms, you may use Microchip software * and any derivatives exclusively with Microchip products. It is your ...
Microchip-MPLAB-Harmony/gfx_apps_sam_c20_c21
apps/legato_quickstart/firmware/src/config/ili9488_rgb565_c21/gfx/legato/generated/image/le_gen_images.c
<filename>apps/legato_quickstart/firmware/src/config/ili9488_rgb565_c21/gfx/legato/generated/image/le_gen_images.c<gh_stars>0 #include "gfx/legato/generated/le_gen_assets.h" /********************************* * Legato Image Asset * Name: QuickstartDown_WQVGA * Size: 160x74 pixels * Mode: RGB_565 ***********...
Microchip-MPLAB-Harmony/gfx_apps_sam_c20_c21
apps/legato_quickstart/firmware/src/config/ili9488_rgb565_c21/gfx/legato/widget/imageplus/legato_widget_imageplus.h
<gh_stars>0 // DOM-IGNORE-BEGIN /******************************************************************************* * Copyright (C) 2020 Microchip Technology Inc. and its subsidiaries. * * Subject to your compliance with these terms, you may use Microchip software * and any derivatives exclusively with Microchip products....
Microchip-MPLAB-Harmony/gfx_apps_sam_c20_c21
apps/legato_quickstart/firmware/src/config/ili9488_rgb565_c21/gfx/legato/generated/font/le_gen_font_NotoSans_Medium.c
#include "gfx/legato/generated/le_gen_assets.h" /********************************* * Legato Font Asset * Name: NotoSans_Medium * Height: 17 * Baseline: 12 * Style: Antialias * Glyph Count: 28 * Range Count: 12 * Glyph Ranges: 0x20 0x2E 0x41-0x43 ...
Microchip-MPLAB-Harmony/gfx_apps_sam_c20_c21
apps/legato_quickstart/firmware/src/config/ili9488_rgb565_c21/gfx/legato/generated/image/le_gen_image_MHGC_170x170.c
#include "gfx/legato/generated/le_gen_assets.h" /********************************* * Legato Image Asset * Name: MHGC_170x170 * Size: 170x170 pixels * Mode: RGB_888 ***********************************/ const uint8_t MHGC_170x170_data[86700] = { 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF...
Microchip-MPLAB-Harmony/gfx_apps_sam_c20_c21
apps/legato_quickstart/firmware/src/config/ili9488_rgb565_c21/gfx/legato/generated/screen/le_gen_screen_default.c
<reponame>Microchip-MPLAB-Harmony/gfx_apps_sam_c20_c21 #include "gfx/legato/generated/screen/le_gen_screen_default.h" // screen member widget declarations leWidget* root0; leWidget* default_PanelWidget0; leImageWidget* default_ImageWidget0; leImageWidget* default_ImageWidget1; leButtonWidget* default_ButtonWidget0; l...
Microchip-MPLAB-Harmony/gfx_apps_sam_c20_c21
apps/legato_quickstart/firmware/src/config/ili9488_rgb565_c21/gfx/legato/generated/le_gen_scheme.c
<gh_stars>0 #include "gfx/legato/generated/le_gen_scheme.h" const leScheme RedScheme = { { { { 0x36, 0xCF, 0xFF, 0x80, 0x40, 0x36, 0xE1, 0x80, 0xFF, 0xE1, 0xCF, 0x36, 0x12, 0xFF, 0xE1, 0x91 } }, // GS_8 { { 0xE0, 0xBA, 0xFF, 0x92, 0x49, 0xE0, 0xDB, 0x92, 0xFF, 0xDB, 0xBA, 0xE0, 0x3, 0xFF, 0xDB, 0x...
Microchip-MPLAB-Harmony/gfx_apps_sam_c20_c21
apps/legato_quickstart/firmware/src/config/ili9488_rgb565_c21/gfx/legato/widget/imageplus/legato_widget_imageplus.c
<filename>apps/legato_quickstart/firmware/src/config/ili9488_rgb565_c21/gfx/legato/widget/imageplus/legato_widget_imageplus.c // DOM-IGNORE-BEGIN /******************************************************************************* * Copyright (C) 2020 Microchip Technology Inc. and its subsidiaries. * * Subject to your comp...
LokiFoki/csv2tex
src/csv2tex_file.h
//csv2tex fileloader HEADER #ifndef CSV2TEX_FILE_H #define CSV2TEX_FILE_H char* load_file(char*); #endif
LokiFoki/csv2tex
src/csv2tex_args.h
//csv2texcommandline HEADER #ifndef CSV2TEX_ARGS_H #define CSV2TEX_ARGS_H int read_args(int, char**); #endif
LokiFoki/csv2tex
src/csv2tex_file.c
//csv2tex file loader HEADER #include "csv2tex.h" #include "csv2tex_file.h" #include <stdio.h> #include <stdlib.h> //Returns file length in byte static inline long get_size (FILE *file) { long pos = ftell(file); long size; fseek(file, 0L, SEEK_END); size = ftell(file); fseek(file, pos, SEEK_SET); return siz...
LokiFoki/csv2tex
src/csv2tex.h
//csv2tex HEADER #ifndef CSV2TEX_H #define CSV2TEX_H extern int csv2tex_debug; extern char csv2tex_seperator; extern int csv2tex_filepos_in_args; #endif
LokiFoki/csv2tex
src/csv2tex_args.c
<gh_stars>0 //csv2texcommandline #include "csv2tex.h" #include "csv2tex_args.h" #include <stdio.h> #include <stdlib.h> #include <string.h> //returns // 0:Failure // 1:Success // -1:Help wanted int read_args(int argc, char* argv[]) { //Help needed? const char * helptext = "csv2tex - convert csv-data to .tex-compatib...
LokiFoki/csv2tex
src/csv2tex.c
<filename>src/csv2tex.c //csv2tex #include "csv2tex.h" #include "csv2tex_args.h" #include "csv2tex_file.h" #include <stdio.h> #include <stdlib.h> #include <string.h> int csv2tex_debug = 0; char csv2tex_seperator = ';'; int csv2tex_filepos_in_args = 0; //Returns the maximum width static inline long max_width (char *d...
raftario/progress.h
example.c
<gh_stars>1-10 #include <stdlib.h> #include <time.h> #ifdef _WIN32 #include <Windows.h> #else #include <unistd.h> #endif #include "progress.h" // Sleep for n milliseconds, OS independant void cross_sleep(unsigned int delay) { #ifdef _WIN32 Sleep(delay); #else usleep(delay * 1000); #endif } void p...
raftario/progress.h
progress.h
// https://github.com/raftario/progress.h #include <string.h> #include <stdio.h> /// current: Current progress value /// max: Maximum progress value /// formatL Format string /// left: Character to use as the left progress delimiter /// fill: Character to use to represent completed progress /// head: Ch...
olivierapivideo/ios-sdk
sdkApiVideo/sdkApiVideo.h
// // sdkApiVideo.h // sdkApiVideo // // Created by Romain on 30/09/2019. // Copyright © 2019 Romain. All rights reserved. // #import <Foundation/Foundation.h> //! Project version number for sdkApiVideo. FOUNDATION_EXPORT double sdkApiVideoVersionNumber; //! Project version string for sdkApiVideo. FOUNDATION_EXP...
AXErunners/dapi-grpc
clients/platform/v0/objective-c/Platform.pbobjc.h
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: platform.proto // This CPP symbol can be defined to use imports that match up to the framework // imports needed when using CocoaPods. #if !defined(GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS) #define GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS 0 #endif #if GPB_US...
eyesimk/CS204-Advanced-Programming
eyesim_kebabci_yesim_hw8/MFCApplication6/MFCApplication6Dlg.h
// MFCApplication6Dlg.h : header file // #pragma once #include "afxwin.h" // CMFCApplication6Dlg dialog class CMFCApplication6Dlg : public CDialogEx { // Construction public: CMFCApplication6Dlg(CWnd* pParent = NULL); // standard constructor // Dialog Data enum { IDD = IDD_MFCAPPLICATION6_DIALOG ...
eyesimk/CS204-Advanced-Programming
eyesim_kebabci_yesim_hw6/ConsoleApplication158/Board.h
<gh_stars>0 #ifndef BOARD_H #define BOARD_H #include<string> using namespace std; class Board { public: Board(); bool MakeAHit(int row, int col); bool checkIfPlayerWon(int p_id) const; bool putShip(int p_id, int s_ip, int row_s, int col_s, int row_e, int col_e); void displayBoard()const; ...
eyesimk/CS204-Advanced-Programming
eyesim_kebabci_yesim_hw5/ConsoleApplication154/Header.h
//<NAME> #ifndef matrix_class #define matrix_class class Matrix { private: int rows, cols; int ** data; public: Matrix(int r, int c, int init); //constructor Matrix(); // default construstor Matrix (const Matrix &); //deep copy ~Matrix (); //destructor int getRowNumber(); i...
eyesimk/CS204-Advanced-Programming
eyesim_kebabci_yesim_hw6/ConsoleApplication158/Header.h
<filename>eyesim_kebabci_yesim_hw6/ConsoleApplication158/Header.h #ifndef PLAYER_H #define PLAYER_H #include "Board.h" #include<string> #include<iostream> using namespace std; class Player { public: Player(); Player::Player(Board &myboard,int id) : board(myboard), player_id(id) { } boo...
iamnisheeth/Hearty
Basic Chat/Bridging.h
<reponame>iamnisheeth/Hearty // // Bridging.h // Hearty // // Created by Nisheeth on 13/05/18. // Copyright © 2018 Vanguard Logic LLC. All rights reserved. // #ifndef Bridging_h #define Bridging_h #endif /* Bridging_h */
music-group/FlatBuffersSwift
Sources/FlatBuffersSwift/FlatBuffersSwift.h
// // FlatBuffersSwift.h // FlatBuffersSwift // // Created by <NAME> on 29.12.15. // Copyright © 2015 maxim.zaks. All rights reserved. // #import <Cocoa/Cocoa.h> //! Project version number for FlatBuffersSwift. FOUNDATION_EXPORT double FlatBuffersSwiftVersionNumber; //! Project version string for FlatBuffersSwif...
Jumpst3r/tf-trusted
tf_trusted_custom_op/model_enclave_grpc.h
#include "tensorflow/core/framework/op.h" #include "tensorflow/core/kernels/bounds_check.h" #include "tensorflow/core/framework/shape_inference.h" #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/resource_mgr.h" #include "tensorflow/core/lib/core/refcount.h" #include "grpc/grpc.h" #...
Jumpst3r/tf-trusted
tf_trusted/model_server.h
#ifndef TF_TRUSTED_MODEL_SERVER_H_ #define TF_TRUSTED_MODEL_SERVER_H_ #include <string> #include "tf_trusted/proto/model_server.grpc.pb.h" #include "include/grpcpp/grpcpp.h" #include "include/grpcpp/server.h" #include "tensorflow/lite/model.h" #include "tensorflow/lite/interpreter.h" #include "tensorflow/lite/op_res...
anapupa/ReebHanTun
src/NonOverlappingCycles.h
/* (c) 2012 <NAME> */ #ifndef _MY_NON_OVERLAPPING_CYCLES_H_ #define _MY_NON_OVERLAPPING_CYCLES_H_ #include <vector> #include "SimpleMesh.h" #include <RenderVector3.h> #include "psbmReebGraph.h" class NonOverlappingCycles { struct doubleIntLessThan { bool operator()(const std::pair<double, std...
anapupa/ReebHanTun
src/UniqueDirection.h
<gh_stars>0 /* (c) 2012 <NAME> */ #ifndef MY_UNIQUE_DIRECTION_H #define MY_UNIQUE_DIRECTION_H #include <RenderVector3.h> #include <vector> class UniqueDirectionComputation { public: UniqueDirectionComputation() { pointSetPtr = NULL; // _ptOnPlane[0] = 0.; _ptOnPlan...
anapupa/ReebHanTun
src/psbmReebGraph.h
<gh_stars>0 /* (c) 2012 <NAME> */ #pragma once #include <iostream> #include <list> #include <vector> #include <map> #include <set> #include <algorithm> #include <boost/unordered_map.hpp> #include <boost/unordered_set.hpp> #include "SimpleMesh.h" #include "psbmReebGraphElements.h" #include <RenderVector3.h> void Rota...
anapupa/ReebHanTun
src/IntersectionOnMesh.h
/* (c) 2012 <NAME> */ #ifndef _MY_INTERSECTION_ON_MESH_H_ #define _MY_INTERSECTION_ON_MESH_H_ #include <vector> #include "SimpleMesh.h" #include <RenderVector3.h> class IntersectionOnMeshComputation { public: // constructor and assign operator IntersectionOnMeshComputation() { inMeshPtr ...
anapupa/ReebHanTun
src/CycleOptimization/Annotation/HalfedgeDS_annotated_halfedge_base.h
// (c) 2011 <NAME> #ifndef CGAL_HALFEDGEDS_ANNOTATED_HALFEDGE_BASE_H #define CGAL_HALFEDGEDS_ANNOTATED_HALFEDGE_BASE_H #include <CGAL/HalfedgeDS_halfedge_base.h> #include <boost/dynamic_bitset.hpp> namespace CGAL { template<class Refs_, class Traits_> struct HalfedgeDS_annotated_halfedge_base ...
anapupa/ReebHanTun
src/CycleOptimization/edge_annotations_gauss.h
/* (c) 2012 <NAME> */ #ifndef _My_EDGE_ANNOTATION_COMPUTING_GAUSS_ #define _My_EDGE_ANNOTATION_COMPUTING_GAUSS_ #include "SimpleMesh.h" #include <vector> #include <set> #ifndef My_Annotation_Type #define My_Annotation_Type typedef std::vector<char> Annotation_Type; #endif // #ifndef myFloatIntPairLessT...
anapupa/ReebHanTun
src/ReebGraphPairing.h
<filename>src/ReebGraphPairing.h /* (c) 2012 <NAME> */ #ifndef MY_REEB_GRAPH_PAIRING_ALG_H #define MY_REEB_GRAPH_PAIRING_ALG_H #include <vector> #include <map> #include <list> #include <queue> #include <iostream> namespace ReebGraphPairingAlgorithm { // a binary tree is represented as a pointer to th...
anapupa/ReebHanTun
src/CycleOptimization/Annotation/HalfedgeDS_annotated_vertex_base.h
<filename>src/CycleOptimization/Annotation/HalfedgeDS_annotated_vertex_base.h<gh_stars>0 // (c) 2011 <NAME> #ifndef CGAL_HALFEDGEDS_ANNOTATED_VERTEX_BASE_H #define CGAL_HALFEDGEDS_ANNOTATED_VERTEX_BASE_H #include <CGAL/HalfedgeDS_vertex_base.h> namespace CGAL { template<class Refs_, class Point_> st...
anapupa/ReebHanTun
src/ANNSearch.h
/* (c) 2012 <NAME> */ #ifndef _ANN_SEARCH_H_ #define _ANN_SEARCH_H_ #include <ANN/ANN.h> // ANN declarations #include <ANN/ANNx.h> // more ANN declarations #include <ANN/ANNperf.h> // performance evaluation #include <vector> // namespace ANNSearch { void GetMax...
anapupa/ReebHanTun
src/Graph_max_tree.h
<filename>src/Graph_max_tree.h /* (c) 2012 <NAME> */ #ifndef _MY_GRAPH_MAX_TREE_H_ #define _MY_GRAPH_MAX_TREE_H_ #include <set> #include <vector> #include <algorithm> #include <iostream> #include <queue> #include <iterator> #include <boost/pending/disjoint_sets.hpp> class _simpGraphNode_max_tree { pu...
anapupa/ReebHanTun
src/CycleOptimization/SimpleGraph.h
/* (c) 2012 <NAME> */ #ifndef _MY_SIMPLE_GRAPH_H_ #define _MY_SIMPLE_GRAPH_H_ #include <set> #include <vector> #include <algorithm> #include <iostream> #include <queue> #include <iterator> class _simpGraphNode_vec { public: _simpGraphNode_vec() : selfIndex(-1), color(0) { value = 0.0; // set the v...
anapupa/ReebHanTun
src/CycleOptimization/DijkstraAlgorithm.h
/* (c) 2012 <NAME> */ #ifndef _DIJKSTRA_ALGORITHM_H_ #define _DIJKSTRA_ALGORITHM_H_ #include <iostream> #include <vector> #include "FibonacciHeap.h" typedef float DIJ_real_type; namespace FIBO = FibonacciHeap; namespace DijkstraAlgorithm { void DijkstraShortestPath(const int srcIndex, ...
anapupa/ReebHanTun
src/SimpleMesh.h
/* (c) 2012 <NAME> */ #pragma once #include <vector> #include <RenderVector3.h> class _SimpleMeshVertex { public: _SimpleMeshVertex() { x = y = z = 0.f; } _SimpleMeshVertex(const float x0, const float y0, const float z0) { x = x0; y = y0; z = z0; } ...
anapupa/ReebHanTun
src/LinkNumberComputing.h
<filename>src/LinkNumberComputing.h /* (c) 2012 <NAME> */ #ifndef MY_LINK_NUMBER_COMPUTING_H #define MY_LINK_NUMBER_COMPUTING_H #include "psbmReebGraphElements.h" #include <RenderVector3.h> class LinkNumberPairPolygon { public: LinkNumberPairPolygon() { _link_number = -100000; // not computed ...
anapupa/ReebHanTun
src/CycleOptimization/canonical_loops.h
<filename>src/CycleOptimization/canonical_loops.h /* (c) 2012 <NAME> */ #ifndef _MY_CANONICAL_LOOPS_H_ #define _MY_CANONICAL_LOOPS_H_ #include <vector> #include <iostream> #include "SimpleGraph.h" #include "SimpleMesh.h" #include "edge_annotations_gauss.h" #include "DijkstraAlgorithm.h" #ifndef myFloatIn...
anapupa/ReebHanTun
src/AdjListGraph.h
/* (c) 2012 <NAME> */ #pragma once #include "psbmReebGraph.h" class __psbmGraphNode { public: __psbmGraphNode(); void Clear(); __psbmGraphNode(const __psbmGraphNode &rhs); __psbmGraphNode &operator=(const __psbmGraphNode &rhs); ///////// int selfIdxInVecNode; // index in the graph node ...
anapupa/ReebHanTun
src/CycleOptimization/Annotation/Annotated_polyhedron_3.h
// (c) 2011 <NAME> #ifndef CGAL_ANNOTATED_POLYHEDRON_3_H #define CGAL_ANNOTATED_POLYHEDRON_3_H #include "Annotated_polyhedron_items_3.h" #include <CGAL/Polyhedron_3.h> namespace CGAL { template<typename Traits_, typename Items_ = Annotated_polyhedron_items_3> class Annotated_polyhedron_3 ...
anapupa/ReebHanTun
src/CycleOptimization/Annotation/Polyhedron_annotator_3.h
<filename>src/CycleOptimization/Annotation/Polyhedron_annotator_3.h // (c) 2011 <NAME> #ifndef CGAL_POLYHEDRON_ANNOTATOR_3_H #define CGAL_POLYHEDRON_ANNOTATOR_3_H #include "Annotated_polyhedron_3.h" namespace CGAL { template<typename Polyhedron_> class Polyhedron_annotator_3 { typedef typen...
anapupa/ReebHanTun
src/CycleOptimization/Annotation/Annotated_polyhedron_items_3.h
<reponame>anapupa/ReebHanTun<gh_stars>0 // (c) 2011 <NAME> #ifndef CGAL_ANNOTATED_POLYHEDRON_ITEMS_3_H #define CGAL_ANNOTATED_POLYHEDRON_ITEMS_3_H #include <CGAL/Polyhedron_items_3.h> #include "HalfedgeDS_annotated_vertex_base.h" #include "HalfedgeDS_annotated_halfedge_base.h" #include "HalfedgeDS_annotated...
anapupa/ReebHanTun
src/MapLoopsBackToMeshLevelSetAndArc.h
/* (c) 2012 <NAME> */ #ifndef _MY_MapLoopsBackToMeshLevelSetAndArc_H #define _MY_MapLoopsBackToMeshLevelSetAndArc_H #include "psbmReebGraphElements.h" #include "IntersectionOnMesh.h" #include <vector> class MapLoopsBackToMeshLevelSetAndArc { public: // constructor and assign operator MapLoopsBa...
anapupa/ReebHanTun
src/NonOverlappedLevelCycleAndArc.h
<reponame>anapupa/ReebHanTun<filename>src/NonOverlappedLevelCycleAndArc.h /* (c) 2012 <NAME> */ #ifndef _MY_NON_OVERLAPPED_LEVEL_CYCLE_AND_ARC_H_ #define _MY_NON_OVERLAPPED_LEVEL_CYCLE_AND_ARC_H_ #include "psbmReebGraphElements.h" #include "IntersectionOnMesh.h" #include <vector> class NonOverlappedLevelC...
anapupa/ReebHanTun
src/InverseLinkNumberMatrix.h
/* (c) 2012 <NAME> */ /*compute the inverse matrix by using the speciality of the linking number matrix*/ /* * * * 1 * * * * * 0 1 * * * * 0 0 1 1 0 0 0 0 0 * 1 0 0 0 0 * * 1 0 0 0 The submatrix M(n:2n, 1:n) and M(1:n, n:2n) are triangular matrix */ #ifndef _INVERSE_LINK_NUMBER_MATRIX_H_ #de...
anapupa/ReebHanTun
src/CycleOptimization/Annotation/HalfedgeDS_annotated_face_base.h
// (c) 2011 <NAME> #ifndef CGAL_HALFEDGEDS_ANNOTATED_FACE_BASE_H #define CGAL_HALFEDGEDS_ANNOTATED_FACE_BASE_H #include <CGAL/HalfedgeDS_face_base.h> #include <boost/dynamic_bitset.hpp> namespace CGAL { template<class Refs_, class Traits_> struct HalfedgeDS_annotated_face_base : publ...
anapupa/ReebHanTun
src/SegmentIntersection.h
/* (c) 2012 <NAME> */ #include <vector> #include <RenderVector3.h> namespace IntersectonComputing { int LinkNumberOfTow3DLines(std::vector<Vector3> &inPly_a, std::vector<Vector3> &inPly_b); };
anapupa/ReebHanTun
src/CycleOptimization/Annotation/AnnotationComputation.h
/* (c) 2012 <NAME> */ #ifndef _My_ANNOTATION_COMP_H_ #define _My_ANNOTATION_COMP_H_ #include <vector> #include "SimpleMesh.h" extern int ComputeAnnotation(_SimpleMesh &inMesh, std::vector<std::vector<char> > &vecEdgeAnno, std::vector<int> &tris); #endif
anapupa/ReebHanTun
src/CycleOptimization/FibonacciHeap.h
// ==================================================================== // // A network optimization algorithm using Fibonacci Heap // // Written by: <NAME> // // ==================================================================== #ifndef _FIBONACCI_HEAP_H_ #define _FIBONACCI_HEAP_H_ #include <stdio.h> #include <vec...