repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
valkyrienyanko/game-engine | Game Engine/src/graphics/buffers/indexbuffer.h | #pragma once
#include <GL/glew.h>
#include "../renderer.h"
namespace valk {
namespace graphics {
class IndexBuffer
{
private:
GLuint m_BufferID;
GLuint m_Count;
public:
IndexBuffer(GLushort* data, GLsizei count);
~IndexBuffer();
void bind() const;
void unbind() const;
inline GLuint ge... |
valkyrienyanko/game-engine | Game Engine/src/graphics/window.h | #pragma once
#include "renderer.h"
#include <GLFW/glfw3.h>
#include <iostream>
namespace valk {
namespace graphics {
constexpr int MAX_KEYS = 1024;
constexpr int MAX_BUTTONS = 32;
class Window
{
private:
const char* m_Title;
int m_Width, m_Height;
GLFWwindow *m_Window;
bool m_Closed;
bool ... |
valkyrienyanko/game-engine | Game Engine/src/utils/fileutils.h | #pragma once
#include <string>
#include <fstream>
namespace valk {
class FileUtils
{
public:
static std::string read_file(const std::string& filepath) {
std::ifstream ifs((filepath).c_str());
std::string content(
std::istreambuf_iterator<char>(ifs.rdbuf()),
std::istreambuf_iterator<char>()
);
... |
valkyrienyanko/game-engine | Game Engine/src/maths/maths_func.h | <filename>Game Engine/src/maths/maths_func.h
#pragma once
#pragma warning (disable : 4244) // Possible loss of data conversion from double to float
#define _USE_MATH_DEFINES
#include <math.h>
namespace valk {
namespace maths {
inline float toRadians(float degrees)
{
return degrees * (M_PI / 180.0f);
}
}
}
|
valkyrienyanko/game-engine | Game Engine/src/graphics/renderable2d.h | #pragma once
#include "buffers\buffer.h"
#include "buffers\indexbuffer.h"
#include "buffers\vertexarray.h"
#include "..\maths\maths.h"
#include "shader.h"
namespace valk {
namespace graphics {
class Renderable2D
{
protected:
maths::vec3 m_Position;
maths::vec2 m_Size;
maths::vec4 m_Color;
Vertex... |
Dez1J/dwmblocks | plugin/battery_plus.c | <reponame>Dez1J/dwmblocks<gh_stars>0
#include <X11/Xlib.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <signal.h>
#include <limits.h>
#define PDN
#define PUP
#define LENGTH(X) (sizeof X / sizeof ... |
Dez1J/dwmblocks | plugin/alsa_vol.c | <filename>plugin/alsa_vol.c<gh_stars>0
/* include this into your dwmstatus.c and use get_vol() as volume.
* * if your audio card and subunit numbers differ from 0,0 you might havo
* * to use amixer, aplay and the /proc/asound file tree to adapt.
* *
* * I had compilation issues. As result i had to drop th... |
Dez1J/dwmblocks | plugin/pulsea_vol.c | <filename>plugin/pulsea_vol.c
/**
* Author: <NAME>
* License: Public Domain
*
* Description:
* This is a simple test program to hook into PulseAudio volume change
* notifications. It was created for the possibility of having an automatically
* updating volume widget in a tiling window manager status bar.
*
* C... |
Dez1J/dwmblocks | plugin/mpdstatus.c | <reponame>Dez1J/dwmblocks
// gcc -o mpdstatus mpdstatus.c -lmpdclient
#include <mpd/client.h>
#include <mpd/status.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
void cut(char *sub, const char *, int n1, char *es);
char *smprintf(char *fmt, ...) {
va_list fmtargs;
char *ret;
... |
Dez1J/dwmblocks | plugin/load_avg.c | <filename>plugin/load_avg.c
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
int pscanf(const char *path, const char *fmt, ...) {
FILE *fp;
va_list ap;
int n;
if (!(fp = fopen(path, "r"))) {
// warn("fopen '%s':", path);
return -1;
}
va_start(ap, ... |
Dez1J/dwmblocks | blocks.h | <reponame>Dez1J/dwmblocks
//Modify this file to change what commands output to your statusbar, and recompile using the make command.
static const Block blocks[] = {
/*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
// {"", "/home/jiang/Suckless_J/mpdstatus/mpdstatu... |
Dez1J/dwmblocks | plugin/nettraf.c | #include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
static unsigned long long int rec, sent;
//char *
//smprintf(char *fmt, ...)
//{
// va_list fmtargs;
// char *ret;
// int len;
//
// va_start(fmtargs, fmt);
// len = vsnprintf(NULL, 0, fmt, fmtargs);
// va_end(fmtargs);
... |
keichi/tiny-lldpd | src/lldp.h | <filename>src/lldp.h
#ifndef __LLDP_H__
#define __LLDP_H__
enum TLVType
{
TLV_END = 0,
TLV_CHASSIS_ID,
TLV_PORT_ID,
TLV_TTL,
TLV_PORT_DESCRIPTION,
TLV_SYSTEM_NAME,
TLV_SYSTEM_DESCRIPTION,
TLV_SYSTEM_CAPABILITIES,
TLV_MANAGEMENT_ADDRESS,
TLV_ORGANIZATION_SPECIFIC = 127
};
enum C... |
keichi/tiny-lldpd | src/main.c | #include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <syslog.h>
#include <unistd.h>
#include <signal.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netpacket/packet.h>
#include <net/ethernet.h>
#include "lldp.h"
#include "ether_utils.h"
#include "tlv_writer.h"
#define PID_FILE_PATH ... |
keichi/tiny-lldpd | src/tlv_writer.c | <gh_stars>1-10
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/utsname.h>
#include <net/ethernet.h>
#include <netinet/in.h>
#include <netpacket/packet.h>
#include "lldp.h"
#include "tlv_writer.h"
int write_ethernet_header(void *buffer, const char *src_address, const char *dst_address, int pro... |
keichi/tiny-lldpd | src/ether_utils.c | #include <stdint.h>
#include <string.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <net/ethernet.h>
#include <netinet/in.h>
#include "ether_utils.h"
int get_if_index(const char *if_name, int sock, int *index)
{
struct ifreq ifr;
memset(&ifr, 0, sizeof(struct ifreq));
strcpy(if... |
keichi/tiny-lldpd | src/tlv_writer.h | #ifndef __TLV_WRITER_H__
#define __TLV_WRITER_H__
#define HOST_NAME_LENGTH (255)
#define LLDP_DEFAULT_TTL (120)
int write_ethernet_header(void *buffer, const char *src_address, const char *dst_address, int protocol_type);
int write_system_name_tlv(void *buffer);
int write_system_description_tlv(void *buffer);
i... |
keichi/tiny-lldpd | src/lldp.c | <filename>src/lldp.c<gh_stars>1-10
#include <stdint.h>
#include <string.h>
#include <netinet/in.h>
#include "lldp.h"
int write_lldp_tlv_header(void *buffer, int type, int length)
{
*((uint16_t *)buffer) = htons((type & 0x7f) << 9 | (length & 0x1ff));
return 2;
}
int write_lldp_tlv(void *buffer, int type, in... |
keichi/tiny-lldpd | src/ether_utils.h | #ifndef __ETHER_UTILS_H__
#define __ETHER_UTILS_H__
#include <stdint.h>
int get_if_index(const char *if_name, int sock, int *index);
int get_if_mac_addres(const char *if_name, int sock, char *mac_address);
int get_if_ip_addres(const char *if_name, int sock, int *ip_address);
int get_all_ifs(int sock, char (*if_names)... |
baifendian/eyeofgod_app | Thehandofgod/Thehandofgod/controllers/DetailViewController.h | //
// DetailViewController.h
// Thehandofgod
//
// Created by linde on 16/7/8.
// Copyright © 2016年 linde. All rights reserved.
//
#import "BaseViewController.h"
@interface DetailViewController : BaseViewController
@end
|
baifendian/eyeofgod_app | Thehandofgod/Thehandofgod/controllers/SettingViewController.h | //
// SettingViewController.h
// Thehandofgod
//
// Created by linde on 16/7/8.
// Copyright © 2016年 linde. All rights reserved.
//
#import "BaseViewController.h"
@interface SettingViewController : BaseViewController
@end
|
baifendian/eyeofgod_app | Thehandofgod/Thehandofgod/controllers/MainViewController.h | <filename>Thehandofgod/Thehandofgod/controllers/MainViewController.h
//
// MainViewController.h
// Thehandofgod
//
// Created by linde on 16/7/7.
// Copyright © 2016年 linde. All rights reserved.
//
#import "BaseViewController.h"
@interface MainViewController : BaseViewController
@end
|
baifendian/eyeofgod_app | Thehandofgod/Thehandofgod/BaseViewController.h | <filename>Thehandofgod/Thehandofgod/BaseViewController.h
//
// ViewController.h
// Thehandofgod
//
// Created by linde on 16/7/7.
// Copyright © 2016年 linde. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface BaseViewController : UIViewController
@property(strong,nonatomic) NSString * baseUrl;
@propert... |
baifendian/eyeofgod_app | Thehandofgod/net/BFDMarsURLConnection.h | <filename>Thehandofgod/net/BFDMarsURLConnection.h
//
// BFDMarsURLConnection.h
// mars
//
// Created by linde on 16/6/14.
// Copyright © 2016年 linde. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface BFDMarsURLConnection : NSURLConnection<NSURLConnectionDelegate>
+(void)BFDURL_POSTRequestWithUr... |
baifendian/eyeofgod_app | Thehandofgod/Thehandofgod/GtSdkLib/GeTuiSdk.h | <reponame>baifendian/eyeofgod_app<gh_stars>0
//
// GeTuiSdk.h
// GeTuiSdk
//
// Created by gexin on 15-5-5.
// Copyright (c) 2015年 Gexin Interactive (Beijing) Network Technology Co.,LTD. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef enum {
SdkStatusStarting, // 正在启动
SdkStatusStarted, ... |
alex-alex/CinemaCity | CinemaCity/FieldCell.h | <filename>CinemaCity/FieldCell.h
//
// FieldCell.h
// CinemaCity
//
// Created by <NAME> on 16/04/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef enum {
FieldCellTypeUsername,
FieldCellTypePassword,
FieldCellTypeOther
} FieldCellType;
@protocol FieldCellDelegate;
@in... |
alex-alex/CinemaCity | CinemaCity/HistoryCell.h | <reponame>alex-alex/CinemaCity<gh_stars>1-10
//
// HistoryCell.h
// CinemaCity
//
// Created by <NAME> on 31/03/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface HistoryCell : UITableViewCell {
__weak IBOutlet UILabel *_dateLabel;
__weak IBOutlet UILabel *_placeLabel... |
alex-alex/CinemaCity | CinemaCity/MovieDetailPosterCell.h | //
// MovieDetailPosterCell.h
// CinemaCity
//
// Created by <NAME> on 27/03/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface MovieDetailPosterCell : UITableViewCell {
__weak IBOutlet UIImageView *_imageView;
__weak IBOutlet UIButton *_trailerButton;
}
@property (non... |
alex-alex/CinemaCity | Extensions/RMDateSelectionViewController/RMDateSelectionViewController.h | //
// RMDateSelectionViewController.h
// RMDateSelectionViewController
//
// Created by <NAME> on 26.10.13.
// Copyright (c) 2013-2015 <NAME>
//
// 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 t... |
alex-alex/CinemaCity | CinemaCity/MovieDetailViewController.h | //
// MovieDetailViewController.h
// CinemaCity
//
// Created by <NAME> on 27/03/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface MovieDetailViewController : UITableViewController
@property (nonatomic, strong) NSString *featureCode;
@end
|
alex-alex/CinemaCity | CinemaCity/Utilities.h | //
// Utilities.h
// CinemaCity
//
// Created by <NAME> on 27/03/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <Foundation/Foundation.h>
#define NSNullIfNil(_obj) _obj == nil ? (id)[NSNull null] : _obj
#define EmptyStringIfNil(_obj) _obj == nil ? (id)@"" : _obj
@interface Utilities : NSObject... |
alex-alex/CinemaCity | CinemaCity/SeatButton.h | <reponame>alex-alex/CinemaCity
//
// SeatButton.h
// CinemaCity
//
// Created by <NAME> on 29/03/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
#define UIControlStateChoosed 1 << 16
@interface SeatButton : UIButton
@property (nonatomic) int status;
@property (nonatomic, strong... |
alex-alex/CinemaCity | CinemaCity/TicketRequest.h | //
// TicketRequest.h
// CinemaCity
//
// Created by <NAME> on 29/03/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface TicketRequest : NSObject
@end
|
alex-alex/CinemaCity | CinemaCity/MainTabBarViewController.h | <gh_stars>1-10
//
// MainTabBarViewController.h
// CinemaCity
//
// Created by <NAME> on 27/03/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface MainTabBarViewController : UITabBarController
@end
|
alex-alex/CinemaCity | CinemaCity/ReservationTypeViewController.h | <reponame>alex-alex/CinemaCity
//
// ReservationTypeViewController.h
// CinemaCity
//
// Created by <NAME> on 29/03/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ReservationTypeViewController : UIViewController {
__weak IBOutlet UIButton *_reservationButton;
__we... |
alex-alex/CinemaCity | CinemaCity/HistoryViewController.h | <gh_stars>1-10
//
// HistoryViewController.h
// CinemaCity
//
// Created by <NAME> on 31/03/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface HistoryViewController : UITableViewController
@end
|
alex-alex/CinemaCity | CinemaCity/ClubViewController.h | <filename>CinemaCity/ClubViewController.h<gh_stars>1-10
//
// ClubViewController.h
// CinemaCity
//
// Created by <NAME> on 31/03/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "FieldCell.h"
@interface ClubViewController : UITableViewController <FieldCellDelegate>
@end
|
alex-alex/CinemaCity | Extensions/FontAwesomeKit/FAKFontAwesome.h | #import "FAKIcon.h"
@interface FAKFontAwesome : FAKIcon
// Generated Code
+ (instancetype)glassIconWithSize:(CGFloat)size;
+ (instancetype)musicIconWithSize:(CGFloat)size;
+ (instancetype)searchIconWithSize:(CGFloat)size;
+ (instancetype)envelopeOIconWithSize:(CGFloat)size;
+ (instancetype)heartIconWithSize:(CGFloat)... |
alex-alex/CinemaCity | Extensions/XCDYouTubeVideoPlayerViewController/XCDYouTubeVideoPlayerViewController.h | <filename>Extensions/XCDYouTubeVideoPlayerViewController/XCDYouTubeVideoPlayerViewController.h
//
// XCDYouTubeVideoPlayerViewController.h
// XCDYouTubeVideoPlayerViewController
//
// Created by <NAME> on 02.05.13.
// Copyright (c) 2013 <NAME>. All rights reserved.
//
#import <MediaPlayer/MediaPlayer.h>
typedef N... |
alex-alex/CinemaCity | CinemaCity/TicketsViewController.h | //
// TicketsViewController.h
// CinemaCity
//
// Created by <NAME> on 30/03/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "TicketCell.h"
@interface TicketsViewController : UITableViewController <TicketCellDelegate>
@property (nonatomic, strong) NSURL *ticketURL;
- (I... |
alex-alex/CinemaCity | CinemaCity/MovieCell.h | <gh_stars>1-10
//
// MovieCell.h
// CinemaCity
//
// Created by <NAME> on 27/03/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface MovieCell : UICollectionViewCell {
__weak IBOutlet UIImageView *_imageView;
__weak IBOutlet UILabel *_titleLabel;
}
@property (nonatom... |
alex-alex/CinemaCity | CinemaCity/Presentations.h | <gh_stars>1-10
//
// Presentations.h
// CinemaCity
//
// Created by <NAME> on 29/03/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface Presentations : NSObject
+ (instancetype)presentationsWithDictionary:(NSDictionary *)dictionary;
- (instancetype)initWithDicti... |
alex-alex/CinemaCity | CinemaCity/TicketCell.h | //
// TicketCell.h
// CinemaCity
//
// Created by <NAME> on 30/03/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol TicketCellDelegate;
@interface TicketCell : UITableViewCell {
__weak IBOutlet UILabel *_nameLabel;
__weak IBOutlet UILabel *_priceLabel;
__weak IBOutl... |
alex-alex/CinemaCity | CinemaCity/LicenceViewController.h | <filename>CinemaCity/LicenceViewController.h
//
// LicenceViewController.h
// CinemaCity
//
// Created by <NAME> on 30/03/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface LicenceViewController : UIViewController {
__weak IBOutlet UITextView *_textField;
}
@propert... |
alex-alex/CinemaCity | CinemaCity/ReservationInputViewController.h | <gh_stars>1-10
//
// ReservationInputViewController.h
// CinemaCity
//
// Created by <NAME> on 29/03/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ReservationInputViewController : UITableViewController
@property (nonatomic, strong) NSString *cinemaID;
@property (non... |
alex-alex/CinemaCity | CinemaCity/SeatChooserViewController.h | <reponame>alex-alex/CinemaCity
//
// SeatChooserViewController.h
// CinemaCity
//
// Created by <NAME> on 29/03/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface SeatChooserViewController : UIViewController <UIScrollViewDelegate> {
__weak IBOutlet UIScrollView *_scrollV... |
alex-alex/CinemaCity | CinemaCity/ScheduleCell.h | <gh_stars>1-10
//
// ScheduleCell.h
// CinemaCity
//
// Created by <NAME> on 27/03/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "TintColorSelectionCell.h"
@interface ScheduleCell : TintColorSelectionCell {
__weak IBOutlet UILabel *_nameLabel;
__weak IBOutlet UILabe... |
alex-alex/CinemaCity | CinemaCity/API.h | //
// API.h
// CinemaCity
//
// Created by <NAME> on 27/03/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "Presentations.h"
@interface API : NSObject
@property (nonatomic, readonly) NSOperationQueue *networkQueue;
@property (nonatomic, readonly) NSDateFormatte... |
alex-alex/CinemaCity | CinemaCity/TintColorSelectionCell.h | <filename>CinemaCity/TintColorSelectionCell.h
//
// TintColorSelectionCell.h
// CinemaCity
//
// Created by <NAME> on 31/03/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface TintColorSelectionCell : UITableViewCell
@end
|
alex-alex/CinemaCity | CinemaCity/ScheduleViewController.h | //
// ScheduleViewController.h
// CinemaCity
//
// Created by <NAME> on 27/03/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "RMDateSelectionViewController.h"
#import "RMPickerViewController.h"
@interface ScheduleViewController : UITableViewController <UIPickerViewDataSo... |
alex-alex/CinemaCity | CinemaCity/OrderViewController.h | //
// OrderViewController.h
// CinemaCity
//
// Created by <NAME> on 31/03/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface OrderViewController : UIViewController <UITextFieldDelegate> {
__weak IBOutlet UIScrollView *_scrollView;
__weak IBOutlet UITextField *_name... |
alex-alex/CinemaCity | CinemaCity/MoviesViewController.h | <reponame>alex-alex/CinemaCity
//
// MoviesViewController.h
// CinemaCity
//
// Created by <NAME> on 27/03/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "RMPickerViewController.h"
@interface MoviesViewController : UICollectionViewController <UIPickerViewDataSource, UIPi... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | ThirdParty/breadwallet-core/ethereum/les/BREthereumMessage.h | //
// BREthereumMessage.h
// Core
//
// Created by <NAME> on 8/13/18.
// Copyright © 2018 Breadwinner AG. All rights reserved.
//
// See the LICENSE file at the project root for license information.
// See the CONTRIBUTORS file at the project root for a list of contributors.
#ifndef BR_Ethereum_Message_H
#defin... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | SDK/Database/UTXOStore.h | /*
* Copyright (c) 2019 Elastos Foundation
*
* 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 use, copy, modify, merge, ... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | ThirdParty/breadwallet-core/ethereum/blockchain/BREthereumBlockChain.h | <reponame>fakecoinbase/elastosslashElastos.ELA.SPV.Cpp<filename>ThirdParty/breadwallet-core/ethereum/blockchain/BREthereumBlockChain.h
//
// BREthereumBlockChain.h
// BRCore
//
// Created by <NAME> on 5/17/18.
// Copyright © 2018 Breadwinner AG. All rights reserved.
//
// See the LICENSE file at the project root ... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | ThirdParty/breadwallet-core/ethereum/event/BREventAlarm.c | //
// BREventAlarm.c
// BRCore
//
// Created by <NAME> on 5/7/18.
// Copyright © 2018 Breadwinner AG. All rights reserved.
//
// See the LICENSE file at the project root for license information.
// See the CONTRIBUTORS file at the project root for a list of contributors.
//
#include <string.h>
#include <limits.... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | SDK/WalletCore/Mnemonic.h | <gh_stars>10-100
// Copyright (c) 2012-2018 The Elastos Open Source Project
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef __ELASTOS_SDK_MNEMONICS_H__
#define __ELASTOS_SDK_MNEMONICS_H__
#include <Common/uint256.h>
#i... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | ThirdParty/breadwallet-core/ethereum/les/BREthereumLESRandom.c | <filename>ThirdParty/breadwallet-core/ethereum/les/BREthereumLESRandom.c
//
// BREthereumRandom.c
// breadwallet
//
// Created by <NAME> on 4/24/18.
// Copyright © 2018 Breadwinner AG. All rights reserved.
//
// See the LICENSE file at the project root for license information.
// See the CONTRIBUTORS file at the... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | SDK/Ethereum/EthereumTransfer.h | /*
* EthereumTransaction
*
* Created by <NAME> <<EMAIL>> on 3/20/18.
* Copyright (c) 2018 Breadwinner AG. All right reserved.
* Copyright (c) 2020 Elastos Foundation
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | ThirdParty/breadwallet-core/ethereum/base/BREthereumBase.h | //
// BREthereumBase
// breadwallet-core Ethereum
//
// Created by <NAME> on 3/22/18.
// Copyright © 2018 Breadwinner AG. All rights reserved.
//
// See the LICENSE file at the project root for license information.
// See the CONTRIBUTORS file at the project root for a list of contributors.
#ifndef BR_Ethereum_... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | ThirdParty/breadwallet-core/ethereum/ewm/BREthereumBase.h | //
// BREthereumBase.h
// BRCore
//
// Created by <NAME> on 11/19/18.
// Copyright © 2018 Breadwinner AG. All rights reserved.
//
#ifndef BREthereumBase_h
#define BREthereumBase_h
#include "ethereum/base/BREthereumBase.h"
/**
* An Ethereum Account holds the public key data associated with a User's 'BIP-39 Pape... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | ThirdParty/breadwallet-core/ethereum/les/BREthereumProvision.c | //
// BREthereumProvision.c
// Core
//
// Created by <NAME> on 9/4/18.
// Copyright © 2018 Breadwinner AG. All rights reserved.
//
// See the LICENSE file at the project root for license information.
// See the CONTRIBUTORS file at the project root for a list of contributors.
#include "support/BRAssert.h"
#incl... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | SDK/Common/ElementSet.h | /*
* Copyright (c) 2019 Elastos Foundation
*
* 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 use, copy, modify, merge, ... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | SDK/SpvService/SpvService.h | <reponame>fakecoinbase/elastosslashElastos.ELA.SPV.Cpp
// Copyright (c) 2012-2018 The Elastos Open Source Project
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef __ELASTOS_SDK_SPVSERVICE_H__
#define __ELASTOS_SDK_SPVSERV... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | SDK/Plugin/Interface/ELAMessageSerializable.h | // Copyright (c) 2012-2018 The Elastos Open Source Project
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef __ELASTOS_SDK_ELAMESSAGESERIALIZABLE_H__
#define __ELASTOS_SDK_ELAMESSAGESERIALIZABLE_H__
#include <Common/ByteS... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | SDK/Plugin/Transaction/IDTransaction.h | // Copyright (c) 2012-2019 The Elastos Open Source Project
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef __ELASTOS_SDK_IDTRANSACTION_H__
#define __ELASTOS_SDK_IDTRANSACTION_H__
#include "Transaction.h"
namespace Elas... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | Interface/ISubWalletCallback.h | /*
* Copyright (c) 2019 Elastos Foundation
*
* 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 use, copy, modify, merge, ... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | SDK/Database/AssetDataStore.h | <filename>SDK/Database/AssetDataStore.h
/*
* Copyright (c) 2019 Elastos Foundation
*
* 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... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | Test/TestHelper.h | <reponame>fakecoinbase/elastosslashElastos.ELA.SPV.Cpp<filename>Test/TestHelper.h
// Copyright (c) 2012-2018 The Elastos Open Source Project
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef __ELASTOS_SDK_TESTHELPER_H__
#d... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | SDK/SpvService/TestNetConfig.h | <gh_stars>10-100
// Copyright (c) 2012-2019 The Elastos Open Source Project
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef __ELASTOS_SDK_TESTNET_H__
#define __ELASTOS_SDK_TESTNET_H__
namespace Elastos {
namespace ElaW... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | SDK/SpvService/PrvNetConfig.h | <gh_stars>10-100
// Copyright (c) 2012-2019 The Elastos Open Source Project
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef __ELASTOS_SDK_PRVNET_H__
#define __ELASTOS_SDK_PRVNET_H__
namespace Elastos {
namespace ElaWal... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | ThirdParty/breadwallet-core/ethereum/rlp/testRlp.c | //
// testRlp.c
// CoreTests
//
// Created by <NAME> on 7/23/18.
// Copyright © 2018 Breadwinner AG. All rights reserved.
//
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include "ethereum/util/BRUtil.h"
#include "BRRlp.h"
static void
showHex (uint8_t *source, size_t sourceLen) ... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | SDK/Database/PeerBlackList.h | <reponame>fakecoinbase/elastosslashElastos.ELA.SPV.Cpp
/*
* Copyright (c) 2019 Elastos Foundation
*
* 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... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | SDK/Implement/MainchainSubWallet.h | <filename>SDK/Implement/MainchainSubWallet.h
/*
* Copyright (c) 2019 Elastos Foundation
*
* 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 limitatio... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | ThirdParty/breadwallet-core/ethereum/les/msg/BREthereumMessagePIP.h | //
// BREthereumMessagePIP.h
// BRCore
//
// Created by <NAME> on 9/1/18.
// Copyright © 2018 Breadwinner AG. All rights reserved.
//
// See the LICENSE file at the project root for license information.
// See the CONTRIBUTORS file at the project root for a list of contributors.
#ifndef BR_Ethereum_Message_PIP_... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | ThirdParty/breadwallet-core/ethereum/blockchain/BREthereumBloomFilter.h | //
// BREthereumBloomFilter.h
// BRCore
//
// Created by <NAME> on 5/10/18.
// Copyright © 2018 Breadwinner AG. All rights reserved.
//
// See the LICENSE file at the project root for license information.
// See the CONTRIBUTORS file at the project root for a list of contributors.
#ifndef BR_Ethereum_Bloom_Filt... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | SDK/Plugin/Transaction/Payload/CRCProposalWithdraw.h | <filename>SDK/Plugin/Transaction/Payload/CRCProposalWithdraw.h
/*
* Copyright (c) 2020 Elastos Foundation
*
* 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... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | SDK/Database/TableBase.h | /*
* Copyright (c) 2019 Elastos Foundation
*
* 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 use, copy, modify, merge, ... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | SDK/Common/JsonGenerator.h | <reponame>fakecoinbase/elastosslashElastos.ELA.SPV.Cpp
/*
* Copyright (c) 2019 Elastos Foundation
*
* 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... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | ThirdParty/breadwallet-core/support/BRFileService.c | <reponame>fakecoinbase/elastosslashElastos.ELA.SPV.Cpp
//
// BRFileService.c
// Core
//
// Created by <NAME> on 1/4/19.
// Copyright © 2019 breadwallet LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | ThirdParty/breadwallet-core/ethereum/bcs/BREthereumBlockChainSlice.h | //
// BREthereumBlockChainSlice.h
// BRCore
//
// Created by <NAME> on 5/24/18.
// Copyright © 2018 Breadwinner AG. All rights reserved.
//
// See the LICENSE file at the project root for license information.
// See the CONTRIBUTORS file at the project root for a list of contributors.
#ifndef BR_Ethereum_BlockC... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | ThirdParty/breadwallet-core/ethereum/test.c |
//
// test
// breadwallet-core Ethereum
//
// Created by <NAME> on 2/27/18.
// Copyright © 2018 Breadwinner AG. All rights reserved.
//
// See the LICENSE file at the project root for license information.
// See the CONTRIBUTORS file at the project root for a list of contributors.
#include <stdio.h>
#include <... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | SDK/Plugin/Transaction/TransactionOutput.h | // Copyright (c) 2012-2018 The Elastos Open Source Project
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef __ELASTOS_SDK_TRANSACTIONOUTPUT_H__
#define __ELASTOS_SDK_TRANSACTIONOUTPUT_H__
#include <Plugin/Interface/ELAMe... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | ThirdParty/breadwallet-core/ethereum/blockchain/BREthereumTransactionStatus.h | //
// BREthereumTransactionStatus.h
// BRCore
//
// Created by <NAME> on 5/15/18.
// Copyright © 2018 Breadwinner AG. All rights reserved.
//
// See the LICENSE file at the project root for license information.
// See the CONTRIBUTORS file at the project root for a list of contributors.
#ifndef BR_Ethereum_Tran... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | ThirdParty/breadwallet-core/ethereum/BREthereum.h | //
// BREthereum
// breadwallet-core Ethereum
//
// Created by <NAME> on 2/24/18.
// Copyright © 2018 Breadwinner AG. All rights reserved.
//
// See the LICENSE file at the project root for license information.
// See the CONTRIBUTORS file at the project root for a list of contributors.
#ifndef BR_Ethereum_H
#d... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | SDK/Plugin/Transaction/Payload/RechargeToSideChain.h | <gh_stars>10-100
// Copyright (c) 2012-2018 The Elastos Open Source Project
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef __ELASTOS_SDK_RECHARGETOSIDECHAIN_H
#define __ELASTOS_SDK_RECHARGETOSIDECHAIN_H
#include <Commo... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | ThirdParty/breadwallet-core/ethereum/ewm/BREthereumTransfer.c | //
// BREthereumTransfer.c
// Core
//
// Created by <NAME> on 7/9/18.
// Copyright © 2018 Breadwinner AG. All rights reserved.
//
// See the LICENSE file at the project root for license information.
// See the CONTRIBUTORS file at the project root for a list of contributors.
#include <string.h>
#include <assert... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | SDK/Plugin/Transaction/TransactionInput.h | <reponame>fakecoinbase/elastosslashElastos.ELA.SPV.Cpp
// Copyright (c) 2012-2018 The Elastos Open Source Project
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef __ELASTOS_SDK_TRANSACTIONINPUT_H__
#define __ELASTOS_SDK_T... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | SDK/Plugin/Transaction/Payload/CRCProposal.h | /*
* Copyright (c) 2019 Elastos Foundation
*
* 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 use, copy, modify, merge, ... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | Interface/IIDChainSubWallet.h | /*
* Copyright (c) 2019 Elastos Foundation
*
* 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 use, copy, modify, merge, ... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | SDK/Implement/IDChainSubWallet.h | <filename>SDK/Implement/IDChainSubWallet.h<gh_stars>0
/*
* Copyright (c) 2019 Elastos Foundation
*
* 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 ... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | SDK/Database/PeerDataSource.h | <filename>SDK/Database/PeerDataSource.h
/*
* Copyright (c) 2019 Elastos Foundation
*
* 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... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | SDK/Plugin/Transaction/Transaction.h | // Copyright (c) 2012-2018 The Elastos Open Source Project
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef __ELASTOS_SDK_TRANSACTION_H__
#define __ELASTOS_SDK_TRANSACTION_H__
#include <Common/JsonSerializer.h>
#include ... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | SDK/WalletCore/WordLists/Japanese.h | <filename>SDK/WalletCore/WordLists/Japanese.h
// Copyright (c) 2012-2018 The Elastos Open Source Project
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef __ELASTOS_SDK_JAPANESE_H__
#define __ELASTOS_SDK_JAPANESE_H__
name... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | SDK/Plugin/Transaction/Payload/DIDInfo.h | <reponame>fakecoinbase/elastosslashElastos.ELA.SPV.Cpp
// Copyright (c) 2012-2019 The Elastos Open Source Project
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef __ELASTOS_SDK_DIDINFO_H__
#define __ELASTOS_SDK_DIDINFO_H_... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | ThirdParty/breadwallet-core/ethereum/les/msg/BREthereumMessageDIS.h | //
// BREthereumMessageDIS.h
// BRCore
//
// Created by <NAME> on 9/1/18.
// Copyright © 2018 Breadwinner AG. All rights reserved.
//
// See the LICENSE file at the project root for license information.
// See the CONTRIBUTORS file at the project root for a list of contributors.
#ifndef BR_Ethereum_Message_DIS_... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | ThirdParty/breadwallet-core/ethereum/contract/BREthereumToken.c | //
// BREthereumToken
// breadwallet-core Ethereum
//
// Created by <NAME> on 2/25/18.
// Copyright © 2018 Breadwinner AG. All rights reserved.
//
// See the LICENSE file at the project root for license information.
// See the CONTRIBUTORS file at the project root for a list of contributors.
#include <string.h>... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | ThirdParty/breadwallet-core/ethereum/blockchain/BREthereumBloomFilter.c | //
// BREthereumBloomFilter.c
// BRCore
//
// Created by <NAME> on 5/10/18.
// Copyright © 2018 Breadwinner AG. All rights reserved.
//
// See the LICENSE file at the project root for license information.
// See the CONTRIBUTORS file at the project root for a list of contributors.
#include <assert.h>
#include <... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | SDK/P2P/PeerInfo.h | // Copyright (c) 2012-2018 The Elastos Open Source Project
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef __ELASTOS_SDK_PEERINFO_H__
#define __ELASTOS_SDK_PEERINFO_H__
#include <Common/uint256.h>
#include <sys/types.h>... |
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp | ThirdParty/breadwallet-core/ethereum/event/BREvent.c | //
// BREvent.c
// BRCore
//
// Created by <NAME> on 5/7/18.
// Copyright © 2018 Breadwinner AG. All rights reserved.
//
// See the LICENSE file at the project root for license information.
// See the CONTRIBUTORS file at the project root for a list of contributors.
#include <string.h>
#include <errno.h>
#inclu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.