repo_name stringlengths 6 97 | path stringlengths 3 341 | text stringlengths 8 1.02M |
|---|---|---|
yp/Heu-MCHC | pers-lib/m4ri/testsuite/bench_trsm_upperleft.c | <filename>pers-lib/m4ri/testsuite/bench_trsm_upperleft.c
#include <stdlib.h>
#include "cpucycles.h"
#include "walltime.h"
#include "m4ri/m4ri.h"
int main(int argc, char **argv) {
int n,m;
unsigned long long t;
double wt;
double clockZero = 0.0;
if (argc != 3) {
m4ri_die("Parameters m, n expected.\n");
... |
yp/Heu-MCHC | include/log.h | /**
*
*
* Heu-MCHC
*
* A fast and accurate heuristic algorithm for the haplotype inference
* problem on pedigree data with recombinations and mutations
*
* Copyright (C) 2009,2010,2011 <NAME>
*
* Distributed under the terms of the GNU General Public License (GPL)
*
*
* This f... |
yp/Heu-MCHC | src/conversion-2simwalk.c | /**
*
*
* Heu-MCHC
*
* A fast and accurate heuristic algorithm for the haplotype inference
* problem on pedigree data with recombinations and mutations
*
* Copyright (C) 2009,2010,2011 <NAME>
*
* Distributed under the terms of the GNU General Public License (GPL)
*
*
* This f... |
yp/Heu-MCHC | pers-lib/m4ri/testsuite/test_solve.c | <filename>pers-lib/m4ri/testsuite/test_solve.c
#include <stdlib.h>
#include "m4ri/m4ri.h"
int test_pluq_solve_left(size_t m, size_t n, size_t offsetA, size_t offsetB){
mzd_t* Abase = mzd_init(2048, 2048);
mzd_t* Bbase = mzd_init(2048, 2048);
mzd_randomize(Abase);
mzd_randomize(Bbase);
mzd_t* A = mzd_init_wi... |
yp/Heu-MCHC | pers-lib/m4ri/src/permutation.h | <reponame>yp/Heu-MCHC
/**
* \file permutation.h
*
* \brief Permutation matrices.
*
* \author <NAME> <<EMAIL>>
*
*/
/******************************************************************************
*
* M4RI: Linear Algebra over GF(2)
*
* Copyright (C) 2008 <NAME> <<EMAIL>>
*
* Distributed unde... |
yp/Heu-MCHC | pers-lib/m4ri/src/solve.c | /*******************************************************************
*
* M4RI: Linear Algebra over GF(2)
*
* Copyright (C) 2008 Jean-Guilla<EMAIL>
*
* Distributed under the terms of the GNU General Public License (GPL)
* version 2 or higher.
*
* This code is distributed in the hope that ... |
yp/Heu-MCHC | pers-lib/m4ri/src/packedmatrix.c | <reponame>yp/Heu-MCHC
/******************************************************************************
*
* M4RI: Linear Algebra over GF(2)
*
* Copyright (C) 2007 <NAME> <<EMAIL>>
*
* Distributed under the terms of the GNU General Public License (GEL)
* version 2 or higher.
*
* This code is distribute... |
yp/Heu-MCHC | src/gen-ped-IO.c | <reponame>yp/Heu-MCHC
/**
*
*
* Heu-MCHC
*
* A fast and accurate heuristic algorithm for the haplotype inference
* problem on pedigree data with recombinations and mutations
*
* Copyright (C) 2009,2010,2011 <NAME>
*
* Distributed under the terms of the GNU General Public License... |
gabrieloliva/GOStack | GOStack/GOStack.h | //
// GOStack.h
// GOStackExample
//
// Created by <NAME> on 28/02/13.
// Copyright (c) 2013 <NAME>. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "GOStackCell.h"
@interface GOStack : NSObject
@property (nonatomic, strong, readonly) GOStackCell *top;
@property (nonatomic, assign, readonly) in... |
gabrieloliva/GOStack | GOStack/GOStackCell.h | <gh_stars>1-10
//
// GOStackCell.h
// GOStackExample
//
// Created by <NAME> on 28/02/13.
// Copyright (c) 2013 <NAME>. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "GOStackCell.h"
@interface GOStackCell : NSObject
@property (nonatomic, strong) id item; // Value of the cell
@property (nonato... |
gabrieloliva/GOStack | GOStack/NSMutableArray+GOStack.h | <gh_stars>1-10
//
// NSMutableArray+GOStack.h
// GOStackExample
//
// Created by <NAME> on 28/02/13.
// Copyright (c) 2013 <NAME>. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "GOStack.h"
@interface NSMutableArray (GOStack)
- (id)initWithGOStack:(GOStack *)stack;
@end
|
gabrieloliva/GOStack | GOStackExample/GOStackExample/AppDelegate.h | <reponame>gabrieloliva/GOStack
//
// AppDelegate.h
// GOStackExample
//
// Created by <NAME> on 28/02/13.
// Copyright (c) 2013 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
gabrieloliva/GOStack | GOStackExample/GOStackExample/ViewController.h | //
// ViewController.h
// GOStackExample
//
// Created by <NAME> on 28/02/13.
// Copyright (c) 2013 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
|
Dzamir/SpriteKitUniversalVerticalMenus | Example/Pods/Target Support Files/Pods-SpriteKitUniversalMenus-Mac/Pods-SpriteKitUniversalMenus-Mac-umbrella.h | <gh_stars>10-100
#import <Cocoa/Cocoa.h>
FOUNDATION_EXPORT double Pods_SpriteKitUniversalMenus_MacVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_SpriteKitUniversalMenus_MacVersionString[];
|
Dzamir/SpriteKitUniversalVerticalMenus | Example/Pods/Target Support Files/Pods-SpriteKitUniversalMenus_Tests-iOS/Pods-SpriteKitUniversalMenus_Tests-iOS-umbrella.h | #import <UIKit/UIKit.h>
FOUNDATION_EXPORT double Pods_SpriteKitUniversalMenus_Tests_iOSVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_SpriteKitUniversalMenus_Tests_iOSVersionString[];
|
Dzamir/SpriteKitUniversalVerticalMenus | Example/SpriteKitUniversalMenus-tvOS/GameViewController.h | //
// GameViewController.h
// SpriteKitUniversalMenus-tvOS
//
// Copyright (c) 2016 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@import SpriteKit;
@import GameController;
@interface GameViewController : GCEventViewController
@end
|
Dzamir/SpriteKitUniversalVerticalMenus | Example/Pods/Target Support Files/SpriteKitUniversalMenus-OSX/SpriteKitUniversalMenus-OSX-umbrella.h | #import <Cocoa/Cocoa.h>
#import "Bridges.h"
#import "Directions.h"
#import "DZAControlInputDirection.h"
#import "DZAMenuNode.h"
#import "DZAMenuVoiceNode.h"
FOUNDATION_EXPORT double SpriteKitUniversalMenusVersionNumber;
FOUNDATION_EXPORT const unsigned char SpriteKitUniversalMenusVersionString[];
|
Dzamir/SpriteKitUniversalVerticalMenus | Example/SpriteKiUniversalMenus-Mac/AppDelegate.h | //
// AppDelegate.h
// SpriteKiUniversalMenus-Mac
//
// Created by <NAME> on 08/01/16.
// Copyright © 2016 <NAME>. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface AppDelegate : NSObject <NSApplicationDelegate>
@end
|
Dzamir/SpriteKitUniversalVerticalMenus | Pod/Classes/DZAMenuVoiceNode.h | //
// DZAMenuVoiceNode.h
// Based on AGSpriteButton
//
// Created by <NAME> on 18/06/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <SpriteKit/SpriteKit.h>
#import "Bridges.h"
#import "Directions.h"
typedef NS_OPTIONS(NSInteger, AGButtonControlEvent)
{
AGButtonControlEventTouchDown = 1, //... |
Dzamir/SpriteKitUniversalVerticalMenus | Example/SpriteKitUniversalMenus-iOS/DZAAppDelegate.h | //
// DZAAppDelegate.h
// SpriteKitUniversalVerticalMenus
//
// Created by <NAME> on 01/04/2016.
// Copyright (c) 2016 <NAME>. All rights reserved.
//
@import UIKit;
@interface DZAAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
Dzamir/SpriteKitUniversalVerticalMenus | Example/Pods/Target Support Files/Pods-SpriteKitUniversalMenus-iOS/Pods-SpriteKitUniversalMenus-iOS-umbrella.h | #import <UIKit/UIKit.h>
FOUNDATION_EXPORT double Pods_SpriteKitUniversalMenus_iOSVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_SpriteKitUniversalMenus_iOSVersionString[];
|
Dzamir/SpriteKitUniversalVerticalMenus | Example/Pods/Target Support Files/Pods-SpriteKitUniversalMenus-tvOS/Pods-SpriteKitUniversalMenus-tvOS-umbrella.h | <reponame>Dzamir/SpriteKitUniversalVerticalMenus
#import <UIKit/UIKit.h>
FOUNDATION_EXPORT double Pods_SpriteKitUniversalMenus_tvOSVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_SpriteKitUniversalMenus_tvOSVersionString[];
|
Dzamir/SpriteKitUniversalVerticalMenus | Pod/Classes/Bridges.h | <filename>Pod/Classes/Bridges.h
//
// Bridges.h
// Pods
//
// Created by <NAME> on 09/01/16.
//
//
#ifndef Bridges_h
#define Bridges_h
#if TARGET_OS_IPHONE
#define DZAFont UIFont
#define DZATouch UITouch
#define DZAColor UIColor
#define DZATapGestureRecognizer UITapGestureRecognizer
#define DZA... |
Dzamir/SpriteKitUniversalVerticalMenus | Example/Pods/Target Support Files/Pods-SpriteKitUniversalMenus-tvOSUITests/Pods-SpriteKitUniversalMenus-tvOSUITests-umbrella.h | <gh_stars>10-100
#import <UIKit/UIKit.h>
FOUNDATION_EXPORT double Pods_SpriteKitUniversalMenus_tvOSUITestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_SpriteKitUniversalMenus_tvOSUITestsVersionString[];
|
Dzamir/SpriteKitUniversalVerticalMenus | Pod/Classes/DZAControlInputDirection.h | //
// ControlInputDirection.h
// Sbindulin
//
// Created by <NAME> on 18/10/15.
// Copyright © 2015 Dzamir. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <simd/simd.h>
typedef enum : NSUInteger {
DZAControlInputDirectionUp,
DZAControlInputDirectionDown,
DZAControlInputDirectionLef... |
Dzamir/SpriteKitUniversalVerticalMenus | Pod/Classes/DZAMenuNode.h | //
// DZAMenuNode.h
// Pods
//
// Created by <NAME> on 06/01/16.
//
//
@import SpriteKit;
@import GameController;
#import "DZAMenuVoiceNode.h"
#define THREESHOLD 10.0f
@class DZAMenuNode;
@protocol DZAMenuNodeDelegate <NSObject>
// for tvOS: menu button pressed
// for macOS: esc button pressed
// for iOS you wi... |
Dzamir/SpriteKitUniversalVerticalMenus | Example/SpriteKitUniversalMenus-iOS/DZAViewController.h | <reponame>Dzamir/SpriteKitUniversalVerticalMenus
//
// DZAViewController.h
// SpriteKitUniversalVerticalMenus
//
// Created by <NAME> on 01/04/2016.
// Copyright (c) 2016 <NAME>. All rights reserved.
//
@import UIKit;
@interface DZAViewController : UIViewController
@end
|
Dzamir/SpriteKitUniversalVerticalMenus | Example/Pods/Target Support Files/SpriteKitUniversalMenus-tvOS/SpriteKitUniversalMenus-tvOS-umbrella.h | <filename>Example/Pods/Target Support Files/SpriteKitUniversalMenus-tvOS/SpriteKitUniversalMenus-tvOS-umbrella.h
#import <UIKit/UIKit.h>
#import "Bridges.h"
#import "Directions.h"
#import "DZAControlInputDirection.h"
#import "DZAMenuNode.h"
#import "DZAMenuVoiceNode.h"
FOUNDATION_EXPORT double SpriteKitUniversalMenus... |
Dzamir/SpriteKitUniversalVerticalMenus | Example/SpriteKiUniversalMenus-Mac/ViewController.h | <filename>Example/SpriteKiUniversalMenus-Mac/ViewController.h
//
// ViewController.h
// SpriteKiUniversalMenus-Mac
//
// Created by <NAME> on 08/01/16.
// Copyright © 2016 <NAME>. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface ViewController : NSViewController
@end
|
Dzamir/SpriteKitUniversalVerticalMenus | Example/SpriteKitUniversalMenus-Shared/DZASpriteKitMenuScene.h | //
// DZASpriteKitMenuView.h
// SpriteKitUniversalVerticalMenus
//
// Created by <NAME> on 05/01/16.
// Copyright © 2016 <NAME>. All rights reserved.
//
@import SpriteKit;
@import GameController;
@interface DZASpriteKitMenuScene : SKScene
@end
|
Dzamir/SpriteKitUniversalVerticalMenus | Example/SpriteKitUniversalMenus-tvOS/GameScene.h | <reponame>Dzamir/SpriteKitUniversalVerticalMenus
//
// GameScene.h
// SpriteKitUniversalMenus-tvOS
//
// Copyright (c) 2016 <NAME>. All rights reserved.
//
#import <SpriteKit/SpriteKit.h>
@interface GameScene : SKScene
@end
|
Dzamir/SpriteKitUniversalVerticalMenus | Pod/Classes/Directions.h | //
// Directions.h
// Pods
//
// Created by <NAME> on 09/01/16.
//
//
#ifndef Directions_h
#define Directions_h
typedef enum : NSUInteger {
DZAMenuDirectionUp,
DZAMenuDirectionRight,
DZAMenuDirectionDown,
DZAMenuDirectionLeft
} DZAMenuDirection;
typedef enum : NSUInteger {
DZAMenuAxisVertical,... |
Dzamir/SpriteKitUniversalVerticalMenus | Example/Pods/Target Support Files/Pods-SpriteKiUniversalMenus-MacUITests/Pods-SpriteKiUniversalMenus-MacUITests-umbrella.h | <gh_stars>10-100
#import <Cocoa/Cocoa.h>
FOUNDATION_EXPORT double Pods_SpriteKiUniversalMenus_MacUITestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_SpriteKiUniversalMenus_MacUITestsVersionString[];
|
Zippen-Huang/lane_detection- | src/helpers.h | <gh_stars>10-100
#ifndef HELPERS_H
#define HELPERS_H
#include <string>
#include <algorithm>
std::string rem_whitespace(std::string path);
std::string get_dir(std::string path);
std::string abs_path(std::string path, std::string relative_to);
#endif |
Zippen-Huang/lane_detection- | src/detector.h | <filename>src/detector.h
#ifndef DETECTOR_H
#define DETECTOR_H
using namespace std;
#include "opencv2/opencv.hpp"
#include "lane.h"
#include <string>
#include <cmath>
#include <vector>
using namespace cv;
class Detector
{
private:
int threshold;
int row_step;
int col_step;
int l_start;
int r_st... |
Zippen-Huang/lane_detection- | src/logger.h | <reponame>Zippen-Huang/lane_detection-
#include<string>
#include "boost/log/trivial.hpp"
#include <vector>
enum Levels{TRACE, DEBUG, INFO, WARNING, ERROR, FATAL};
using namespace std;
class Logger
{
private:
static string file;
static bool console;
static bool is_init;
static Levels severity;
L... |
Zippen-Huang/lane_detection- | src/polifitgsl.h | /**
* Provides function to fit a polynomial curve to a set of data.
* Source: https://rosettacode.org/wiki/Polynomial_regression#C
*/
#ifndef _POLIFITGSL_H
#define _POLIFITGSL_H
#include <gsl/gsl_multifit.h>
#include <stdbool.h>
#include <math.h>
bool polynomialfit(int obs, int degree,
const double *dx, co... |
Zippen-Huang/lane_detection- | src/lane.h | #ifndef LANE_H
#define LANE_H
#include <vector>
#include <cmath>
#include <string>
class Lane
{
private:
int n; //number of parameters that define the lane (degree + 1)
std::vector<double> params; //array of size degree. Defines coefficients for left lane curve.
std::vector<double> lparams;
std::vect... |
Rhyman/CheckBoxC | CheckBoxC/ViewController.h | //
// ViewController.h
// CheckBoxC
//
// Created by <NAME> on 2/14/19.
// Copyright © 2019 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "RAHCheckbox.h"
@interface ViewController : UIViewController <RAHCheckboxDelegate> {
RAHCheckbox *checkbox1;
RAHCheckbox *checkbox3;... |
Rhyman/CheckBoxC | CheckBoxC/RAHCheckbox.h | //
// RAHCheckbox.h
// testLayers
//
// Created by <NAME> on 8/27/11.
// Copyright 2011-2019 R.A.Hyman. All rights reserved.
//
#import <UIKit/UIKit.h>
// protocol below lets the parent viewController know
// when the checkbox value changes
@protocol RAHCheckboxDelegate;
@interface RAHCheckbox : UIContr... |
fireae/nhocr | include/imgobj.h | /*--------------------------------------------------------------
Image object class Include File Rev.980108
Written by H.Goto , May 1994
Modified by H.Goto , Jan. 1998
--------------------------------------------------------------*/
/*--------------------------------------------------------------------
Cop... |
fireae/nhocr | O2-tools-2.01/libsrc/siplib/lpsmooth.c | <filename>O2-tools-2.01/libsrc/siplib/lpsmooth.c
/*--------------------------------------------------------------
Image Processing function library libsip
(Line-preserving smoothing Rev.020208)
Written by H.Goto , Apr 2000
Modified by H.Goto , July 2000
Modified by H.Goto , Oct 2000
Modified by H.Got... |
fireae/nhocr | O2-tools-2.01/libsrc/siplib/tenneib.h | /* Image Thinning by Ten Neighbor Method */
/* Original Code by <NAME> */
/* Library version by <NAME> , Oct. 1994 */
/*--------------------------------------------------------------------
Copyright (C) 1994 <NAME>
All Rights Reserved
Permission to use, copy, modify, and distribute this software ... |
fireae/nhocr | O2-tools-2.01/libsrc/libufp/comlib.c | <filename>O2-tools-2.01/libsrc/libufp/comlib.c
/*--------------------------------------------------------------
Common Library for libufp
Written by H.Goto , Jan. 1995
Revised by H.Goto , Feb. 1996
Revised by H.Goto , July 1996
Revised by H.Goto , Feb. 1997
Revised by H.Goto , Apr. 2000
Revised by H.Goto ,... |
fireae/nhocr | O2-tools-2.01/include/ipIO.h | <reponame>fireae/nhocr
/*--------------------------------------------------------------
IP-format file I/O class Header Include File
Written by H.Goto , Jan. 1994
Modified by H.Goto , Feb. 1997
Modified by H.Goto , Apr. 2000
--------------------------------------------------------------*/
/*----------------... |
fireae/nhocr | O2-tools-2.01/libsrc/libsgp/getpeak.c | /*--------------------------------------------------------------
Signal processing function library libsgp
( Get peaks in sequence Rev.960229)
Written by H.Goto , May 1994
--------------------------------------------------------------*/
/*--------------------------------------------------------------------
... |
fireae/nhocr | libnhocr/codelist.h | <gh_stars>10-100
/*----------------------------------------------------------------------
Character code table management function codetable.h
Written by H.Goto, Feb. 2008
Revised by H.Goto, Sep. 2008
Revised by H.Goto, Jan. 2009
Revised by H.Goto, May 2009
Revised by H.Go... |
fireae/nhocr | O2-tools-2.01/libsrc/siplib/projprof.c | /*--------------------------------------------------------------
Image Processing function library libsip
(Projection profile Rev.081230)
Written by H.Goto , Nov 1995
Revised by H.Goto , Sep 1997
Revised by H.Goto , May 2002
Revised by H.Goto , Dec 2008
--------------------------------------------------... |
fireae/nhocr | O2-tools-2.01/libsrc/libsgp/walsh.c | <filename>O2-tools-2.01/libsrc/libsgp/walsh.c
/*--------------------------------------------------------------
Signal processing function library libsgp
( Walsh transform functions Rev.020527 )
Written by H.Goto , May 1993
Modified by H.Goto , May 2002
------------------------------------------------------... |
fireae/nhocr | O2-tools-2.01/libsrc/objgrp/objgrp.h | /*--------------------------------------------------------------
Object Group Class Header File Rev.030729
Written by H.Goto , Mar 1994
Modified by H.Goto , Oct 1994
Rewrote by H.Goto , Sep 1997
Modified by H.Goto , Dec 1998
Modified by H.Goto , May 2002
Modified by H.Goto , Jul 2003
----------------... |
fireae/nhocr | O2-tools-2.01/libsrc/libsgp/corr.c | <reponame>fireae/nhocr
/*--------------------------------------------------------------
Signal processing function library libsgp
( Correlation Functions Rev.941214)
Written by H.Goto , Dec.1994
--------------------------------------------------------------*/
/*------------------------------------------------... |
fireae/nhocr | O2-tools-2.01/libsrc/siplib/rotate.c | <gh_stars>10-100
/*--------------------------------------------------------------
Image Processing function library libsip
(Rotate image Rev.081230)
Written by H.Goto , Nov 1995
Revised by H.Goto , May 1996
Revised by H.Goto , May 2002
Revised by H.Goto , Dec 2008
----------------------------------------... |
fireae/nhocr | include/comlib.h | /*--------------------------------------------------------------
Common Library for libufp
Written by H.Goto , Jan. 1995
Revised by H.Goto , Feb. 1996
Revised by H.Goto , May 1996
Revised by H.Goto , July 1996
Revised by H.Goto , Feb. 1997
Revised by H.Goto , Apr. 2000
Revised by H.Goto , Apr. 2000
Re... |
fireae/nhocr | include/CRect.h | /*--------------------------------------------------------------
Image object library libimgo , H.Goto Dec.1995
Class: CRects
Last modified Nov. 1997
--------------------------------------------------------------*/
/*--------------------------------------------------------------------
Copyright (C) 1995-19... |
fireae/nhocr | O2-tools-2.01/libsrc/siplib/distimage.c | /*--------------------------------------------------------------
Image Processing function library libsip
( Convert binary image into distance image Rev.020208 )
Written by H.Goto , Oct 1999
Modified by H.Goto , Feb 2002
--------------------------------------------------------------*/
/*------------... |
fireae/nhocr | O2-tools-2.01/libsrc/siplib/thin10.c | <gh_stars>10-100
/*--------------------------------------------------------------
Image Processing function library libsip
( Thinning by 10-neighbor method Rev.081230)
Written by H.Goto , Oct 1994
Revised by H.Goto , Sep 1997
Revised by H.Goto , Feb 2002
Revised by H.Goto , Dec 2008
------------------... |
fireae/nhocr | O2-tools-2.01/libsrc/libsgp/histgram.c | <filename>O2-tools-2.01/libsrc/libsgp/histgram.c
/*--------------------------------------------------------------
Signal processing function library libsgp
( Histogram analysis Rev.20000711 )
Written by H.Goto , Feb. 1995
Modified by H.Goto, July 2000
-------------------------------------------------------... |
fireae/nhocr | libnhocr/ocrbase.h | <gh_stars>10-100
/*--------------------------------------------------------------
OCR base library
(C) 2005-2014 <NAME> (see accompanying LICENSE file)
Written by H.Goto, Dec. 2005
Revised by H.Goto, Feb. 2008
Revised by H.Goto, Apr. 2008
Revised by H.Goto, Sep. 2008
Revised by H.Goto, Ma... |
fireae/nhocr | O2-tools-2.01/include/rasterfile.h | <reponame>fireae/nhocr<filename>O2-tools-2.01/include/rasterfile.h<gh_stars>10-100
/* rasterfile.h --- Sun Raster File Header Definitions */
#ifndef rasterfile_h
#define rasterfile_h
#define RAS_MAGIC 0x59a66a95
#define RT_OLD 0
#define RT_STANDARD 1
#define RT_BYTE_ENCODED 2
#define RT_FORMAT_RGB 3
#defi... |
fireae/nhocr | O2-tools-2.01/include/siplib.h | <filename>O2-tools-2.01/include/siplib.h
/*--------------------------------------------------------------
Image Processing functions v2.4
Written by H.Goto , Jul 1994
Revised by H.Goto , Nov 1995
Revised by H.Goto , May 1996
Revised by H.Goto , Sep 1997
Revised by H.Goto , Oct 1999
Revised by H.Goto , A... |
fireae/nhocr | O2-tools-2.01/libsrc/libufp/d8IO.h | <filename>O2-tools-2.01/libsrc/libufp/d8IO.h
/*--------------------------------------------------------------
8(4)-dim Data I/O class Header Include File
Written by H.Goto , Sep. 1993
Modified by H.Goto , Feb. 1997
Modified by H.Goto , Apr. 2000
--------------------------------------------------------------*... |
fireae/nhocr | include/sgplib.h | <filename>include/sgplib.h<gh_stars>10-100
/*--------------------------------------------------------------
Signal processing function library libsgp
Written by H.Goto , Jan.1994
--------------------------------------------------------------*/
/*-------------------------------------------------------------------... |
fireae/nhocr | O2-tools-2.01/include/xiplib.h | /*--------------------------------------------------------------
Extended Image Processing functions v1.1
Written by H.Goto , Dec 1998
Modified by H.Goto , May 2002
--------------------------------------------------------------*/
/*--------------------------------------------------------------------
Copyrig... |
fireae/nhocr | include/pbmIO.h | <filename>include/pbmIO.h
/*--------------------------------------------------------------
PBM (raw) file I/O class Header Include File Rev.970218
Written by H.Goto , Jan. 1995
Modified by H.Goto , July 1996
Modified by H.Goto , Feb. 1997
--------------------------------------------------------------*/
/*... |
fireae/nhocr | O2-tools-2.01/libsrc/siplib/siplib.c | <reponame>fireae/nhocr<gh_stars>10-100
/*--------------------------------------------------------------
Image Processing functions
Written by H.Goto , Jul 1994
Revised by H.Goto , Nov 1995
Revised by H.Goto , May 1996
Revised by H.Goto , Sep 1997
Revised by H.Goto , Oct 1998
Revised by H.Goto , Apr 2000
... |
fireae/nhocr | O2-tools-2.01/libsrc/libimgo/ORect.h | <filename>O2-tools-2.01/libsrc/libimgo/ORect.h
/*--------------------------------------------------------------
Image object library libimgo , H.Goto Nov.1997
Class: ORects
Last modified Nov. 1997
--------------------------------------------------------------*/
/*---------------------------------------------... |
fireae/nhocr | O2-tools-2.01/include/rasIO.h | /*--------------------------------------------------------------
Rasterfile I/O class Header Include File Rev.970218
Written by H.Goto , Jan. 1993
Modified by H.Goto , Feb. 1997
--------------------------------------------------------------*/
/*------------------------------------------------------------------... |
fireae/nhocr | libnhocr/segchar_adhoc.h | <reponame>fireae/nhocr<filename>libnhocr/segchar_adhoc.h
/*----------------------------------------------------------------------
Character segmentation function segchar_adhoc.h
(an Ad-hoc version)
Written by H.Goto, Jan. 2008
Revised by H.Goto, Feb. 2008
Revised by H.Goto, Apr. 200... |
fireae/nhocr | include/utypes.h | /*--------------------------------------------------------------
User's type definitions Rev.020527
Written by H.Goto , May 1996
Modified by H.Goto , Sep 1997
Modified by H.Goto , Apr 2000
Modified by H.Goto , Jan 2001
Modified by H.Goto , May 2002
-------------------------------------------------------... |
fireae/nhocr | O2-tools-2.01/libsrc/libsgp/convol.c | /*--------------------------------------------------------------
Signal processing function library libsgp
( Convolution Rev.940809)
Written by H.Goto , Aug.1994
--------------------------------------------------------------*/
/*--------------------------------------------------------------------
Copyright... |
edgexfoundry-holding/protocol-ezmq-c | samples/csubscriber.c | <reponame>edgexfoundry-holding/protocol-ezmq-c<filename>samples/csubscriber.c<gh_stars>0
/*******************************************************************************
* Copyright 2017 Samsung Electronics All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use th... |
edgexfoundry-holding/protocol-ezmq-c | samples/cpublisher.c | /*******************************************************************************
* Copyright 2017 Samsung Electronics All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at... |
JinYang88/LogZip | baselines/1_CCGrid15/include/cowic/compressor_factory.h | //compressor_factory.h
#ifndef _COMPRESSOR_FACTORY_H_
#define _COMPRESSOR_FACTORY_H_
#include <memory>
#include "model.h"
#include "dictionary_model.h"
#include "encoder.h"
#include "fresh_encoder.h"
#include "number_encoder.h"
#include "compressor_config.h"
using std::shared_ptr;
class CompressorFactory{
public:
... |
JinYang88/LogZip | baselines/1_CCGrid15/src/model/phrase_dict_model.h | /* Cowic is a C++ library to compress formatted log like Apache access log.
*
* Cowic is released under the New BSD license (see LICENSE.txt). Go to the
* project home page for more info:
*
* https://github.com/linhao1990/cowic.git
*/
//phrase_dict_model.h
#ifndef _PHRASE_DICT_MODEL_H_
#define _PHRASE_DICT_MODEL... |
JinYang88/LogZip | baselines/1_CCGrid15/src/model/cowic.h | <filename>baselines/1_CCGrid15/src/model/cowic.h
/* Cowic is a C++ library to compress formatted log like Apache access log.
*
* Cowic is released under the New BSD license (see LICENSE.txt). Go to the
* project home page for more info:
*
* https://github.com/linhao1990/cowic.git
*/
//cowic.h
#ifndef _COWIC_H
#de... |
JinYang88/LogZip | baselines/1_CCGrid15/include/cowic/abstract_number_model.h | //abstract_number_model.h
#ifndef _ABSTRACT_NUMBER_MODEL_H_
#define _ABSTRACT_NUMBER_MODEL_H_
#include <memory>
#include "abstract_number.h"
#include "model.h"
#include "dictionary_model.h"
#include "huffman_encoder.h"
using std::shared_ptr;
class AbstractNumberModel : public Model{
public:
AbstractNumberModel... |
JinYang88/LogZip | baselines/1_CCGrid15/include/cowic/number_model.h | //number_model.h
#ifndef _NUMBER_MODEL_H_
#define _NUMBER_MODEL_H_
#include "abstract_number_model.h"
class NumberModel : public AbstractNumberModel{
public:
NumberModel();
NumberModel(const shared_ptr<DictionaryModel>& dictModelPtrVal);
shared_ptr<AbstractNumber> parseColumnStr(const string& columnStr);... |
JinYang88/LogZip | baselines/1_CCGrid15/src/encoder/variable_byte_encoder.h | <filename>baselines/1_CCGrid15/src/encoder/variable_byte_encoder.h
/* Cowic is a C++ library to compress formatted log like Apache access log.
*
* Cowic is released under the New BSD license (see LICENSE.txt). Go to the
* project home page for more info:
*
* https://github.com/linhao1990/cowic.git
*/
//variable_b... |
JinYang88/LogZip | baselines/1_CCGrid15/src/model/fix_precision_number.h | /* Cowic is a C++ library to compress formatted log like Apache access log.
*
* Cowic is released under the New BSD license (see LICENSE.txt). Go to the
* project home page for more info:
*
* https://github.com/linhao1990/cowic.git
*/
//fix_precision_number.h
#ifndef _FIX_PRECISION_NUMBER_H_
#define _FIX_PRECISI... |
JinYang88/LogZip | baselines/1_CCGrid15/include/cowic/spliter.h | <filename>baselines/1_CCGrid15/include/cowic/spliter.h<gh_stars>1-10
//spliter.h
#ifndef _SPLITER_H
#define _SPLITER_H
#include <string>
#include <vector>
using std::string;
using std::vector;
class Spliter{
public:
static void splitLine2Columns(const string& line, vector<string>& columns);
static void spli... |
JinYang88/LogZip | baselines/1_CCGrid15/src/model/word_dict_model.h | <gh_stars>1-10
/* Cowic is a C++ library to compress formatted log like Apache access log.
*
* Cowic is released under the New BSD license (see LICENSE.txt). Go to the
* project home page for more info:
*
* https://github.com/linhao1990/cowic.git
*/
//word_dict_model.h
#ifndef _WORD_DICT_MODEL_H_
#define _WORD_D... |
JinYang88/LogZip | baselines/1_CCGrid15/src/encoder/delta_encoder.h | /* Cowic is a C++ library to compress formatted log like Apache access log.
*
* Cowic is released under the New BSD license (see LICENSE.txt). Go to the
* project home page for more info:
*
* https://github.com/linhao1990/cowic.git
*/
//delta_encoder.h
#ifndef _DELTA_ENCODER_H_
#define _DELTA_ENCODER_H_
#includ... |
JinYang88/LogZip | baselines/1_CCGrid15/include/cowic/huffman_encoder.h | //huffman_encoder.h
#ifndef _HUFFMAN_ENCODRE_H
#define _HUFFMAN_ENCODRE_H
#include "encoder.h"
#include "tree_node.h"
class SymbolLen{
public:
SymbolLen(string symbolVal, int codeLenVal) : symbol(symbolVal), codeLen(codeLenVal){}
string dump() const;
static SymbolLen parse(const string& dumpStr);
stri... |
JinYang88/LogZip | baselines/1_CCGrid15/src/model/spliter.h | <gh_stars>1-10
/* Cowic is a C++ library to compress formatted log like Apache access log.
*
* Cowic is released under the New BSD license (see LICENSE.txt). Go to the
* project home page for more info:
*
* https://github.com/linhao1990/cowic.git
*/
//spliter.h
#ifndef _SPLITER_H
#define _SPLITER_H
#include <st... |
JinYang88/LogZip | baselines/1_CCGrid15/include/cowic/gamma_encoder.h | //gamma_encoder.h
#ifndef _GAMMA_ENCODER_H_
#define _GAMMA_ENCODER_H_
#include "unary_encoder.h"
class GammaEncoder : public NumberEncoder{
public:
BitArray encode(unsigned int num) const;
int decode(BinaryCode& code, unsigned int& num) const;
private:
UnaryEncoder unary;
};
#endif
|
JinYang88/LogZip | baselines/1_CCGrid15/include/cowic/ip.h | <reponame>JinYang88/LogZip
//ip.h
#ifndef _IP_H_
#define _IP_H_
#include <regex>
#include <stdlib.h>
#include <regex.h>
#include "abstract_number.h"
class IP : public AbstractNumber{
public:
IP(unsigned int numericVal, const string& beforeVal, const string& afterVal);
string to_plain_str() const;
bool i... |
JinYang88/LogZip | baselines/1_CCGrid15/src/model/abstract_number_model.h | <filename>baselines/1_CCGrid15/src/model/abstract_number_model.h
/* Cowic is a C++ library to compress formatted log like Apache access log.
*
* Cowic is released under the New BSD license (see LICENSE.txt). Go to the
* project home page for more info:
*
* https://github.com/linhao1990/cowic.git
*/
//abstract_num... |
JinYang88/LogZip | baselines/1_CCGrid15/include/cowic/fix_precision_number.h | //fix_precision_number.h
#ifndef _FIX_PRECISION_NUMBER_H_
#define _FIX_PRECISION_NUMBER_H_
#include <regex.h>
#include "abstract_number.h"
class FixPrecisionNumber : public AbstractNumber{
public:
FixPrecisionNumber(unsigned int numericVal, const string& beforeVal, const string& afterVal, const unsigned int pre... |
JinYang88/LogZip | baselines/1_CCGrid15/src/model/ip.h | /* Cowic is a C++ library to compress formatted log like Apache access log.
*
* Cowic is released under the New BSD license (see LICENSE.txt). Go to the
* project home page for more info:
*
* https://github.com/linhao1990/cowic.git
*/
//ip.h
#ifndef _IP_H_
#define _IP_H_
#include <regex>
#include <stdlib.h>
#in... |
JinYang88/LogZip | baselines/1_CCGrid15/src/common/helper.h | /* Cowic is a C++ library to compress formatted log like Apache access log.
*
* Cowic is released under the New BSD license (see LICENSE.txt). Go to the
* project home page for more info:
*
* https://github.com/linhao1990/cowic.git
*/
//helper.h
#ifndef _HELPER_H_
#define _HELPER_H_
#include <string>
#include <... |
JinYang88/LogZip | baselines/1_CCGrid15/src/model/number.h | <gh_stars>1-10
/* Cowic is a C++ library to compress formatted log like Apache access log.
*
* Cowic is released under the New BSD license (see LICENSE.txt). Go to the
* project home page for more info:
*
* https://github.com/linhao1990/cowic.git
*/
//number.h
#ifndef _NUMBER_H_
#define _NUMBER_H_
#include <reg... |
JinYang88/LogZip | baselines/1_CCGrid15/include/cowic/word_dict_model.h | //word_dict_model.h
#ifndef _WORD_DICT_MODEL_H_
#define _WORD_DICT_MODEL_H_
#include "dictionary_model.h"
class WordDictModel : public DictionaryModel{
public:
WordDictModel();
void updateColumn(const string& columnStr, int column);
BitArray compressColumn(const string& columnStr, int column);
strin... |
JinYang88/LogZip | baselines/1_CCGrid15/include/cowic/unary_encoder.h | //unary_encoder.h
#ifndef _UNARY_ENCODER_H_
#define _UNARY_ENCODER_H_
#include "number_encoder.h"
class UnaryEncoder : public NumberEncoder{
public:
BitArray encode(unsigned int num) const;
int decode(BinaryCode& code, unsigned int& num) const;
private:
};
#endif
|
JinYang88/LogZip | baselines/1_CCGrid15/include/cowic/delta_encoder.h | <filename>baselines/1_CCGrid15/include/cowic/delta_encoder.h
//delta_encoder.h
#ifndef _DELTA_ENCODER_H_
#define _DELTA_ENCODER_H_
#include "gamma_encoder.h"
class DeltaEncoder : public NumberEncoder{
public:
BitArray encode(unsigned int num) const;
int decode(BinaryCode& code, unsigned int& num) const;
priv... |
JinYang88/LogZip | baselines/1_CCGrid15/include/cowic/plain_encoder.h | //plain_encoder.h
#ifndef _PLAIN_ENCODER_H_
#define _PLAIN_ENCODER_H_
#include "fresh_encoder.h"
class PlainEncoder : public FreshEncoder{
public:
bool isFresh(const string& word) const;
/* Fresh word is represent by a fresh mark followed by word length, then plain word
* An empty string is used as word... |
JinYang88/LogZip | baselines/1_CCGrid15/include/cowic/column_wised_model.h | //column_wised_model.h
#ifndef _COLUMN_WISED_MODEL_H_
#define _COLUMN_WISED_MODEL_H_
#include <memory>
#include "model.h"
typedef std::shared_ptr<Model> ModelPtr;
class ColumnWisedModel : public Model{
public:
ColumnWisedModel();
void updateColumn(const string& columnStr, int column);
/* Dump each mode... |
JinYang88/LogZip | baselines/1_CCGrid15/include/cowic/tree_node.h | <gh_stars>1-10
//tree_node.h
#ifndef _TREE_NODE_H_
#define _TREE_NODE_H_
#include <memory>
#include "bit_array.h"
class TreeNode;
typedef std::shared_ptr<TreeNode> TreeNodePtr;
class TreeNode{
public:
TreeNode(string wordValue, int freqValue);
TreeNode(TreeNodePtr leftValue, TreeNodePtr rightValue);
in... |
JinYang88/LogZip | baselines/1_CCGrid15/src/encoder/unary_encoder.h | <gh_stars>1-10
/* Cowic is a C++ library to compress formatted log like Apache access log.
*
* Cowic is released under the New BSD license (see LICENSE.txt). Go to the
* project home page for more info:
*
* https://github.com/linhao1990/cowic.git
*/
//unary_encoder.h
#ifndef _UNARY_ENCODER_H_
#define _UNARY_ENCO... |
JinYang88/LogZip | baselines/1_CCGrid15/src/model/number_model.h | /* Cowic is a C++ library to compress formatted log like Apache access log.
*
* Cowic is released under the New BSD license (see LICENSE.txt). Go to the
* project home page for more info:
*
* https://github.com/linhao1990/cowic.git
*/
//number_model.h
#ifndef _NUMBER_MODEL_H_
#define _NUMBER_MODEL_H_
#include "... |
JinYang88/LogZip | baselines/1_CCGrid15/include/cowic/ip_model.h | <filename>baselines/1_CCGrid15/include/cowic/ip_model.h
//ip_model.h
#ifndef _IP_MODEL_H_
#define _IP_MODEL_H_
#include "abstract_number_model.h"
class IPModel : public AbstractNumberModel{
public:
IPModel();
IPModel(const shared_ptr<DictionaryModel>& dictModelPtrVal);
shared_ptr<AbstractNumber> parseCol... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.