repo_name stringlengths 6 97 | path stringlengths 3 341 | text stringlengths 8 1.02M |
|---|---|---|
rahuljaswa/Snapp | Pod/Classes/RJCoreDataManager.h | <reponame>rahuljaswa/Snapp
//
// RJCoreDataManager.h
// Community
//
#import "RJDataMarshaller.h"
#import <CoreData/CoreData.h>
#import <Foundation/Foundation.h>
@class RJRemoteObjectCategory;
@class RJRemoteObjectUser;
@interface RJCoreDataManager : NSObject
@property (readonly, strong, nonatomic) NSManagedObje... |
rahuljaswa/Snapp | Pod/Classes/RJManagedObjectPostCategory.h | <gh_stars>0
//
// RJManagedObjectPostCategory.h
// Community
//
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
@class RJManagedObjectImage;
@class RJManagedObjectPost;
@class RJManagedObjectUser;
@interface RJManagedObjectPostCategory : NSManagedObject
@property (nonatomic, retain) NSDate *creat... |
rahuljaswa/Snapp | Pod/Classes/RJManagedObjectUser.h | <reponame>rahuljaswa/Snapp
//
// RJManagedObjectUser.h
// Community
//
#import <CoreData/CoreData.h>
#import <Foundation/Foundation.h>
FOUNDATION_EXPORT NSString *const kRJUserChangedBlockSettingsNotification;
FOUNDATION_EXPORT NSString *const kRJUserLoggedInNotification;
FOUNDATION_EXPORT NSString *const kRJUserLo... |
rahuljaswa/Snapp | Pod/Classes/RJManagedObjectMessage.h | //
// RJManagedObjectMessage.h
// NINEXX
//
// Created by <NAME> on 2/28/15.
// Copyright (c) 2015 <NAME>. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
@class RJManagedObjectThread;
@class RJManagedObjectUser;
@interface RJManagedObjectMessage : NSManagedObject
@prope... |
rahuljaswa/Snapp | Pod/Classes/RJSettingsViewController.h | <filename>Pod/Classes/RJSettingsViewController.h
//
// RJSettingsViewController.h
// Community
//
#import <UIKit/UIKit.h>
@class RJSettingsViewController;
@protocol RJSettingsViewControllerDelegate <NSObject>
- (void)settingsViewControllerDidLogout:(RJSettingsViewController *)settingsViewController;
@end
@int... |
rahuljaswa/Snapp | Pod/Classes/RJLocationViewController.h | //
// RJLocationViewController.h
// Pods
//
// Created by <NAME> on 4/17/15.
//
//
#import "RJGalleryViewController.h"
#import "RJViewControllerDataSourceProtocol.h"
@class CLLocation;
@interface RJLocationViewController : RJGalleryViewController <RJViewControllerDataSourceProtocol>
- (instancetype)initWithLoc... |
rahuljaswa/Snapp | Pod/Classes/RJRemoteObjectComment.h | //
// RJRemoteObjectComment.h
// Community
//
#import <Parse/Parse.h>
@class RJRemoteObjectPost;
@class RJRemoteObjectUser;
@interface RJRemoteObjectComment : PFObject <PFSubclassing>
@property (nonatomic, strong) RJRemoteObjectUser *creator;
@property (nonatomic, assign) BOOL deleted;
@property (nonatomic, stro... |
rahuljaswa/Snapp | Pod/Classes/RJCommentsViewController.h | //
// RJCommentsViewController.h
// Community
//
#import <ChatViewControllers/RJChatTableViewController.h>
@class RJCommentsViewController;
@class RJManagedObjectUser;
@protocol RJCommentsViewControllerDelegate <NSObject>
- (void)commentsViewController:(RJCommentsViewController *)postCell didPressUser:(RJManaged... |
rahuljaswa/Snapp | Pod/Classes/RJHomeViewController.h | <filename>Pod/Classes/RJHomeViewController.h
//
// RJHomeViewController.h
// Community
//
#import <UIKit/UIKit.h>
@class RJHomeViewController;
@protocol RJHomeViewControllerDelegate <NSObject>
- (void)homeViewController:(RJHomeViewController *)homeViewController wantsAuthenticationWithCompletion:(void (^)(BOOL s... |
rahuljaswa/Snapp | Pod/Classes/RJThreadsViewController.h | <filename>Pod/Classes/RJThreadsViewController.h<gh_stars>0
//
// RJThreadsViewController.h
// Created by <NAME> on 2/28/15.
//
//
#import "RJViewControllerDataSourceProtocol.h"
#import <UIKit/UIKit.h>
@interface RJThreadsViewController : UITableViewController <RJViewControllerDataSourceProtocol>
@end
|
rahuljaswa/Snapp | Pod/Classes/RJGalleryViewController.h | <filename>Pod/Classes/RJGalleryViewController.h
//
// RJGalleryViewController.h
// Community
//
#import <UIKit/UIKit.h>
@interface RJGalleryViewController : UICollectionViewController <UICollectionViewDelegateFlowLayout>
@property (strong, nonatomic) NSArray *posts;
@end
|
rahuljaswa/Snapp | Pod/Classes/RJManagedObjectPost.h | //
// RJManagedObjectPost.h
// Community
//
#import <CoreData/CoreData.h>
#import <Foundation/Foundation.h>
@class RJManagedObjectComment;
@class RJManagedObjectFlag;
@class RJManagedObjectImage;
@class RJManagedObjectLike;
@class RJManagedObjectPostCategory;
@class RJManagedObjectThread;
@class RJManagedObjectUse... |
rahuljaswa/Snapp | Pod/Classes/RJRemoteObjectMessage.h | //
// RJRemoteObjectMessage.h
// Pods
//
// Created by <NAME> on 2/28/15.
//
//
#import <Parse/Parse.h>
@class RJRemoteObjectUser;
@class RJRemoteObjectThread;
@interface RJRemoteObjectMessage : PFObject <PFSubclassing>
@property (nonatomic, assign, readonly) BOOL deleted;
@property (nonatomic, strong) NSArray ... |
rahuljaswa/Snapp | Pod/Classes/RJUploadProgressCell.h | //
// RJUploadProgressView.h
// Pods
//
// Created by <NAME> on 3/21/15.
//
//
#import <UIKit/UIKit.h>
@interface RJUploadProgressCell : UITableViewCell
@property (nonatomic, strong, readonly) UIProgressView *progressView;
@end
|
rahuljaswa/Snapp | Pod/Classes/RJManagedObjectComment.h | <reponame>rahuljaswa/Snapp
//
// RJManagedObjectComment.h
// Community
//
#import <CoreData/CoreData.h>
#import <Foundation/Foundation.h>
@class RJManagedObjectPost;
@class RJManagedObjectUser;
@interface RJManagedObjectComment : NSManagedObject
@property (nonatomic, retain) NSDate *createdAt;
@property (nonatom... |
kjaylee/PutItOnMyTabBar | Example/Pods/Target Support Files/PutItOnMyTabBar/PutItOnMyTabBar-umbrella.h | #ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
FOUNDATION_EXPORT double PutItOnMyTabBarVersionNumber;
FOUNDATION_EXPORT const unsigned char PutItOnMyTabBarVersionString[];... |
Lab-Work/IDOT-SmartWorkzone | AutoCalibration/src/others/OptQuest_autocalibration/ProblemSetup.h | <reponame>Lab-Work/IDOT-SmartWorkzone<gh_stars>1-10
#pragma once
#include "DecisionVariable.h"
#include "Constraint.h"
class ProblemSetup
{
public:
ProblemSetup(void);
~ProblemSetup(void);
// TODO: The following lists are used to track the decision variables, constraints, requirements and objectives
// that have... |
Lab-Work/IDOT-SmartWorkzone | AutoCalibration/src/others/OptQuest_autocalibration/Constraint.h | #pragma once
class Constraint
{
public:
Constraint(void);
~Constraint(void);
// This class is used to display results at the end of the optimization.
CString m_Name;
long m_ID;
};
|
Lab-Work/IDOT-SmartWorkzone | AutoCalibration/src/others/OptQuest_autocalibration/SolutionEvaluator.h | #pragma once
#include "ProblemSetup.h"
class SolutionEvaluator
{
public:
SolutionEvaluator(void);
~SolutionEvaluator(void);
bool EvaluateOptQuestSolution(ProblemSetup* setup);
};
|
Lab-Work/IDOT-SmartWorkzone | AutoCalibration/src/others/OptQuest_autocalibration/OptQuestClient.h | <reponame>Lab-Work/IDOT-SmartWorkzone<filename>AutoCalibration/src/others/OptQuest_autocalibration/OptQuestClient.h
#pragma once
#include "DecisionVariable.h"
#include "SolutionEvaluator.h"
#include "ProblemSetup.h"
class COptQuestClient : public IOptQuestEvents
{
private:
IOptQuestPtr m_server;
bool IsOptQuestE... |
Lab-Work/IDOT-SmartWorkzone | AutoCalibration/src/others/OptQuest_autocalibration/DecisionVariable.h | <reponame>Lab-Work/IDOT-SmartWorkzone
#pragma once
class DecisionVariable
{
public:
DecisionVariable(void);
~DecisionVariable(void);
CString m_name;
long m_ID;
// Value returned from GetSolutionVariableValue()
double m_currentValue;
// TODO: Add information that will allow you to set values in the simulatio... |
taylorguo/MTCNN_Landmark106 | app/src/main/cpp/landmark106.h | //
// Created by <NAME> on 2019/6/28.
//
#pragma once
#ifndef LANDMARK106_H
#define LANDMARK106_H
#include "net.h"
#include <string>
#include <iostream>
#include <vector>
#include <algorithm>
#include <time.h>
#include <map>
using namespace std;
//struct mtcnn_point
//{
// float x;
// float y;
//};
class MTC... |
MartinRohrbach/iagd | HookDll/Shared/Singleton.h | #pragma once
/// Use this macro in the header of the class you wish to make a singleton.
#define SINGLETON(classname) \
private: \
classname(); \
classname(const classname &); \
public: \
static class... |
MartinRohrbach/iagd | HookDll/Shared/Thread.h | #pragma once
#define WINDOWS_LEAN_AND_MEAN
#include <windows.h>
class Thread
{
protected:
HANDLE d_threadHandle;
DWORD d_threadID;
bool d_bIsRunning;
public:
Thread();
virtual ~Thread();
void Begin();
void End();
bool IsRunning() { return d_bIsRunning; }
virtual DWORD ThreadProc();
};
|
MartinRohrbach/iagd | HookDll/Shared/TextFormat.h | <gh_stars>10-100
#ifndef TEXTFORMAT_H
#define TEXTFORMAT_H
#include <shared/UnicodeSupport.h>
class TextFormat
{
public:
TextFormat(int, char*);
~TextFormat();
// Convert a Long to a formatted Number String
std::tstring TextFormat::FormatLongToString(long l) const;
std::tstring TextFormat::FormatLongLo... |
MartinRohrbach/iagd | HookDll/Shared/IDB.h | <gh_stars>10-100
#ifndef IDB_H
#define IDB_H
#include <shared/ITable.h>
namespace sqlite
{
struct IDB
{
virtual ~IDB() {}
/// Initialize the DB using the specified filename.
virtual bool Init(std::tstring const& filename) = 0;
/// Close the database.
virtual void Ter... |
MartinRohrbach/iagd | HookDll/Hook/StateRequestNpcAction.h | #pragma once
#include <windows.h>
#include <vector>
#include "DataQueue.h"
#include "BaseMethodHook.h"
#include "Vec3f.h"
/************************************************************************
/************************************************************************/
class StateRequestNpcAction : public BaseMethodH... |
MartinRohrbach/iagd | HookDll/Hook/MessageType.h |
enum MessageType {
TYPE_OPEN_PRIVATE_STASH = 1,
TYPE_OPEN_CLOSE_TRANSFER_STASH = 2,
TYPE_REPORT_WORKER_THREAD_LAUNCHED = 3,
// Movement
TYPE_ControllerRequestNpcAction = 7,
TYPE_ControllerRequestMoveAction = 8,
TYPE_ControllerRequestRotateAction = 55,
TYPE_InventorySack_AddItem = 9,
TYPE_InventorySack_AddI... |
MartinRohrbach/iagd | HookDll/Shared/SQLite.h | <filename>HookDll/Shared/SQLite.h<gh_stars>10-100
#ifndef SQLITE_H
#define SQLITE_H
#include <shared/UnicodeSupport.h>
#include <boost/smart_ptr.hpp>
#include <vector>
#include <shared/IDB.h>
// Forward declarations
struct sqlite3;
namespace sqlite
{
class Db;
class Table;
typedef boost::shared_ptr<Db>... |
MartinRohrbach/iagd | HookDll/Hook/ReadPlayerTransfer.h | #pragma once
#pragma once
#include <windows.h>
#include "DataQueue.h"
#include "BaseMethodHook.h"
class DataQueue;
/************************************************************************
/************************************************************************/
class ReadPlayerTransfer : public BaseMethodHook {
pub... |
MartinRohrbach/iagd | HookDll/Hook/StateRequestRotateAction.h | <filename>HookDll/Hook/StateRequestRotateAction.h
#pragma once
#include <windows.h>
#include "DataQueue.h"
#include "BaseMethodHook.h"
#include "Vec3f.h"
class StateRequestRotateAction : public BaseMethodHook {
public:
StateRequestRotateAction();
StateRequestRotateAction(DataQueue* dataQueue, HANDLE hEvent, char* pr... |
MartinRohrbach/iagd | injectAllTheThings-master/injectAllTheThings/fheaders.h | // Technique 1: CreateRemoteThread
DWORD demoCreateRemoteThreadW(PCWSTR pszLibFile, DWORD dwProcessId);
// Technique 2: NtCreateThreadEx
DWORD demoNtCreateThreadEx(PCWSTR pszLibFile, DWORD dwProcessId);
struct NtCreateThreadExBuffer {
ULONG Size;
ULONG Unknown1;
ULONG Unknown2;
PULONG Unknown3;
ULONG Unknown4;
... |
MartinRohrbach/iagd | HookDll/Hook/CloudWrite.h | #pragma once
#include <windows.h>
#include "DataQueue.h"
#include "BaseMethodHook.h"
/************************************************************************
/************************************************************************/
class CloudWrite : public BaseMethodHook {
public:
CloudWrite();
CloudWrite(DataQue... |
MartinRohrbach/iagd | HookDll/Hook/SaveManager.h | <gh_stars>0
#pragma once
#include <windows.h>
#include "DataQueue.h"
#include "BaseMethodHook.h"
class DataQueue;
/************************************************************************
/************************************************************************/
class SaveManager : public BaseMethodHook {
public:
Sa... |
MartinRohrbach/iagd | HookDll/Hook/LoadPlayerTransfer.h | #pragma once
#pragma once
#pragma once
#include <windows.h>
#include "DataQueue.h"
#include "BaseMethodHook.h"
class DataQueue;
/************************************************************************
/************************************************************************/
class LoadPlayerTransfer : public BaseMet... |
MartinRohrbach/iagd | HookDll/Hook/SaveTransferStash.h | #pragma once
#include <windows.h>
#include "DataQueue.h"
#include "BaseMethodHook.h"
class SaveTransferStash : public BaseMethodHook {
public:
SaveTransferStash();
SaveTransferStash(DataQueue* dataQueue, HANDLE hEvent);
void EnableHook();
void DisableHook();
private:
typedef void* (__thiscall *OriginalMethodPtr)... |
MartinRohrbach/iagd | HookDll/Shared/FileUtils.h | #pragma once
#include <shared/UnicodeSupport.h>
std::tstring BrowseForFolder(HWND hWndOwner, std::tstring const& title);
std::tstring BrowseForOutputFile(HWND hWndOwner, std::tstring const& title, TCHAR* filter, std::tstring const& defaultExtension);
|
MartinRohrbach/iagd | HookDll/Hook/GetPrivateStash.h | <filename>HookDll/Hook/GetPrivateStash.h
#pragma once
#include <windows.h>
#include "DataQueue.h"
#include "BaseMethodHook.h"
/************************************************************************
Hook for the in-game "GetPrivateStash" method
Called when opening the stash
This is spammed non stop when the priva... |
MartinRohrbach/iagd | HookDll/Hook/CloudGetNumFiles.h | <gh_stars>0
#pragma once
#include <windows.h>
#include "DataQueue.h"
#include "BaseMethodHook.h"
/************************************************************************
/************************************************************************/
class CloudGetNumFiles : public BaseMethodHook {
public:
CloudGetNumFile... |
MartinRohrbach/iagd | HookDll/Shared/Mutex.h | #pragma once
class Mutex
{
HANDLE d_mutex;
public:
Mutex()
{
#if defined( _WIN32 ) && defined( _MT )
// This mutex will help the two threads share their toys.
d_mutex = CreateMutex( NULL, false, NULL );
//if( d_mutex == NULL )
// throw cError( "cMonitor::cMonitor() - Mutex creation ... |
MartinRohrbach/iagd | HookDll/Shared/stdafx.h | <gh_stars>10-100
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#define STRICT
#define _WTL_USE_CSTRING
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#define ... |
MartinRohrbach/iagd | HookDll/Shared/UnicodeSupport.h | <gh_stars>10-100
#pragma once
#include <string>
#include <sstream>
#include <tchar.h>
#include <boost/filesystem.hpp>
#include <boost/format.hpp>
namespace std {
typedef basic_string<TCHAR> tstring;
typedef basic_stringstream<TCHAR> tstringstream;
typedef basic_ostringstream<TCHAR> tostringstream;
typede... |
MartinRohrbach/iagd | HookDll/Shared/ITable.h | <reponame>MartinRohrbach/iagd<gh_stars>10-100
#ifndef ITABLE_H
#define ITABLE_H
namespace sqlite
{
struct ITable
{
virtual ~ITable() {}
virtual std::string Headers(unsigned int col) const = 0;
virtual std::string Data(unsigned int row, unsigned int col) const = 0;
virtual size... |
MartinRohrbach/iagd | HookDll/Hook/DataQueue.h | #ifndef DATAQUEUE_H
#define DATAQUEUE_H
#include <queue>
#include <boost/shared_ptr.hpp>
#include <boost/shared_array.hpp>
#include <boost/thread.hpp>
class DataItem
{
public:
DataItem(unsigned long _type, unsigned int _size, char* _data);
unsigned long type() const;
char* data() const;
unsigned int... |
MartinRohrbach/iagd | HookDll/Hook/Vec3f.h | <reponame>MartinRohrbach/iagd
#pragma once
// Definition found in Engine.dll
struct Vec3f {
// We want bytes 8-20, ignoring the first 4, keeping 4-8 as a sector Id
float unknown2, unknown, x, y, z;
};
|
kaykay38/dwm | keybindings.h | <reponame>kaykay38/dwm
/* KEY BINDINGS */
#include <X11/XF86keysym.h>
/* helper for spawning shell commands in the pre dwm-5.0 fashion */
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
/* commands */
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static ... |
ElyTgy/htopReplica_0 | include/processor.h | #ifndef PROCESSOR_H
#define PROCESSOR_H
#include "linux_parser.h"
struct ProcessorBase {
public:
float Utilization();
virtual long GetActiveJiffies()=0;
protected:
long _prevIdle=0;
long _idle=0;
long _prevActive=0;
long _active=0;
long _prevTotal=0;
long _total=0;
const float epsil... |
clegaard/metrixplusplus | src/mpp/tests/general/test_std_suppress/sources/test.c | <reponame>clegaard/metrixplusplus
/* comment here per global region
*
* metrix++: suppress std.code.length:total
* metrix++: suppress std.general:size
* metrix++: suppress std.general:size intentional duplicate
*/
/*metrix++: suppress std.code.length:total*/
int func()
{
/* comment here */
}
int func2()
{
/*m... |
brenoalef/flex_bison_compiler | symbol_table.h | <filename>symbol_table.h
struct symrec {
char *name;
int offset;
struct symrec *next;
};
typedef struct symrec symrec;
struct element {
char el_type;
int int_val;
char *string_val;
char bool_val;
};
typedef struct element element;
symrec *identifier;
symrec *sym_table = (symrec *) 0;
symr... |
brenoalef/flex_bison_compiler | stack_machine.h | <gh_stars>0
enum code_ops {
HALT, STORE, JMP_FALSE, GOTO,
DATA, LD_CONST, LD_VAR,
READ_VAL, WRITE_VAL,
LT, LEQU, EQU, GEQU, GT, NEQU,
NOT_OP, AND_OP, OR_OP,
ADD, SUB, NEG, MULT, DIV
};
char *op_name[] = {
"halt", "store", "jmp_false", "goto",
"data", "ld_const", "ld_var",
"in_val", ... |
brenoalef/flex_bison_compiler | code_generator.h | <gh_stars>0
int data_offset = 0;
void set_type(char type, int offset) {
stack[offset].el_type = type;
}
int data_location() {
return data_offset++;
}
int code_offset = 0;
int gen_label() {
return code_offset;
}
int reserve_loc() {
return code_offset++;
}
void gen_code(enum code_ops operation, elem... |
andwn/DoukutsuEdit | Preferences.h | #ifndef STAGE9_PREFERENCES_H
#define STAGE9_PREFERENCES_H
enum {
EDIT_PENCIL, EDIT_ERASER, EDIT_ENTITY
};
class Preferences {
public:
static Preferences& Instance() {
static Preferences instance;
return instance;
}
Preferences(Preferences const&) = delete;
void operator=(Preference... |
andwn/DoukutsuEdit | PXE.h | <reponame>andwn/DoukutsuEdit<gh_stars>0
#ifndef STAGE9_PXE_H
#define STAGE9_PXE_H
typedef struct {
uint16_t x, y, id, event, type, flags;
} Entity;
class PXE {
public:
PXE() {
entities = NULL;
Clear();
}
~PXE() { free(entities); }
uint16_t Size() const { return size; }
Entity G... |
andwn/DoukutsuEdit | StageWindow.h | #ifndef STAGE9_STAGEWINDOW_H
#define STAGE9_STAGEWINDOW_H
#include "pxm.h"
#include "PXE.h"
#include "History.h"
#define PXA_MAX 256
#define TSC_MAX 0x8000
typedef struct {
std::string fname;
uint32_t texture;
int tex_w, tex_h;
int frame_w, frame_h;
} NpcSprite;
extern const char *vertex_src;
extern... |
andwn/DoukutsuEdit | History.h | #ifndef STAGE9_HISTORY_H
#define STAGE9_HISTORY_H
enum {
MAP_MOD, MAP_SIZE, ENTITY_MOD, ENTITY_ADD, ENTITY_DEL
};
typedef struct {
int action;
union {
struct { uint16_t x, y, w, h, tx, ty, *old_data; } map_mod;
struct { uint16_t old_w, old_h, new_w, new_h, *old_data; } map_size;
st... |
andwn/DoukutsuEdit | pxm.h | <gh_stars>0
#pragma once
class PXM {
public:
PXM() : PXM(20, 15) {}
PXM(uint16_t _width, uint16_t _height) : width(_width), height(_height) {
tiles = (uint8_t*) calloc(width * height, 1);
}
~PXM() { free(tiles); }
uint16_t Width() const { return width; }
uint16_t Height() cons... |
gitter-badger/BoAT-X-Framework | sdk/wallet/api_ethereum.c | <reponame>gitter-badger/BoAT-X-Framework<gh_stars>1-10
/******************************************************************************
* Copyright (C) 2018-2021 aitos.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ... |
gitter-badger/BoAT-X-Framework | include/boatrlp.h | /******************************************************************************
* Copyright (C) 2018-2021 aitos.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.ap... |
gitter-badger/BoAT-X-Framework | include/boattypes.h | <reponame>gitter-badger/BoAT-X-Framework<filename>include/boattypes.h
/******************************************************************************
* Copyright (C) 2018-2021 aitos.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licen... |
gitter-badger/BoAT-X-Framework | tests/case_16_platone_cov.c | /******************************************************************************
* Copyright (C) 2018-2021 aitos.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.ap... |
gitter-badger/BoAT-X-Framework | sdk/rlp/boatrlp.c | <filename>sdk/rlp/boatrlp.c
/******************************************************************************
* Copyright (C) 2018-2020 aitos.io
*
* 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 Licens... |
gitter-badger/BoAT-X-Framework | sdk/wallet/boatwallet.c | <gh_stars>1-10
/******************************************************************************
* Copyright (C) 2018-2021 aitos.io
*
* 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
*
* ... |
gitter-badger/BoAT-X-Framework | include/boatutility.h | /******************************************************************************
* Copyright (C) 2018-2021 aitos.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.ap... |
gitter-badger/BoAT-X-Framework | sdk/rpc/curlport.h | <gh_stars>1-10
/******************************************************************************
* Copyright (C) 2018-2021 aitos.io
*
* 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
*
* ... |
gitter-badger/BoAT-X-Framework | tests/testcommon.h | /******************************************************************************
* Copyright (C) 2018-2021 aitos.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.ap... |
gitter-badger/BoAT-X-Framework | tests/case_11_eth_cov.c | /******************************************************************************
* Copyright (C) 2018-2021 aitos.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.ap... |
gitter-badger/BoAT-X-Framework | sdk/protocol/boatethereum.h | <reponame>gitter-badger/BoAT-X-Framework
/******************************************************************************
* Copyright (C) 2018-2021 aitos.io
*
* 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 ... |
gitter-badger/BoAT-X-Framework | sdk/protocol/common/web3intf.h | /******************************************************************************
* Copyright (C) 2018-2021 aitos.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.ap... |
gitter-badger/BoAT-X-Framework | tests/testmain.c | /******************************************************************************
* Copyright (C) 2018-2021 aitos.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.ap... |
gitter-badger/BoAT-X-Framework | hwdep/default/rng/randgenerator.c | <reponame>gitter-badger/BoAT-X-Framework
/******************************************************************************
* Copyright (C) 2018-2020 aitos.io
*
* 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 ... |
gitter-badger/BoAT-X-Framework | tests/case_20_rlp.c | <filename>tests/case_20_rlp.c
/******************************************************************************
* Copyright (C) 2018-2021 aitos.io
*
* 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 Lice... |
gitter-badger/BoAT-X-Framework | include/boatoptions.h | <gh_stars>1-10
/******************************************************************************
* Copyright (C) 2018-2021 aitos.io
*
* 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
*
* ... |
gitter-badger/BoAT-X-Framework | include/boatwallet.h | <gh_stars>1-10
/******************************************************************************
* Copyright (C) 2018-2021 aitos.io
*
* 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
*
* ... |
gitter-badger/BoAT-X-Framework | sdk/rpc/rpcintf.h | /******************************************************************************
* Copyright (C) 2018-2020 aitos.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.ap... |
gitter-badger/BoAT-X-Framework | include/protocolapi/api_platone.h | <reponame>gitter-badger/BoAT-X-Framework
/******************************************************************************
* Copyright (C) 2018-2021 aitos.io
*
* 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 ... |
gitter-badger/BoAT-X-Framework | sdk/wallet/api_platone.c | <filename>sdk/wallet/api_platone.c
/******************************************************************************
* Copyright (C) 2018-2021 aitos.io
*
* 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... |
gitter-badger/BoAT-X-Framework | sdk/rpc/curlport.c | /******************************************************************************
* Copyright (C) 2018-2021 aitos.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.ap... |
gitter-badger/BoAT-X-Framework | tests/case_15_platone_fun.c | /******************************************************************************
* Copyright (C) 2018-2021 aitos.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.ap... |
gitter-badger/BoAT-X-Framework | include/boaterrcode.h | <gh_stars>1-10
/******************************************************************************
* Copyright (C) 2018-2021 aitos.io
*
* 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
*
* ... |
gitter-badger/BoAT-X-Framework | tests/case_10_eth_fun.c | <reponame>gitter-badger/BoAT-X-Framework
/******************************************************************************
* Copyright (C) 2018-2021 aitos.io
*
* 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 ... |
gitter-badger/BoAT-X-Framework | sdk/protocol/boatprotocols.h | <filename>sdk/protocol/boatprotocols.h<gh_stars>1-10
/******************************************************************************
* Copyright (C) 2018-2021 aitos.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... |
gitter-badger/BoAT-X-Framework | hwdep/default/storage/persiststore.h | <gh_stars>1-10
/******************************************************************************
* Copyright (C) 2018-2020 aitos.io
*
* 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
*
* ... |
gitter-badger/BoAT-X-Framework | hwdep/default/storage/persiststore.c | /******************************************************************************
* Copyright (C) 2018-2020 aitos.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.ap... |
uluyol/gotools | latencybench/main_linux.c | #include <fcntl.h>
#include <linux/fs.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/ioctl.h>
#include <unistd.h>
char __latencybench_readbuf[4096] __attribute__ ((aligned(4096)));
size_t reqbufalign(char *devpath) {
size_t align;
int fd = open(devpath, 0);
if (fd == -1) {
perror("unable to open device"... |
uluyol/gotools | latencybench/main_unix.c | <reponame>uluyol/gotools
#include <stdlib.h>
char __latencybench_readbuf[4096];
size_t reqbufalign(char *devpath) {
return 0;
}
unsigned long bufalign() {
return __alignof__(__latencybench_readbuf);
}
|
uluyol/gotools | humannum/main.c | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(const int argc, char **argv) {
char prettybuf[1024];
char *num = NULL;
char *pretty = prettybuf;
ssize_t i = 0;
ssize_t numlen = 0;
int nz = 0;
if (argc != 2) {
fprintf(stderr, "humannum number\n");
return 1;
}
num = argv[1... |
uluyol/gotools | latencybench/main.c | #include "platforms.h"
#include <fcntl.h>
#include <inttypes.h>
#include <unistd.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
static char *workpath = "latencybench.data.bin";
void usage() {
fprintf(stderr, "usage: latencybench fsize nops devpath\n");
fprintf(... |
uluyol/gotools | latencybench/platforms.h | <reponame>uluyol/gotools<filename>latencybench/platforms.h<gh_stars>1-10
#ifdef __linux__
#define IS_ACCURATE true
#define _GNU_SOURCE
#else
#define IS_ACCURATE false
#define O_DIRECT 0
#endif
#include <stdlib.h>
extern char __latencybench_readbuf[4096];
int reqbufalign(char *devpath);
unsigned long bufalign();
|
uluyol/gotools | runbg/runbg.c | <filename>runbg/runbg.c
#include <fcntl.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/resource.h>
#include <sys/time.h>
#include <unistd.h>
void usage(void) {
fprintf(stderr, "usage: runbg [-l logpath] -- command args...\n");
fprintf(stderr,
" -l logpath path to log std... |
SanctaMaria1997/mprof | args.h | <gh_stars>0
/*
BSD 2-Clause License
Copyright (c) 2019, SanctaMaria1997
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
... |
SanctaMaria1997/mprof | hamster.c | #include <stdio.h>
#include <stdlib.h>
void hamster()
{
void *p;
puts("Hi from hamster!");
p = malloc(111);
}
|
SanctaMaria1997/mprof | libmprof.c | <filename>libmprof.c
/*
BSD 2-Clause License
Copyright (c) 2019, SanctaMaria1997
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice... |
SanctaMaria1997/mprof | elf_util.c | /*
BSD 2-Clause License
Copyright (c) 2019, SanctaMaria1997
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of cond... |
SanctaMaria1997/mprof | dugong.c | #include <stdio.h>
#include <stdlib.h>
void dugong()
{
void *p;
p = malloc(123);
puts("Hi from dugong!");
p = malloc(321);
}
|
SanctaMaria1997/mprof | dwarfy.c | /*
BSD 2-Clause License
Copyright (c) 2019, SanctaMaria1997
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of cond... |
SanctaMaria1997/mprof | mprof_util.c | <gh_stars>0
/*
BSD 2-Clause License
Copyright (c) 2019, SanctaMaria1997
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
... |
SanctaMaria1997/mprof | libmprof.h | /*
BSD 2-Clause License
Copyright (c) 2019, SanctaMaria1997
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of cond... |
SanctaMaria1997/mprof | test.c | <gh_stars>0
#include <stdlib.h>
#include <stdio.h>
void indirect_leak1(int n);
void indirect_leak2(int n);
void actual_leak(int n);
void a_5019()
{
malloc(5019);
}
int main(int argc,char **argv)
{
a_5019();
for(int k = 0; k < 5; k++)
malloc(10);
for(int k = 0; k < 20; k++)
malloc(40);
for(int k = 0; k <... |
SanctaMaria1997/mprof | args.c | <reponame>SanctaMaria1997/mprof<filename>args.c
/*
BSD 2-Clause License
Copyright (c) 2019, SanctaMaria1997
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain... |
SanctaMaria1997/mprof | mprof.c | /*
BSD 2-Clause License
Copyright (c) 2019, SanctaMaria1997
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of cond... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.