repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
ljnferreira/TP1ED1-2021
relatorios.h
<filename>relatorios.h<gh_stars>0 #ifndef _RELATORIOS_H_ #define _RELATORIOS_H_ void relatorioDadosNF(); void relatorioDadosCompra(); void relatorioDadosCompraPorData(); void relatorioVendasVendedorDia(); void relatorioVendasVendedorMes(); void relatorioMelhoresVendedoresMes(); void relatorioMelhoresVendedoresInterval...
ljnferreira/TP1ED1-2021
utils.h
<reponame>ljnferreira/TP1ED1-2021 #ifndef _UTILS_H_ #define _UTILS_H_ //Funções de validação int validaCPF(char *cpf); int validaCNPJ(char *cnpj); int validaData(char *data); int validaEmail(char *email); void retiraEnter(char *string); int campovazio(char *nome); void padronizaString(char *texto); void getSystem...
ljnferreira/TP1ED1-2021
crud.c
<reponame>ljnferreira/TP1ED1-2021 #include <bits/types/FILE.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "crud.h" #include "dataTypes.h" #include "memoryManagement.h" #include "userInteraction.h" #include "utils.h" #include "files.h" void cadastrarCliente(){ FILE *clientes; Cliente client...
ljnferreira/TP1ED1-2021
utils.c
<reponame>ljnferreira/TP1ED1-2021 #include <stdio.h> #include <locale.h> #include <string.h> #include <ctype.h> #include <time.h> #include "utils.h" //Funções de validação /** * Função que verifica se um char é uma letra */ int isChar(char c){ return ((c >= 'a' && c <= 'z')|| (c >= 'A' && c <= 'Z')); } /** * ...
ljnferreira/TP1ED1-2021
files.c
<gh_stars>0 #include <stdio.h> #include <string.h> #include "files.h" #include "dataTypes.h" #include "memoryManagement.h" FILE *abrirArquivo(char location[]){ FILE *file; file = fopen(location, "rb+"); if(!file){ file = fopen(location, "wb+"); } if (file){ return file; }else{ return NULL; } ...
ljnferreira/TP1ED1-2021
userInteraction.c
#include <stdio.h> #include <stdlib.h> #include "userInteraction.h" #include "crud.h" void crudCliente(){ int opcao = 0; do { limparTela(); bemVindo(); printf("Escolha uma das opções abaixo: \n"); printf("1 - Cadastrar Cliente\n"); printf("2 - Consultar Cliente\n"); printf("3 - Alterar Clie...
ljnferreira/TP1ED1-2021
memoryManagement.c
#include <stdlib.h> #include "dataTypes.h" #include "memoryManagement.h" int *alocaVetorInteiros(int tamanho){ int *vetor = (int*)malloc(sizeof(int)* tamanho); return vetor; } int *realocaVetorInteiros(int *vetor, int *tamanho, int acrescimo){ vetor = (int*)realloc( vetor,sizeof(int)* (*tamanho + acrescimo)); ...
ljnferreira/TP1ED1-2021
crud.h
#ifndef _CRUD_H_ #define _CRUD_H_ /** * Le e cadastra os dados de cliente no respectivo arquivo */ void cadastrarCliente(); /** * permite ler novos dados e atualizar os dados de cliente no respectivo arquivo */ void alterarCliente(); /** * permite consultar os dados de cliente no respectivo arquivo */ void consultar...
asowers1/PushMGR
BLE-Tutorial_2/BTSAppDelegate.h
<reponame>asowers1/PushMGR // // BTSAppDelegate.h // PushMGR // // Created by <NAME> on 3/15/12. // Copyright (c) 2012 ST alliance AS. All rights reserved. // #import <UIKit/UIKit.h> @interface BTSAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
asowers1/PushMGR
BLE-Tutorial_2/CBCPCtrl.h
<gh_stars>1-10 // // CBCPCtrl.h // PushMGR // // Created by <NAME> on 3/16/12. // Copyright (c) 2012 ST alliance AS. All rights reserved. // #import <Foundation/Foundation.h> #import <CoreBluetooth/CoreBluetooth.h> @protocol CBCPCtrlDelegate <NSObject> @required -(void) updateCPLog:(NSString *)text; -(void) serv...
asowers1/PushMGR
BLE-Tutorial_2/CBCMCtrl.h
// // CBCMCtrl.h // PushMGR // // Created by <NAME> on 3/15/12. // Copyright (c) 2012 ST alliance AS. All rights reserved. // #import <Foundation/Foundation.h> #import <CoreBluetooth/CoreBluetooth.h> @protocol CBCMCtrlDelegate <NSObject> @required - (void) updateCMLog:(NSString *)text; - (void) foundPeripheral:(...
asowers1/PushMGR
BLE-Tutorial_2/BTSViewController.h
// // BTSViewController.h // PushMGR // // Created by <NAME> on 3/15/12. // Copyright (c) 2012 ST alliance AS. All rights reserved. // #import <UIKit/UIKit.h> #import "CBCMCtrl.h" #import "CBCPCtrl.h" @interface BTSViewController : UIViewController <CBCMCtrlDelegate,CBCPCtrlDelegate> @property (strong,nonatomic)...
Teeerry/simple-clock
Source/iic.h
#ifndef _iic_h_ #define _iic_h_ #include <reg52.h> sbit SCL=P2^1; sbit SDA=P2^0; void delayus(unsigned char x); void iic_start(void); void iic_stop(void); void iic_ask(bit askbit); unsigned char iic_waitask(void); void iic_sendbyte(unsigned char byte); unsigned char iic_readbyte(void); void AT2402_SendByte(unsigned ...
Teeerry/simple-clock
Source/i2c.h
<reponame>Teeerry/simple-clock<gh_stars>1-10 #ifndef __I2C_H_ #define __I2C_H_ #include "reg52.h" sbit SCL=P2^1; sbit SDA=P2^0; void I2cStart(); void I2cStop(); unsigned char I2cSendByte(unsigned char dat); unsigned char I2cReadByte(); void At24c02Write(unsigned char addr,unsigned char dat); unsigned char At24c02Rea...
mmdoogie/auto-lcd-font
alf.c
#include <stdio.h> #include <stdlib.h> #include <ft2build.h> #include FT_FREETYPE_H int minChar = 32; int maxChar = 126; typedef unsigned char byte; const char* MARK = "*"; const char* SPACE = " "; char transpose = 0; void usage() { fprintf(stderr, "usage: alf fontfile.ttf fontsize [-t]\n"); fprintf(stderr, "font...
mmdoogie/auto-lcd-font
MonoBitFont/MonoBitFont.h
#ifndef __mono_bit_font_h #define __mono_bit_font_h #include <stdint.h> class MonoBitFont { public: MonoBitFont(uint8_t *fontData, uint8_t charWidth, uint8_t charHeight, uint8_t csOffset = 32, uint8_t csMax = 126); MonoBitFont(uint8_t *fontData, int *offsetData, uint8_t *widthData, uint8_t charHeight, int8_t spa...
iAmVeryQT/jsonchat_bell
jsonTest/mainwindow.h
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QListWidgetItem> #include <QMainWindow> #include <QTcpSocket> #include <QDialog> #include <string> #include <QFile> namespace Ui { class MainWindow; } class MainWindow : public QMainWindow { Q_OBJECT public: explicit MainWindow(QWidget *parent = nullptr)...
FStefanni/DFRobot_OzoneSensor
DFRobot_OzoneSensor.h
<gh_stars>0 /* MIT License Copyright (C) <2019> <@DFRobot ZhiXinLiu> 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 without restriction, including without limitation the rights to ...
open-craft/chkrootkit
chkdirs.c
<gh_stars>0 /* Copyright (C) <NAME> <<EMAIL>> and <NAME>, 2002/11/24 All rights reserved. Permission granted to freely redistribute and update as long as this Copyright notice is preserved. No warranty expressed or implied. $Id: chkdirs.c,v 1.3 2003/01/20 19:44:13 hal Exp $ Usage: chkdirs [-n] d...
palerdot/BlingFire
blingfireclient.library/inc/FASecurity.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_SECURITY_H_ #define _FA_SECURITY_H_ #ifndef __out_ecount #define __out_ecount(X) #endif #ifndef __out_ecount_opt #define __out_ecount_opt(X) #endif #ifndef __analysis_assume #define...
palerdot/BlingFire
blingfireclient.library/inc/FAGetIWsCA.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_GETIWS_CA_H_ #define _FA_GETIWS_CA_H_ #include "FAConfig.h" #include "FASecurity.h" namespace BlingFire { /// /// client-side interface for getting state's set of defined outgoing arc...
palerdot/BlingFire
blingfirecompile.library/inc/FAWRETokenParser.h
<filename>blingfirecompile.library/inc/FAWRETokenParser.h /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_WRE_TOKENPARSER_H_ #define _FA_WRE_TOKENPARSER_H_ #include "FAConfig.h" #include "FAArray_cont_t.h" namespace BlingFire { clas...
palerdot/BlingFire
blingfirecompile.library/inc/FAMealyDfa.h
<filename>blingfirecompile.library/inc/FAMealyDfa.h /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_MEALYDFA_H_ #define _FA_MEALYDFA_H_ #include "FAConfig.h" #include "FAMealyDfaA.h" #include "FAEncoder_pref.h" #include "FAChain2Num_hash...
palerdot/BlingFire
blingfirecompile.library/inc/FAParsedRegexp2TrBrMaps.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_PARSEDREGEXP2TRBRMAPS_H_ #define _FA_PARSEDREGEXP2TRBRMAPS_H_ #include "FAConfig.h" #include "FASetUtils.h" #include "FAArray_cont_t.h" namespace BlingFire { class FAAllocatorA; clas...
palerdot/BlingFire
blingfirecompile.library/inc/FANfas2CommonENfa.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_NFAS2COMMONENFA_H_ #define _FA_NFAS2COMMONENFA_H_ #include "FAConfig.h" #include "FARSNfa_ar_judy.h" #include "FAArray_cont_t.h" namespace BlingFire { class FAAllocatorA; class FARSN...
palerdot/BlingFire
blingfirecompile.library/inc/FAMealyNfaA.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_MEALYNFAA_H_ #define _FA_MEALYNFAA_H_ #include "FAConfig.h" #include "FAMealyNfaCA.h" namespace BlingFire { /// /// FSM-compile-time interafece for Mealy NFA sigma function. /// c...
palerdot/BlingFire
blingfirecompile.library/inc/FASuffixRules2Chains.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_SUFFIXRULES2CHAINS_H_ #define _FA_SUFFIXRULES2CHAINS_H_ #include "FAConfig.h" #include "FAMultiMap_ar.h" #include "FAChain2Num_hash.h" #include "FAArray_cont_t.h" #include "FAStr2Utf16.h" ...
palerdot/BlingFire
blingfirecompile.library/inc/FARSNfa_ro.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_RSNFA_RO_H_ #define _FA_RSNFA_RO_H_ #include "FAConfig.h" #include "FARSNfaA.h" #include "FAArray_cont_t.h" #include "FANfaDelta_ro.h" namespace BlingFire { class FAAllocatorA; /// ...
palerdot/BlingFire
blingfireclient.library/inc/FAConfig.h
<reponame>palerdot/BlingFire<filename>blingfireclient.library/inc/FAConfig.h /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_CONFIG_H_ #define _FA_CONFIG_H_ #ifndef NEW #define NEW new #endif #if _MSC_VER < 1400 # ifndef fopen_s # ...
palerdot/BlingFire
blingfirecompile.library/inc/FAUnAmbiguous.h
<gh_stars>1000+ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_UNAMBIGUOUS_H_ #define _FA_UNAMBIGUOUS_H_ #include "FAConfig.h" #include "FAChain2Num_hash.h" #include "FAArray_cont_t.h" #include "FARSNfa_ar_judy.h" #include "FAMealyNfa....
palerdot/BlingFire
blingfirecompile.library/inc/FAActionsArray_static.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_ACTIONSARRAY_STATIC_H_ #define _FA_ACTIONSARRAY_STATIC_H_ #include "FAConfig.h" #include "FAActionsArrayA.h" namespace BlingFire { /// /// Implementation based on static array. /// ...
palerdot/BlingFire
blingfirecompile.library/inc/FANfaDelta_ro.h
<reponame>palerdot/BlingFire /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_NFADELTA_RO_H_ #define _FA_NFADELTA_RO_H_ #include "FAConfig.h" #include "FAArray_cont_t.h" #include "FAChain2Num_hash.h" namespace BlingFire { class FAAllo...
palerdot/BlingFire
blingfirecompile.library/inc/FARSDfa_ar_judy.h
<gh_stars>1000+ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_RSDFA_AR_JUDY_H_ #define _FA_RSDFA_AR_JUDY_H_ #include "FAConfig.h" #include "FARSDfaA.h" #include "FAArray_cont_t.h" #include "FABitArray.h" #include "FAMap_judy.h" nam...
palerdot/BlingFire
blingfireclient.library/inc/FAImageDump.h
<reponame>palerdot/BlingFire<filename>blingfireclient.library/inc/FAImageDump.h /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_IMAGEDUMP_H_ #define _FA_IMAGEDUMP_H_ #include "FAConfig.h" namespace BlingFire { /// /// Keeps thread s...
palerdot/BlingFire
blingfirecompile.library/inc/FARegexpTree2Hash.h
<gh_stars>1000+ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_REGEXPTREE2HASH_H_ #define _FA_REGEXPTREE2HASH_H_ #include "FAConfig.h" #include "FAArray_cont_t.h" #include "FATopoSort_t.h" #include "FARegexpTreeTopoGraph.h" namespace...
palerdot/BlingFire
blingfirecompile.library/inc/FATrBrNfa2MealyNfa.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_TRBRNFA2MEALYNFA_H_ #define _FA_TRBRNFA2MEALYNFA_H_ #include "FAConfig.h" #include "FAEpsilonRemoval.h" #include "FAEpsilonGraph_mealy.h" #include "FARSNfa_wo_ro.h" #include "FAMealyNfa.h"...
palerdot/BlingFire
blingfirecompile.library/inc/FAMergeSets.h
<filename>blingfirecompile.library/inc/FAMergeSets.h /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_MERGE_SETS_H_ #define _FA_MERGE_SETS_H_ #include "FAConfig.h" #include "FAArray_cont_t.h" namespace BlingFire { class FAAllocatorA;...
palerdot/BlingFire
blingfirecompile.library/inc/FARegexp2MinDfa.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_REGEXP2MINDFA_H_ #define _FA_REGEXP2MINDFA_H_ #include "FAConfig.h" #include "FARSNfaA.h" #include "FARSDfaA.h" #include "FARSNfa_wo_ro.h" #include "FARSDfa_ro.h" #include "FARSDfa_wo_ro.h"...
palerdot/BlingFire
blingfirecompile.library/inc/FAParser_triv_t.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_PARSER_TRIV_T_H_ #define _FA_PARSER_TRIV_T_H_ #include "FAConfig.h" #include "FAParser_base_t.h" #include "FAState2OwsCA.h" namespace BlingFire { /// /// This parser does not allows ...
palerdot/BlingFire
blingfirecompile.library/inc/FACalcMealy2.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_CALCMEALY2_H_ #define _FA_CALCMEALY2_H_ #include "FAConfig.h" #include "FAArray_cont_t.h" #include "FARSNfa_wo_ro.h" #include "FARSNfa2RevNfa.h" #include "FAMealyNfa.h" #include <set> ...
palerdot/BlingFire
blingfirecompile.library/inc/FAParser_base_t.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_PARSER_BASE_T_H_ #define _FA_PARSER_BASE_T_H_ #include "FAConfig.h" #include "FAArray_cont_t.h" #include "FARSDfaCA.h" #include "FAState2OwsCA.h" #include "FAParseTreeA.h" #include "FAFsm...
palerdot/BlingFire
blingfirecompile.library/inc/FACorpusIOTools_utf8.h
<reponame>palerdot/BlingFire /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_CORPUSIOTOOLS_UTF8_H_ #define _FA_CORPUSIOTOOLS_UTF8_H_ #include "FAConfig.h" #include <iostream> namespace BlingFire { class FAAllocatorA; class FATagg...
palerdot/BlingFire
blingfirecompile.library/inc/FAAutInterpretTools_trbr_t.h
<filename>blingfirecompile.library/inc/FAAutInterpretTools_trbr_t.h /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_AUTINTERPRETTOOLS_TRBR_T_H_ #define _FA_AUTINTERPRETTOOLS_TRBR_T_H_ #include "FAConfig.h" #include "FAAutInterpretTools_p...
palerdot/BlingFire
blingfirecompile.library/inc/blingfire-compile_src_pch.h
<reponame>palerdot/BlingFire #pragma once #include "FAConfig.h"
palerdot/BlingFire
blingfirecompile.library/inc/FARegexpLexer_triv.h
<filename>blingfirecompile.library/inc/FARegexpLexer_triv.h /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_REGEXPLEXER_TRIV_H_ #define _FA_REGEXPLEXER_TRIV_H_ #include "FAConfig.h" #include "FARegexpLexerA.h" namespace BlingFire { ...
palerdot/BlingFire
blingfirecompile.library/inc/FANfa2Dfa_t.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_NFA2DFA_T_H_ #define _FA_NFA2DFA_T_H_ #include "FAConfig.h" #include "FAAllocatorA.h" #include "FAArray_t.h" #include "FAArray_cont_t.h" #include "FAChain2Num_judy.h" #include "FAChain2Nu...
palerdot/BlingFire
blingfireclient.library/inc/FAOw2Iw_pack_triv.h
<reponame>palerdot/BlingFire /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_OW2IW_PACK_TRIV_H_ #define _FA_OW2IW_PACK_TRIV_H_ #include "FAConfig.h" #include "FASetImageA.h" #include "FAOw2IwCA.h" #include "FAChains_pack_triv.h" names...
palerdot/BlingFire
blingfireclient.library/inc/FARSDfaCA.h
<reponame>palerdot/BlingFire /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_RSDFA_CA_H_ #define _FA_RSDFA_CA_H_ #include "FAConfig.h" #include "FASecurity.h" namespace BlingFire { /// /// client-side interface for Rabin-Scott NFA ...
palerdot/BlingFire
blingfirecompile.library/inc/FASubstInterpretTools_t.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_SUBSTINTERPRETTOOLS_H_ #define _FA_SUBSTINTERPRETTOOLS_H_ #include "FAConfig.h" #include "FABrResultA.h" #include "FAArray_cont_t.h" #include "FAAutInterpretTools_trbr_t.h" #include "FAUtf...
palerdot/BlingFire
blingfirecompile.library/inc/FAParseTree.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_PARSETREE_H_ #define _FA_PARSETREE_H_ #include "FAConfig.h" #include "FAParseTreeA.h" #include "FAArray_cont_t.h" namespace BlingFire { class FAAllocatorA; /// /// Parsing tree co...
palerdot/BlingFire
blingfirecompile.library/inc/FAState2Ows_amb.h
<filename>blingfirecompile.library/inc/FAState2Ows_amb.h /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_STATE2OWS_AMB_H_ #define _FA_STATE2OWS_AMB_H_ #include "FAConfig.h" #include "FAState2Ows.h" #include "FABitArray.h" #include "FAArr...
palerdot/BlingFire
blingfirecompile.library/inc/FAMapA.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_MAP_A_H_ #define _FA_MAP_A_H_ #include "FAConfig.h" namespace BlingFire { /// /// General interface for Key -> Val map M. /// /// Note: No duplicate Keys are not allowed. /// cla...
palerdot/BlingFire
blingfirecompile.library/inc/FANfaCreator_digit.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_NFACREATOR_DIGIT_H_ #define _FA_NFACREATOR_DIGIT_H_ #include "FAConfig.h" #include "FANfaCreator_base.h" namespace BlingFire { class FAAllocatorA; class FANfaCreator_digit : publi...
palerdot/BlingFire
blingfirecompile.library/inc/FANfa2EqPairs.h
<reponame>palerdot/BlingFire /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_NFA2EQPAIRS_H_ #define _FA_NFA2EQPAIRS_H_ #include "FAConfig.h" #include "FANfa2Dfa_t.h" #include "FAChain2Num_hash.h" #include "FARSNfaA.h" #include "FAState2...
palerdot/BlingFire
blingfireclient.library/inc/FATokenSegmentationToolsCA_t.h
<gh_stars>1000+ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_TOKENSEGMENTATIONTOOLSCA_T_H_ #define _FA_TOKENSEGMENTATIONTOOLSCA_T_H_ #include "FAConfig.h" namespace BlingFire { /// /// This is a common interface for different token...
palerdot/BlingFire
blingfirecompile.library/inc/FAActionsA.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_ACTIONSA_H_ #define _FA_ACTIONSA_H_ #include "FAConfig.h" namespace BlingFire { class FABrResultCA; /// /// Execution call-back for right part actions. /// class FAActionsA { p...
palerdot/BlingFire
blingfirecompile.library/inc/FATrWordIOTools_utf8.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_TRWORDIOTOOLS_UTF8_H_ #define _FA_TRWORDIOTOOLS_UTF8_H_ #include "FAConfig.h" #include "FASecurity.h" namespace BlingFire { class FAMultiMapCA; /// /// Input format: /// a[XX]b[YY...
palerdot/BlingFire
blingfirecompile.library/inc/FAPosNfa_pack_triv.h
<gh_stars>1000+ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_POSNFA_PACK_TRIV_H_ #define _FA_POSNFA_PACK_TRIV_H_ #include "FAConfig.h" #include "FASetImageA.h" #include "FARSNfaCA.h" #include "FAOffsetTable_pack.h" #include "FAChains...
palerdot/BlingFire
blingfireclient.library/inc/FAMealyNfaCA.h
<reponame>palerdot/BlingFire /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_MEALYNFACA_H_ #define _FA_MEALYNFACA_H_ #include "FAConfig.h" namespace BlingFire { /// /// Client side interface for Mealy NFA reaction representation. /...
palerdot/BlingFire
blingfirecompile.library/inc/FAMealyNfa2Dfa.h
<filename>blingfirecompile.library/inc/FAMealyNfa2Dfa.h /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_MEALYNFA2DFA_H_ #define _FA_MEALYNFA2DFA_H_ #include "FAConfig.h" #include "FANfa2EqPairs.h" #include "FAColorGraph_t.h" #include "FA...
palerdot/BlingFire
blingfireclient.library/inc/FAWREConf_pack.h
<gh_stars>1000+ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_WRECONF_PACK_H_ #define _FA_WRECONF_PACK_H_ #include "FAConfig.h" #include "FAWREConfCA.h" #include "FASetImageA.h" namespace BlingFire { class FAArray_pack; class FAMu...
palerdot/BlingFire
blingfirecompile.library/inc/FAAllocatorA.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_ALLOCATORA_H_ #define _FA_ALLOCATORA_H_ #include "FAConfig.h" namespace BlingFire { /// /// General interface for allocators. _DEBUG_MEMORY should be defined when /// memory usage de...
palerdot/BlingFire
blingfirecompile.library/inc/FADfa2MinDfa_hg_t.h
<filename>blingfirecompile.library/inc/FADfa2MinDfa_hg_t.h /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_DFA2MINDFA_HG_T_H_ #define _FA_DFA2MINDFA_HG_T_H_ #include "FAConfig.h" #include "FAFsmConst.h" #include "FAAllocatorA.h" #include "...
palerdot/BlingFire
blingfireclient.library/inc/FAWgConfKeeper.h
<reponame>palerdot/BlingFire /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_WG_CONFKEEPER_H_ #define _FA_WG_CONFKEEPER_H_ #include "FAConfig.h" namespace BlingFire { class FALDB; class FARSDfa_pack_triv; class FAState2Ows_pack_tri...
palerdot/BlingFire
blingfirecompile.library/inc/FANfas2TupleNfa.h
<reponame>palerdot/BlingFire /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_NFAS2TUPLENFA_H_ #define _FA_NFAS2TUPLENFA_H_ #include "FAConfig.h" #include "FAArray_cont_t.h" #include "FAChain2Num_judy.h" #include "FAEncoder_pref.h" nam...
palerdot/BlingFire
blingfireclient.library/inc/FATokenSegmentationTools_1best_bpe_with_merges_t.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_TOKENSEGMENTATIONTOOLS_1BEST_BPE_WITH_MERGES_T_H_ #define _FA_TOKENSEGMENTATIONTOOLS_1BEST_BPE_WITH_MERGES_T_H_ #include "FAConfig.h" #include "FARSDfaCA.h" #include "FAMealyDfaCA.h" #include...
palerdot/BlingFire
blingfirecompile.library/inc/FAIwOwSuffArr2Patterns.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_IWOWSUFFARR2PATTERNS_H_ #define _FA_IWOWSUFFARR2PATTERNS_H_ #include "FAConfig.h" #include "FARSDfa_ar_judy.h" #include "FARSDfa_dynamic_t.h" #include "FAArray_cont_t.h" namespace BlingFir...
palerdot/BlingFire
blingfirecompile.library/inc/FAAutIOTools.h
<gh_stars>1000+ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_AUT_IO_TOOLS_H_ #define _FA_AUT_IO_TOOLS_H_ #include "FAConfig.h" #include <iostream> namespace BlingFire { class FAAllocatorA; class FARSNfaA; class FARSDfaA; class...
palerdot/BlingFire
blingfirecompile.library/inc/FAWREConfPack.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_WRECONFPACK_H_ #define _FA_WRECONFPACK_H_ #include "FAConfig.h" #include "FAArray_cont_t.h" #include "FAArrayPack.h" #include "FAMultiMapPack.h" #include "FADfaPack_triv.h" namespace Blin...
palerdot/BlingFire
blingfirecompile.library/inc/FAAct2ArrA.h
<reponame>palerdot/BlingFire<gh_stars>1000+ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_ACT2ARRA_H_ #define _FA_ACT2ARRA_H_ #include "FAConfig.h" namespace BlingFire { class FATagSet; /// /// a callback interface for converti...
palerdot/BlingFire
blingfirecompile.library/inc/FAEncoder_pref.h
<reponame>palerdot/BlingFire /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_ENCODER_PREF_H_ #define _FA_ENCODER_PREF_H_ #include "FAConfig.h" #include "FAEncoderA.h" namespace BlingFire { /// Does the following: /// foreach V \in...
palerdot/BlingFire
blingfirecompile.library/inc/FAAutInterpretTools_t.h
<reponame>palerdot/BlingFire<gh_stars>1000+ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_AUTINTERPRETTOOLS_T_H_ #define _FA_AUTINTERPRETTOOLS_T_H_ #include "FAConfig.h" #include "FARSDfaCA.h" #include "FAState2OwCA.h" #include "FASt...
palerdot/BlingFire
blingfireclient.library/inc/FALexTools_t.h
<filename>blingfireclient.library/inc/FALexTools_t.h<gh_stars>1000+ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_LEXTOOLS_T_H_ #define _FA_LEXTOOLS_T_H_ #include "FAConfig.h" #include "FAFsmConst.h" #include "FAUtf32Utils.h" #include ...
palerdot/BlingFire
blingfirecompile.library/inc/FAGcLDB.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_GCLDB_H_ #define _FA_GCLDB_H_ #include "FAConfig.h" #include "FALDB.h" #include "FAWREConf_pack.h" namespace BlingFire { class FAAllocatorA; /// /// Keeps all resources needed for...
palerdot/BlingFire
blingfireclient.library/inc/FAWbdConfKeeper.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_WBDCONFKEEPER_H_ #define _FA_WBDCONFKEEPER_H_ #include "FAConfig.h" namespace BlingFire { class FALDB; class FARSDfa_pack_triv; class FAState2Ow_pack_triv; class FAState2Ows_pack_tri...
palerdot/BlingFire
blingfirecompile.library/inc/FAAct2Arr_css.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_ACT2ARR_CSS_H_ #define _FA_ACT2ARR_CSS_H_ #include "FAConfig.h" #include "FAAct2ArrA.h" #include "FAArray_cont_t.h" namespace BlingFire { class FAAllocatorA; class FATagSet; /// ...
palerdot/BlingFire
blingfirecompile.library/inc/FASplitStates.h
<reponame>palerdot/BlingFire /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_SPLITSTATES_H_ #define _FA_SPLITSTATES_H_ #include "FAConfig.h" #include "FASplitSets.h" #include "FAArray_cont_t.h" #include "FAEncoder_pref.h" #include "FACh...
palerdot/BlingFire
blingfirecompile.library/inc/FAChain2NumA.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_CHAIN2NUMA_H_ #define _FA_CHAIN2NUMA_H_ #include "FAConfig.h" namespace BlingFire { class FAEncoderA; class FAChain2NumA { public: // sets up chain encoder virtual void Se...
palerdot/BlingFire
blingfirecompile.library/inc/FAWreRulesConfKeeper.h
<filename>blingfirecompile.library/inc/FAWreRulesConfKeeper.h /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_WRERULESCONFKEEPER_H_ #define _FA_WRERULESCONFKEEPER_H_ #include "FAConfig.h" namespace BlingFire { class FALDB; class FAW...
palerdot/BlingFire
blingfirecompile.library/inc/FAPrintUtils.h
<filename>blingfirecompile.library/inc/FAPrintUtils.h /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_PRINT_UTILS_H_ #define _FA_PRINT_UTILS_H_ #include "FAConfig.h" #include <iostream> namespace BlingFire { class FARegexpTree; c...
palerdot/BlingFire
blingfireclient.library/inc/FATransform_prefix_rev_t.h
<reponame>palerdot/BlingFire<gh_stars>1000+ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_TRANSFORM_PREFIX_REV_T_H_ #define _FA_TRANSFORM_PREFIX_REV_T_H_ #include "FAConfig.h" #include "FATransformCA_t.h" #include "FASecurity.h" name...
palerdot/BlingFire
blingfirecompile.library/inc/FAMultiMapPack_fixed.h
<filename>blingfirecompile.library/inc/FAMultiMapPack_fixed.h /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_MULTIMAPPACK_FIXED_H_ #define _FA_MULTIMAPPACK_FIXED_H_ #include "FAConfig.h" #include "FAArray_cont_t.h" namespace BlingFire ...
palerdot/BlingFire
blingfireclient.library/inc/FAMultiMap_pack_fixed.h
<reponame>palerdot/BlingFire<gh_stars>1000+ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_MULTIMAP_PACK_FIXED_H_ #define _FA_MULTIMAP_PACK_FIXED_H_ #include "FAConfig.h" #include "FASetImageA.h" #include "FAMultiMapCA.h" #include "FASe...
palerdot/BlingFire
blingfirecompile.library/inc/FAUtils.h
<gh_stars>1-10 /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_UTILS_H_ #define _FA_UTILS_H_ #include "FAConfig.h" #include "FAArray_cont_t.h" #include "FAUtils_cl.h" #include "FAUtf32Utils.h" #include "FAFsmConst.h" #include "FAMultiM...
palerdot/BlingFire
blingfirecompile.library/inc/FATestCmpMultiMap.h
<reponame>palerdot/BlingFire<filename>blingfirecompile.library/inc/FATestCmpMultiMap.h /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_TESTCMPMULTIMAP_H_ #define _FA_TESTCMPMULTIMAP_H_ #include "FAConfig.h" #include "FAArray_cont_t.h" n...
palerdot/BlingFire
blingfirecompile.library/inc/FAMultiMapPack_mph.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_MULTIMAPPACK_MPH_H_ #define _FA_MULTIMAPPACK_MPH_H_ #include "FAConfig.h" #include "FAMap_judy.h" #include "FASortMultiMap.h" #include "FAChains2MinDfa_sort.h" #include "FARSDfa2PerfHash.h...
palerdot/BlingFire
blingfirecompile.library/inc/FABitMatrix_t.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_BITMATRIX_H_ #define _FA_BITMATRIX_H_ #include "FAConfig.h" #include "FABitArray.h" #include "FAAllocatorA.h" namespace BlingFire { /// /// Maps (X,Y) -> T|F /// X \in 0..N, Y \in...
palerdot/BlingFire
blingfirecompile.library/inc/FAGcInterpreter_t.h
<filename>blingfirecompile.library/inc/FAGcInterpreter_t.h /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_GCINTERPRETER_T_H_ #define _FA_GCINTERPRETER_T_H_ #include "FAConfig.h" #include "FAFsmConst.h" #include "FAArray_cont_t.h" #inclu...
palerdot/BlingFire
blingfirecompile.library/inc/FARegexpParser_msyacc.h
/* * * Microsoft VCBU Internal C++ YACC Parser v1.00.4101, <NAME> * * * * Modified by <NAME>, sergeio * * ...
palerdot/BlingFire
blingfirecompile.library/inc/FATrBr2Symbol.h
<reponame>palerdot/BlingFire<filename>blingfirecompile.library/inc/FATrBr2Symbol.h /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_TRBR2SYMBOL_H_ #define _FA_TRBR2SYMBOL_H_ #include "FAConfig.h" #include "FAArray_cont_t.h" #include "FATok...
palerdot/BlingFire
blingfireclient.library/inc/FAWordToProb_t.h
<reponame>palerdot/BlingFire /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_WORDTOPROB_T_H_ #define _FA_WORDTOPROB_T_H_ #include "FAConfig.h" #include "FARSDfaCA.h" #include "FAState2OwCA.h" #include "FAUtils_cl.h" #include "FAFsmConst...
palerdot/BlingFire
blingfireclient.library/inc/FAArrayCA.h
<reponame>palerdot/BlingFire /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_ARRAYCA_H_ #define _FA_ARRAYCA_H_ #include "FAConfig.h" namespace BlingFire { /// /// This is a common interface for packed read-only arrays. /// class...
palerdot/BlingFire
blingfireclient.library/inc/FAOw2IwCA.h
<reponame>palerdot/BlingFire /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_OW2IW_CA_H_ #define _FA_OW2IW_CA_H_ #include "FAConfig.h" namespace BlingFire { /// /// Returns input weight and destination state for the given output wei...
palerdot/BlingFire
blingfirecompile.library/inc/FAMultiMap_ar_uniq.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_MULTIMAP_AR_UNIQ_H_ #define _FA_MULTIMAP_AR_UNIQ_H_ #include "FAConfig.h" #include "FAMultiMapA.h" #include "FAArray_cont_t.h" #include "FAMap_judy.h" #include "FASecurity.h" namespace ...
palerdot/BlingFire
blingfirecompile.library/inc/FAAct2Arr_score_tag.h
<reponame>palerdot/BlingFire /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_ACT2ARR_SCORE_TAG_H_ #define _FA_ACT2ARR_SCORE_TAG_H_ #include "FAConfig.h" #include "FAAct2ArrA.h" #include "FAArray_cont_t.h" namespace BlingFire { clas...
palerdot/BlingFire
blingfirecompile.library/inc/FAUtf32ToEnc.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_UTF32TOENC_H_ #define _FA_UTF32TOENC_H_ #include "FAConfig.h" #include "FAArray_cont_t.h" #include "FASecurity.h" namespace BlingFire { class FAAllocatorA; /// /// Converts from t...
palerdot/BlingFire
blingfireclient.library/inc/FAUtf8Utils.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_UTF8UTILS_H_ #define _FA_UTF8UTILS_H_ #include "FAConfig.h" #include "FASecurity.h" namespace BlingFire { /// Converts UTF-8 symbol into int (UTF-32LE), /// returns new pointer in the m...
palerdot/BlingFire
blingfireclient.library/inc/FATransform_hyph_redup_rev_t.h
<filename>blingfireclient.library/inc/FATransform_hyph_redup_rev_t.h /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_TRANSFORM_HYPH_REDUP_REV_T_H_ #define _FA_TRANSFORM_HYPH_REDUP_REV_T_H_ #include "FAConfig.h" #include "FATransformCA_t.h"...
palerdot/BlingFire
blingfirecompile.library/inc/FATaggedText.h
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_TAGGEDTEXT_H_ #define _FA_TAGGEDTEXT_H_ #include "FAConfig.h" #include "FATaggedTextA.h" #include "FAArray_cont_t.h" namespace BlingFire { class FAAllocatorA; /// /// Tagged text ...
palerdot/BlingFire
blingfirecompile.library/inc/FARegexpTree2PosEqs.h
<gh_stars>1000+ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_REGEXPTREE2POSEQS_H_ #define _FA_REGEXPTREE2POSEQS_H_ #include "FAConfig.h" #include "FAArray_cont_t.h" #include "FAMap_judy.h" #include "FATopoSort_t.h" #include "FABitArr...