repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
batekmc/meanshift
CUDA/cuda.h
#define grid 16 #define halfGrid 8 struct Hodnoty{ int x,y,radius, radiusE2, colorDiff; }; //return time of running kernel in millsec float mainCu( unsigned char *img, unsigned char *result, Hodnoty *c );
batekmc/meanshift
C&CPP/bc.c
#include <math.h> //#include "bc.h" /* * @param x - Xova souradnice zkoumaneho pixelu * @param y - Yova souradnice zkoumaneho pixelu * @param col - barva (0 - 255) pixelu * //TODO */ const int maxIteraci = 500; const float minPosun = 0.002; void meanShift( unsigned char *imageMatrix, unsigned char *result...
vaibhav-agnext/aws-iot-device-sdk-embedded-C
libraries/standard/retry-utils/source/include/retry_utils.h
<reponame>vaibhav-agnext/aws-iot-device-sdk-embedded-C /* * AWS IoT Device SDK for Embedded C V202011.00 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation fi...
vaibhav-agnext/aws-iot-device-sdk-embedded-C
platform/posix/clock_posix.c
/* * AWS IoT Device SDK for Embedded C V202011.00 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software withou...
vaibhav-agnext/aws-iot-device-sdk-embedded-C
platform/posix/transport/src/openssl_posix.c
<filename>platform/posix/transport/src/openssl_posix.c<gh_stars>0 /* * AWS IoT Device SDK for Embedded C V202011.00 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated docum...
vaibhav-agnext/aws-iot-device-sdk-embedded-C
platform/posix/transport/include/openssl_posix.h
<gh_stars>0 /* * AWS IoT Device SDK for Embedded C V202011.00 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Sof...
vaibhav-agnext/aws-iot-device-sdk-embedded-C
demos/pkcs11/common/src/demo_helpers.c
/* * AWS IoT Device SDK for Embedded C V202011.00 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software withou...
qingyundou/tacotron_qdou
lib/straight/sp/straight_vconv_sub.h
<gh_stars>1-10 /* straight_vconv_sub.h * * <NAME> (<EMAIL>) * From Mar. 2001 to Sep. 2003 */ #ifndef __STRAIGHT_VCONV_SUB_H #define __STRAIGHT_VCONV_SUB_H extern DVECTOR xget_wave2powvec(DVECTOR xd, double fs, double frame, double shift, long len, XBOOL log_flag); extern DVECTOR xget_spg2powvec(DMATRIX n2s...
qingyundou/tacotron_qdou
lib/straight/synthesis/straight_synth_tb06.h
/* straight_synth_tb06_unit.h * * <NAME> (<EMAIL>) * From Mar. 2001 to Sep. 2003 */ #ifndef __STRAIGHT_SYNTH_TB06_UNIT_H #define __STRAIGHT_SYNTH_TB06_UNIT_H /* STRAIGHT Synthesis Using Parameters Generated from HMM */ extern DVECTOR straight_synth_tb06(DMATRIX n2sgram, DVECTOR f0l, ...
qingyundou/tacotron_qdou
lib/straight/sp/straight_sub.h
/* straight_body_sub.h * * <NAME> (<EMAIL>) * From Mar. 2001 to Sep. 2003 */ #ifndef __STRAIGHT_SUB_H #define __STRAIGHT_SUB_H /*static double dsqrarg;*/ #define ss_DSQR(a) ((dsqrarg=(a)) == 0.0 ? 0.0 : dsqrarg*dsqrarg) /*static double dmaxarg1,dmaxarg2;*/ #define ss_DMAX(a,b) (dmaxarg1=(a),dmaxarg2=(b),...
qingyundou/tacotron_qdou
lib/straight/sp/window.h
<gh_stars>1-10 /* window.h * coded by <NAME> * * <NAME> (<EMAIL>) * From Mar. 2001 to Sep. 2003 */ #ifndef __WINDOW_H #define __WINDOW_H #include "vector.h" extern void blackmanf(float window[], long length); extern void blackman(double window[], long length); extern FVECTOR xfvblackman(long length); extern D...
qingyundou/tacotron_qdou
lib/straight/sp/straight_synth_sub.h
/* straight_synth_sub.h * * <NAME> (<EMAIL>) * From Mar. 2001 to Sep. 2003 */ #ifndef __STRAIGHT_SYNTH_SUB_H #define __STRAIGHT_SYNTH_SUB_H #define SS_FRACTPHASE 1 #define SS_ALLVOICED 0 #define SS_NEGA_DIRECT 0 extern DVECTOR ss_xfractpitchtbl(long fftl); extern DVECTOR ss_xlowcutwin(double fs, double cutf, d...
qingyundou/tacotron_qdou
lib/straight/sp/tempo_sub.h
<gh_stars>1-10 /* tempo_sub.h * * <NAME> (<EMAIL>) * From Mar. 2001 to Sep. 2003 */ #ifndef __TEMPO_SUB_H #define __TEMPO_SUB_H extern void cleaninglownoise(DVECTOR x, double fs, double f0fllor); extern DVECTOR fir1(long length, double cutoff); extern DVECTOR decimate(DVECTOR x, long dn); extern DVECTORS cheby(...
qingyundou/tacotron_qdou
lib/straight/analysis/straight_body_c03.h
<filename>lib/straight/analysis/straight_body_c03.h /* straight_body_c03.h * * <NAME> (<EMAIL>) * From Mar. 2001 to Sep. 2003 */ #ifndef __STRAIGHT_BODY_C03_H #define __STRAIGHT_BODY_C03_H /* for V30k18 */ extern DMATRIX straight_body_c03(DVECTOR x, DVECTOR f0l, double fs, double framem, double shiftm, lon...
qingyundou/tacotron_qdou
lib/straight/sp/basic.h
<filename>lib/straight/sp/basic.h /* basic.h * coded by <NAME> * * <NAME> (<EMAIL>) * From Mar. 2001 to Sep. 2003 */ #ifndef __BASIC_H #define __BASIC_H #define MAX_LONG 2147483647 extern void sp_warn_on(void); extern void sp_warn_off(void); /*extern double randun(void); extern double gauss(double mu, double...
qingyundou/tacotron_qdou
lib/straight/sp/option.h
<reponame>qingyundou/tacotron_qdou /* option.h * coded by <NAME> * * <NAME> (<EMAIL>) * From Mar. 2001 to Sep. 2003 */ #ifndef __OPTION_H #define __OPTION_H #include "defs.h" #define TYPE_BOOLEAN 0 #define TYPE_STRING 1 #define TYPE_INT 2 #define TYPE_SHORT 3 #define TYPE_LONG 4 #define TYPE_FLOAT 5 #define T...
qingyundou/tacotron_qdou
lib/straight/sp/fileio.h
<reponame>qingyundou/tacotron_qdou /* fileio.h * coded by <NAME> * * <NAME> (<EMAIL>) * From Mar. 2001 to Sep. 2003 */ #ifndef __FILEIO_H #define __FILEIO_H #include "vector.h" #include "matrix.h" extern long getfilesize(char *filename, int headlen); extern void swapshort(short *data, long length); extern vo...
qingyundou/tacotron_qdou
lib/straight/sp/memory.h
/* memory.h * coded by <NAME> * * <NAME> (<EMAIL>) * From Mar. 2001 to Sep. 2003 */ #ifndef __MEMORY_H #define __MEMORY_H extern char *safe_malloc(unsigned int nbytes); extern char *safe_realloc(char *p, unsigned int nbytes); extern int **imatalloc(int row, int col); extern void imatfree(int **mat, int row); ...
qingyundou/tacotron_qdou
lib/straight/sp/fft.h
<gh_stars>1-10 /* fft.h * coded by <NAME> * * <NAME> (<EMAIL>) * From Mar. 2001 to Sep. 2003 */ #ifndef __FFT_H #define __FFT_H #include "vector.h" #include "complex.h" extern DCOMPLEX xvfft(DVECTOR real, DVECTOR imag, long length, int inv); extern void cfft(DCOMPLEX cplx, int inv); extern void cfftturn(DCOMP...
qingyundou/tacotron_qdou
lib/straight/sp/voperate.h
/* voperate.h * coded by <NAME> * * <NAME> (<EMAIL>) * From Mar. 2001 to Sep. 2003 */ #ifndef __VOPERATE_H #define __VOPERATE_H #include "vector.h" extern void fvoper(FVECTOR a, char *op, FVECTOR b); extern void dvoper(DVECTOR a, char *op, DVECTOR b); extern FVECTOR xfvoper(FVECTOR a, char *op, FVECTOR b); ex...
qingyundou/tacotron_qdou
lib/straight/analysis/voice_strength.h
<gh_stars>1-10 #ifndef __VOICE_STRENGTH_H #define __VOICE_STRENGTH_H extern DMATRIX voice_strength(DVECTOR x, DVECTOR f0l, double fs, double framem, double shiftm, long fftl, double eta); #endif /* __VOICE_STRENGTH_H */
qingyundou/tacotron_qdou
lib/straight/sp/kaiser.h
/* kaiser.h * coded by <NAME> * * <NAME> (<EMAIL>) * From Mar. 2001 to Sep. 2003 */ #ifndef __KAISER_H #define __KAISER_H extern void getkaiserparam(double sidelobe, double trans, double *beta, long *length); extern int kaiser(double w[], long n, double beta); extern double ai0(double x); #endif /* __KAISER_H...
qingyundou/tacotron_qdou
lib/straight/sp/defs.h
<filename>lib/straight/sp/defs.h /* defs.h * coded by <NAME> * * <NAME> (<EMAIL>) * From Mar. 2001 to Sep. 2003 */ #ifndef __DEFS_H #define __DEFS_H #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #ifdef WIN32tmp #include "PrintMsg.h" #define printmsg PrintMsg #else #define printm...
qingyundou/tacotron_qdou
lib/straight/sp/straight_body_sub.h
/* straight_body_sub.h * * <NAME> (<EMAIL>) * From Mar. 2001 to Sep. 2003 */ #ifndef __STRAIGHT_BODY_SUB_H #define __STRAIGHT_BODY_SUB_H extern double sb_extractf0(DVECTOR f0l, long idf0, double fguard, double bguard, double f0shiftm); extern DVECTOR sb_xwintable(long framel, double *refw); extern DVECTOR...
qingyundou/tacotron_qdou
lib/straight/tempo/tempo.h
<filename>lib/straight/tempo/tempo.h /* tempo.h * * <NAME> (<EMAIL>) * From Mar. 2001 to Sep. 2003 */ #ifndef __TEMPO_H #define __TEMPO_H extern DVECTORS tempo(DVECTOR x, double maxf0, double minf0, double f0ceil, double f0floor, double fs, double shiftm, double f0shiftm, char *cf0file, XBOOL f0...
qingyundou/tacotron_qdou
lib/straight/sp/complex.h
<reponame>qingyundou/tacotron_qdou /* complex.h * coded by <NAME> * * <NAME> (<EMAIL>) * From Mar. 2001 to Sep. 2003 */ #ifndef __COMPLEX_H #define __COMPLEX_H #include "vector.h" typedef struct FCOMPLEX_STRUCT { long length; FVECTOR real; FVECTOR imag; } *FCOMPLEX; typedef struct DCOMPLEX_STRUCT...
qingyundou/tacotron_qdou
lib/straight/sp/filter.h
/* filter.h * coded by <NAME> * * <NAME> (<EMAIL>) * From Mar. 2001 to Sep. 2003 */ #ifndef __FILTER_H #define __FILTER_H extern void dvangle(DVECTOR x); extern DVECTOR xdvangle(DVECTOR x); extern void dvunwrap(DVECTOR phs, double cutoff); extern double sinc(double x, double c); extern DVECTOR xdvlowpass(doubl...
vi88i/conpool
conpool.h
#ifndef _CONPOOL_H_ #define _CONPOOL_H_ #include <thread> #include <mutex> #include <vector> #include <queue> #include <deque> #include <tuple> #include <cstring> #include <chrono> #include <memory> #include <math.h> #include "utils.h" #include "semaphore.h" #include <mysql_connection.h> #include <cppconn/driver.h> #i...
vi88i/conpool
semaphore.h
#ifndef _SEMAPHORE_H_ #define _SEMAPHORE_H_ #include <assert.h> #include <thread> #include <mutex> #include <condition_variable> using namespace std; class Semaphore { int N; mutex mu; condition_variable cond; public: Semaphore() { N = 1; } void init(int n) { assert(n >= 0); N = n; } /* ...
vi88i/conpool
utils.h
#ifndef _UTILS_H_ #define _UTILS_H_ #include <iostream> #include <mutex> using namespace std; mutex stdout_mutex; /* thread-safe cout */ template <class T> void print(T t) { stdout_mutex.lock(); std::cout << t; stdout_mutex.unlock(); } template <class T, class... Args> void print(T t, Args... args) { stdout...
dzwing/DFCategoryKit
Example/DFCategoryKit/DFAppDelegate.h
// // DFAppDelegate.h // DFCategoryKit // // Created by dzwing on 11/23/2018. // Copyright (c) 2018 dzwing. All rights reserved. // @import UIKit; @interface DFAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
dzwing/DFCategoryKit
DFCategoryKit/Classes/Category/UIColor+Extend.h
<gh_stars>0 // // UIColor+Extend.h // aragorn // // Created by dzw on 18/11/23. // Copyright © 2018年 dzw. All rights reserved. // #define RGBA_COLOR(R, G, B, A) [UIColor colorWithRed:((R) / 255.0f) green:((G) / 255.0f) blue:((B) / 255.0f) alpha:A] #define RGB_COLOR(R, G, B) [UIColor colorWithRed:((R) / 255.0f) gree...
xLobito/C-ObjectOriented
Double.h
#include "ObjectPrueba.h" #ifndef DOUBLE_H #define DOUBLE_H typedef struct DoublePrivate DoublePrivate; typedef struct doubleClass { Object object; private(Double); double (*Get)(void); bool (*Equals)(struct doubleClass *); struct doubleClass *(*Parse)(struct string *); struct s...
xLobito/C-ObjectOriented
Stack.c
#include "Stack.h" typedef struct Stack_Int16Private { Int16 *value; struct Stack_Int16Private *Stack; struct Stack_Int16Private *top; } Stack_Int16Private; typedef struct Stack_Int32Private { Int32 *value; struct Stack_Int32Private *Stack; struct Stack_Int32Private *top; } Stack...
xLobito/C-ObjectOriented
Float.c
<reponame>xLobito/C-ObjectOriented<gh_stars>0 #include "Float.h" typedef struct FloatPrivate { Object object; float value; void (*Set)(float); } FloatPrivate; /* Public */ float Float_Get(Float *); bool Float_Equals(Float *, Float *); struct string *Float_ToString(Float *); struct string *Fl...
xLobito/C-ObjectOriented
Float.h
#include "ObjectPrueba.h" #ifndef FLOAT_H #define FLOAT_H typedef struct FloatPrivate FloatPrivate; typedef struct floatClass { Object object; private(Float); float (*Get)(void); bool (*Equals)(struct floatClass *); struct string *(*ToString)(void); char *(*GetType)(void); ...
xLobito/C-ObjectOriented
Console.c
#include "Console.h" extern SystemConsole *SystemConsole_new(void); extern void SystemConsole_ClearConsole(SystemConsole * const); extern Array(String) *SystemConsole_GetArgv(SystemConsole * const); extern Int32 *SystemConsole_Read(SystemConsole * const); extern KeyInfo *SystemConsole_ReadKey(SystemConsole * con...
xLobito/C-ObjectOriented
KeyInfo.c
<reponame>xLobito/C-ObjectOriented<gh_stars>0 #include "KeyInfo.h" extern void *KeyInfo_new(void); extern bool KeyInfo_Equals(KeyInfo *, KeyInfo * const); extern char *KeyInfo_GetType(KeyInfo * const); void *KeyInfo_new(void) { KeyInfo *this = Object_create(sizeof(KeyInfo), 2); FUNCTION(KeyInfo, Eq...
xLobito/C-ObjectOriented
Array.c
<filename>Array.c #include "Array.h" /* Array */ typedef struct Array_Int16Private { Int16 **array; size_t sizeArray; } Array_Int16Private; typedef struct Array_Int32Private { Int32 **array; size_t sizeArray; } Array_Int32Private; typedef struct Array_Int64Private { Int64 **array...
xLobito/C-ObjectOriented
String.c
<gh_stars>0 #include "String.h" typedef struct StringPrivate { Object object; char *string; void (*SetString)(const char *); void (*SetStringLength)(const char *, size_t); } StringPrivate; /*String *StringNull_new(void); String *StringSingle_new(const char *); String *StringLength_new(const char *,...
xLobito/C-ObjectOriented
GC_Class.h
#include "ObjectPrueba.h" #ifndef GC_CLASS_H #define GC_CLASS_H /** * The following macro marks the destructor which belongs to specific class either built in or user-defined one. * By doing so, it uses a single do-while(false) trick for a single operation (When it comes to macros, using if statements * ...
xLobito/C-ObjectOriented
UInt16.h
#include "ObjectPrueba.h" #ifndef UINT16_H #define UINT16_H typedef struct UInt16Private UInt16Private; typedef struct uint16 { Object object; private(UInt16); short (*Get)(void); struct Uint16 *(*Parse)(struct string *); //Char *(*ToChar)(void); struct string *(*ToString)(void); bool (*R...
xLobito/C-ObjectOriented
Int64.h
#include "ObjectPrueba.h" #ifndef INT64_H #define INT64_H typedef struct Int64Private Int64Private; typedef struct int64 { Object object; private(Int64); long (*Get)(void); struct int64 *(*Parse)(struct string *); struct string *(*ToString)(void); bool (*ReferenceEquality)(void ...
xLobito/C-ObjectOriented
Int64.c
<gh_stars>0 #include "Int64.h" typedef struct Int64Private { Object object; long value; void (*Set)(long); } Int64Private; /* Public */ long Int64_Get(Int64 * const); Int64 *Int64_Parse(struct string *, Int64 * const); struct string *Int64_ToString(Int64 * const); bool Int64_ReferenceEquality...
xLobito/C-ObjectOriented
ObjectPrueba.c
<filename>ObjectPrueba.c #include "ObjectPrueba.h" void *Object_trampoline(Object *, void *, int); void Object_destroy(Object *); void *Object_create(size_t, int); void Object_prepare(Object *); void callprotect(Object *); void *Object_stacked(Object *, int); char *isPtrOnStack(void *); bool isList(char *);...
xLobito/C-ObjectOriented
Char.c
<gh_stars>0 #include "Char.h" #include <ctype.h> typedef struct CharPrivate { Object object; char c; void (*Set)(const char); } CharPrivate; /* Public */ char Char_Get(Char *); int Char_CompareTo(Char *, Char *); bool Char_Equals(Char *, Char *); String *Char_GetType(Char *); bool Char_IsDi...
xLobito/C-ObjectOriented
UInt64.h
<reponame>xLobito/C-ObjectOriented<filename>UInt64.h #include "ObjectPrueba.h" #ifndef UINT64_H #define UINT64_H typedef struct UInt64Private UInt64Private; typedef struct uint64 { Object object; private(UInt64); unsigned long (*Get)(void); struct Uint64 *(*Parse)(struct string *); //Char *(*ToCh...
xLobito/C-ObjectOriented
StringTest.c
<reponame>xLobito/C-ObjectOriented #include "ObjectPrueba.h" int main(void) { //String *a = new StringBuilder("<NAME>"); /* Usar Instance para evaluar la cantidad de argumentos (Function Hooking) */ String *a = new Instance(String, 0); String *b = new Instance(String, 1); String *c = new Instanc...
xLobito/C-ObjectOriented
Int16.h
#include "ObjectPrueba.h" #ifndef INT16_H #define INT16_H typedef struct Int16Private Int16Private; typedef struct int16 { Object object; private(Int16); short (*Get)(void); struct int16 *(*Parse)(struct string *); //Char *(*ToChar)(void); struct string *(*ToString)(void); ...
xLobito/C-ObjectOriented
Double.c
<reponame>xLobito/C-ObjectOriented #include "Double.h" typedef struct DoublePrivate { Object object; double value; void (*Set)(double); } DoublePrivate; /* Public */ double Double_Get(Double * const); bool Double_Equals(Double *, Double * const); Double *Double_Parse(struct string *, Double * ...
xLobito/C-ObjectOriented
List.c
#include "List.h" /* List */ typedef struct List_Int16Private { Int16 *value; Int16 **List; List_Int16Private *next; List_Int16Private *prev; List_Int16Private *L; } List_Int16Private; typedef struct List_Int32Private { Int32 *value; Int32 **List; List_Int32Private *nex...
xLobito/C-ObjectOriented
Stack.h
<gh_stars>0 #include "ObjectPrueba.h" #ifndef STACK_H #define STACK_H #define stack(T) \ typedef struct Stack_##T##Private Stack_##T##Private; \ \ typedef struct stack_##T \ { \ Object object; \ private(Stack_##T); \ void (*Push)(T *); \ T *(*Pop)(void); \ ...
xLobito/C-ObjectOriented
Exception.c
#include "GC_Class.h" #include "Exception.h" #define _GNU_SOURCE #define __USE_GNU #define UNW_LOCAL_ONLY /** * Global Variables. * * Note the fact this variables are only accessibles from this file scope marking as exception context variables, * which are used mostly in other places so the scope need...
xLobito/C-ObjectOriented
Console.h
#include "ObjectPrueba.h" #ifndef CONSOLE_H #define CONSOLE_H #define FUNCTIONPARAM(T, N) \ do \ { \ this->N = &T ## _ ## N; \ } while(0); typedef struct systemConsole { Object object; int argc; char **argv; void (*ClearConsole)(void); Array(String) *(*GetArg...
xLobito/C-ObjectOriented
Char.h
<filename>Char.h #include "ObjectPrueba.h" #ifndef CHAR_H #define CHAR_H typedef struct CharPrivate CharPrivate; typedef struct charClass { Object object; private(Char); char (*Get)(void); int (*CompareTo)(struct charClass *); bool (*Equals)(struct charClass *); struct string *(...
xLobito/C-ObjectOriented
UInt16.c
<reponame>xLobito/C-ObjectOriented<filename>UInt16.c #include "UInt16.h" typedef struct UInt16Private { Object object; unsigned short value; void (*Set)(short); } UInt16Private; unsigned short UInt16_Get(UInt16 * const); UInt16 *UInt16_Parse(String *, UInt16 * const); String *UInt16_ToString(UInt16 * const);...
xLobito/C-ObjectOriented
File.h
#include "ObjectPrueba.h" #ifndef FILE_H #define FILE_H typedef enum fmode { None = 0, Read, Write, Append, ReadUpdate, WriteUpdate, AppendUpdate } FileMode; typedef struct FileStreamPrivate FileStreamPrivate; typedef struct file { Object object; private(Fil...
xLobito/C-ObjectOriented
Conversion.c
#include "Conversion.h" #include <ctype.h> typedef struct SystemConvertPrivate { short MinValue; short MaxValue; } SystemConvertPrivate; void *SystemConvert_new(void); char *SystemConvert_GetType(void); Char *SystemConvert_ToChar_Internal(void *, const char *, SystemConvert * const); Char *SystemC...
xLobito/C-ObjectOriented
UInt32.c
#include "UInt32.h" typedef struct UInt32Private { Object object; unsigned int value; void (*Set)(short); } UInt32Private; unsigned int UInt32_Get(UInt32 * const); UInt32 *UInt32_Parse(String *, UInt32 * const); String *UInt32_ToString(UInt32 * const); bool UInt32_ReferenceEquality(void *, UInt32 * const); ...
xLobito/C-ObjectOriented
GC_Class.c
#include "GC_Class.h" #include <libunwind.h> #include <libelf.h> void *GarbageCollector_GarbageCollector(void); void GC_Collect(GarbageCollector * const); void GC_StackFinalizer(void *, void (*)(void), const char *, GarbageCollector * const); void GC_RegisterFinalizer(void *, void (*)(void *, void *), void (*)(...
xLobito/C-ObjectOriented
FullTest.c
#include "ObjectPrueba.h" typedef struct A { Object object; struct { int __vptrCount; int __vptrFlag; }; vtable(A); #define A(args...) overload(A, args); void *(*A0)(void); void (*$A)(void); void (*virtualFunc)(void); void (*virtualFunc2)(void); }...
xLobito/C-ObjectOriented
List.h
<gh_stars>0 #include "ObjectPrueba.h" #ifndef LIST_H #define LIST_H #define list(T) \ typedef struct List_##T##Private List_##T##Private; \ \ typedef struct lista_##T \ { \ Object object; \ private(List_##T); \ const struct readonlylist_##T *(*AsReadOnly)(void); \ ...
xLobito/C-ObjectOriented
KeyInfo.h
#include "ObjectPrueba.h" #ifndef KEY_INFO_H #define KEY_INFO_H #define KeyInfo() KeyInfo_new() typedef struct keyword { Object object; int asciiNumber; char asciiKey; bool (*Equals)(struct keyword *); char *(*GetType)(void); } KeyInfo; extern void *KeyInfo_new(void); extern boo...
xLobito/C-ObjectOriented
UInt32.h
<reponame>xLobito/C-ObjectOriented<filename>UInt32.h #include "ObjectPrueba.h" #ifndef UINT32_H #define UINT32_H typedef struct UInt32Private UInt32Private; typedef struct uint32 { Object object; private(UInt32); short (*Get)(void); struct Uint32 *(*Parse)(struct string *); //Char *(*ToChar)(void...
xLobito/C-ObjectOriented
Int32.h
<reponame>xLobito/C-ObjectOriented #include "ObjectPrueba.h" #ifndef INT32_H #define INT32_H typedef struct Int32Private Int32Private; typedef struct int32 { Object object; private(Int32); int (*Get)(void); struct int32 *(*Parse)(struct string *); struct string *(*ToString)(void); ...
xLobito/C-ObjectOriented
Int32.c
<gh_stars>0 #include "Int32.h" typedef struct Int32Private { Object object; int value; void (*Set)(int); } Int32Private; /* Public */ int Int32_Get(Int32 * const); Int32 *Int32_Parse(struct string *, Int32 * const); struct string *Int32_ToString(Int32 * const); bool Int32_ReferenceEquality(vo...
xLobito/C-ObjectOriented
UInt64.c
<reponame>xLobito/C-ObjectOriented<filename>UInt64.c #include "UInt64.h" typedef struct UInt64Private { Object object; unsigned long value; void (*Set)(unsigned long); } UInt64Private; unsigned long UInt64_Get(UInt64 * const); UInt64 *UInt64_Parse(String *, UInt64 * const); String *UInt64_ToString(UInt64 * c...
xLobito/C-ObjectOriented
Array.h
<reponame>xLobito/C-ObjectOriented #include "ObjectPrueba.h" #ifndef ARRAY_H #define ARRAY_H #include <limits.h> #define array(T) \ typedef struct Array_##T##Private Array_##T##Private; \ \ typedef struct array_##T \ { \ Object object; \ private(Array_##T); \ T *...
xLobito/C-ObjectOriented
Int16.c
<gh_stars>0 #include "Int16.h" typedef struct Int16Private { Object object; short value; void (*Set)(short); } Int16Private; short Int16_Get(Int16 * const); Int16 *Int16_Parse(String *, Int16 * const); String *Int16_ToString(Int16 * const); bool Int16_ReferenceEquality(void *, Int16 * const); b...
xLobito/C-ObjectOriented
File.c
#include "File.h" typedef struct FileStreamPrivate { Object object; FILE *stream; FileMode __mode; void (*Set)(const FileStream *, FileMode); } FileStreamPrivate; /* Public */ FILE *FileStream_Get(FileStream * const); void FileStream_StreamOpen(struct string *, FileMode, FileStream * const...
xLobito/C-ObjectOriented
Conversion.h
#include "ObjectPrueba.h" #ifndef CONVERSION_H #define CONVERSION_H #define typename(T) \ _Generic((T), \ float *: "float", \ double *: "double", \ short *: "short", \ int *: "int", \ long *: "long", \ unsigned short *: "unsigned short", \ unsig...
xLobito/C-ObjectOriented
String.h
#include "ObjectPrueba.h" #ifndef STRING_H #define STRING_H typedef struct StringPrivate StringPrivate; typedef struct string { Object object; private(String); int (*CompareTo)(const char *); int (*Length)(void); struct string *(*Concatenate)(char *); char *(*Get)(void); struct string ...
xLobito/C-ObjectOriented
Exception.h
<filename>Exception.h #include "ObjectPrueba.h" #ifndef EXCEPTION_H #define EXCEPTION_H /* Mandatory defines for *NIX-based and set the local unwinding. */ /** * Each process has its own. Can't read it from other process. */ #define _GNU_SOURCE #define __USE_GNU #define UNW_LOCAL_ONLY #include <libun...
xLobito/C-ObjectOriented
ObjectPrueba.h
#ifndef OBJECTPRUEBA_H #define OBJECTPRUEBA_H #include <gc.h> #include <assert.h> #include <libelf.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <sys/ioctl.h> #include <sys/mman.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <stdarg.h> #define optimiz...
ignatov357/exmo-api-lib
swift/api-Bridging-Header.h
// // api-Bridging-Header.h // api // // Created by Admin on 14.02.16. // Copyright © 2016 exmo. All rights reserved. // #ifndef api_Bridging_Header_h #define api_Bridging_Header_h #import <CommonCrypto/CommonHMAC.h> #endif /* api_Bridging_Header_h */
ignatov357/exmo-api-lib
objectivec/api/ExmoApiHandler.h
<gh_stars>10-100 // // BtceApiHandler.h // // #import <Foundation/Foundation.h> @interface ExmoApiHandler : NSObject @property (nonatomic,strong) NSString *api_key; @property (nonatomic,strong) NSString *secret_key; - (NSData *)getResponseFromServerForPost:(NSDictionary *)postDictionary method:(NSString *)method...
trapplab/esp-idf
examples/system/ota/native_ota_example/main/native_ota_example.c
<reponame>trapplab/esp-idf<filename>examples/system/ota/native_ota_example/main/native_ota_example.c /* OTA example This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, WITHOUT...
trapplab/esp-idf
examples/protocols/http_server/restful_server/main/esp_rest_main.c
<gh_stars>0 /* HTTP Restful API Server Example This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ...
liuyuwang2016/Projects
Test7_1A/Test7_1A/GeneratedFiles/ui_LoginDlg.h
/******************************************************************************** ** Form generated from reading UI file 'LoginDlg.ui' ** ** Created by: Qt User Interface Compiler version 5.6.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ******************************************...
liuyuwang2016/Projects
Text8_3A/Text8_3A/text8_3a.h
<filename>Text8_3A/Text8_3A/text8_3a.h #ifndef TEXT8_3A_H #define TEXT8_3A_H #include <QtWidgets/QMainWindow> #include "ui_text8_3a.h" class Text8_3A : public QMainWindow { Q_OBJECT public: Text8_3A(QWidget *parent = 0); ~Text8_3A(); private slots: int OnBtnSelect(); int OnBtnSend(); private: Ui::Text8_3AClass...
liuyuwang2016/Projects
test7_2a/test7_2a/GeneratedFiles/ui_test7_2a.h
<gh_stars>1-10 /******************************************************************************** ** Form generated from reading UI file 'test7_2a.ui' ** ** Created by: Qt User Interface Compiler version 5.6.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ***************************...
liuyuwang2016/Projects
KinectOpenCV/KinectOpenCV/src/AbstractModel.h
#pragma once #include <iostream> #include <stdexcept> #include <vector> #include <array> #include <memory> namespace GRANSAC { typedef double VPFloat; // Each abstract model is made of abstract parameters // Could be anything from a point (that make a 2D line or 3D plane or image correspondences) to a line class...
liuyuwang2016/Projects
5-Aixs Dispenser/5-Aixs Dispenser/OpenGLMotionState.h
#ifndef BULLETOPENGL_OPENGLMOTIONSTATE_H #define BULLETOPENGL_OPENGLMOTIONSTATE_H #pragma managed (push,off) #include <btBulletCollisionCommon.h> #pragma managed (pop) class OpenGLMotionState : public btDefaultMotionState { public: OpenGLMotionState(const btTransform &transform) : btDefaultMotionState(transform)...
liuyuwang2016/Projects
KinectOpenCV/KinectOpenCV/src/GRANSAC.h
#pragma once #include <iostream> #include <cmath> #include <string> #include <random> #include <memory> #include <algorithm> #include <vector> #include <omp.h> #include "AbstractModel.h" namespace GRANSAC { // T - AbstractModel template <class T, int t_NumParams> class RANSAC { private: std::vector<std::share...
liuyuwang2016/Projects
Text8_3A/Text8_3A/GeneratedFiles/ui_SendDlg.h
/******************************************************************************** ** Form generated from reading UI file 'SendDlg.ui' ** ** Created by: Qt User Interface Compiler version 5.6.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! *******************************************...
liuyuwang2016/Projects
5-Aixs Dispenser/5-Aixs Dispenser/RealScene.h
#ifndef __SCENE__ #define __SCENE__ #ifdef __cplusplus extern "C" { #endif /* struct define _______________________________________________________________*/ typedef struct _point_xy_int point2i; typedef struct _point_xy_float point2f; typedef struct _point_xyz_int point3i; typedef struct _point_xyz_floa...
liuyuwang2016/Projects
Test7_1A/Test7_1A/GeneratedFiles/ui_test7_1a.h
/******************************************************************************** ** Form generated from reading UI file 'test7_1a.ui' ** ** Created by: Qt User Interface Compiler version 5.6.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ******************************************...
liuyuwang2016/Projects
KinectOpenCV/KinectOpenCV/src/dirent.h
#include <opencv2/opencv.hpp> using namespace cv; using namespace std; struct userdata{ Mat im; vector<Point2f> points; }; void mouseHandler(int event, int x, int y, int flags, void* data_ptr) { if (event == EVENT_LBUTTONDOWN) { userdata *data = ((userdata *)data_ptr); circle(data->im, Point(x, y), 3, Scala...
liuyuwang2016/Projects
QtDrop/QtDrop/qtdrop.h
<filename>QtDrop/QtDrop/qtdrop.h<gh_stars>1-10 #ifndef QTDROP_H #define QTDROP_H #include <QtWidgets/QMainWindow> #include "ui_qtdrop.h" class QtDrop : public QMainWindow { Q_OBJECT public: QtDrop(QWidget *parent = 0); ~QtDrop(); private: Ui::QtDropClass ui; }; #endif // QTDROP_H
liuyuwang2016/Projects
UI-5-Axis-Dispenser/UI-5-Axis-Dispenser/dllmain.h
<gh_stars>1-10 #undef UNICODE #include <windows.h> #include <stdexcept> using namespace std; struct Rs232MotionData{ double x, y, z, u, v, w; double laser; long out, status, length, in; long flowNumber; long wdt; long cmdid; }; Rs232MotionData mdr, mdr1, mdr2; int MtTestDebby(int a, int b); long MtConn...
liuyuwang2016/Projects
UI/UI/kinectsensor.h
#ifndef KINECTSENSOR_H #define KINECTSENSOR_H #include <QWidget> #include "ui_kinectsensor.h" class KinectSensor : public QWidget { Q_OBJECT public: KinectSensor(QWidget *parent = 0); ~KinectSensor(); private: Ui::KinectSensor ui; }; #endif // KINECTSENSOR_H
liuyuwang2016/Projects
OpenGLQt/OpenGLQt/GeneratedFiles/ui_openglqt.h
<gh_stars>1-10 /******************************************************************************** ** Form generated from reading UI file 'openglqt.ui' ** ** Created by: Qt User Interface Compiler version 5.6.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ***************************...
liuyuwang2016/Projects
Test10_2A/Test10_2A/test10_2a.h
<reponame>liuyuwang2016/Projects<gh_stars>1-10 #ifndef TEST10_2A_H #define TEST10_2A_H #include <QtWidgets/QMainWindow> #include "ui_test10_2a.h" class Test10_2A : public QMainWindow { Q_OBJECT public: Test10_2A(QWidget *parent = 0); ~Test10_2A(); private: Ui::Test10_2AClass ui; }; #endif // TEST10_2A_H
liuyuwang2016/Projects
Test7_1A/Test7_1A/test7_1a.h
<filename>Test7_1A/Test7_1A/test7_1a.h #ifndef TEST7_1A_H #define TEST7_1A_H #include <QtWidgets/QMainWindow> #include "ui_test7_1a.h" class Test7_1A : public QMainWindow { Q_OBJECT public: Test7_1A(QWidget *parent = 0); ~Test7_1A(); private slots: int OnBtnLogin(); private: Ui::Test7_1AClass ui; }; #endif // ...
liuyuwang2016/Projects
Test7_1A/Test7_1A/LoginDlg.h
#ifndef LOGINDLG_H #define LOGINDLG_H #include <QDialog> #include "ui_LoginDlg.h" class LoginDlg : public QDialog { Q_OBJECT public: LoginDlg(const char* user, QWidget *parent = 0); ~LoginDlg(); private slots: int OnBtnOk(); int OnBtnCancel(); private: Ui::LoginDlg ui; public: QString m_user; QString m_passw...
liuyuwang2016/Projects
OpenGLQt/OpenGLQt/openglqt.h
<reponame>liuyuwang2016/Projects #ifndef OPENGLQT_H #define OPENGLQT_H #include <QtWidgets/QMainWindow> #include "ui_openglqt.h" class OpenGLQt : public QMainWindow { Q_OBJECT public: OpenGLQt(QWidget *parent = 0); ~OpenGLQt(); private: Ui::OpenGLQtClass ui; }; #endif // OPENGLQT_H
liuyuwang2016/Projects
OpenGLQt/OpenGLQt/glwidget.h
<reponame>liuyuwang2016/Projects #ifndef GLWIDGET_H #define GLWIDGET_H #include <QOpenGLWidget> class GLWidget : public QOpenGLWidget { Q_OBJECT public: GLWidget(QWidget *parent); ~GLWidget(); protected: void initializeGL(); void paintGL(); void resizeGL(int w, int h); void keyPressEvent(QKeyEvent *e); priv...
liuyuwang2016/Projects
UI-5-Axis-Dispenser/UI-5-Axis-Dispenser/GeneratedFiles/ui_dispenser.h
<gh_stars>1-10 /******************************************************************************** ** Form generated from reading UI file 'dispenser.ui' ** ** Created by: Qt User Interface Compiler version 5.6.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! **************************...
liuyuwang2016/Projects
UI-5-Axis-Dispenser/UI-5-Axis-Dispenser/dispenser.h
#ifndef DISPENSER_H #define DISPENSER_H #include <QtWidgets/QMainWindow> #include "ui_dispenser.h" #include "dllmain.h" #include "Kinect_v2.h" class Dispenser : public QMainWindow { Q_OBJECT public: Dispenser(QWidget *parent = 0); ~Dispenser(); private: Ui::DispenserClass ui; }; #endif // DISPENSER_H
liuyuwang2016/Projects
Test10_1A/Test10_1A/test10_1a.h
#ifndef TEST10_1A_H #define TEST10_1A_H #include <QtWidgets/QMainWindow> #include "ui_test10_1a.h" #include <QLineEdit> class Test10_1A : public QMainWindow { Q_OBJECT public: Test10_1A(QWidget *parent = 0); ~Test10_1A(); private slots: int OnMenuNew(); int OnMenuSave(); int OnMenuHelp(); int OnMenuSettings();...