repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
thebrianmoore/ledger-app-bytecoin | src/bytecoin_main.c | <reponame>thebrianmoore/ledger-app-bytecoin
/*******************************************************************************
* Bytecoin Wallet for Ledger Nano S
* (c) 2018 - 2019 The Bytecoin developers
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compl... |
thebrianmoore/ledger-app-bytecoin | src/bytecoin_keccak.c | /*******************************************************************************
* Bytecoin Wallet for Ledger Nano S
* (c) 2018 - 2019 The Bytecoin developers
*
* 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 ... |
thebrianmoore/ledger-app-bytecoin | src/bytecoin_keys.h | <reponame>thebrianmoore/ledger-app-bytecoin<filename>src/bytecoin_keys.h<gh_stars>1-10
/*******************************************************************************
* Bytecoin Wallet for Ledger Nano S
* (c) 2018 - 2019 The Bytecoin developers
*
* Licensed under the Apache License, Version 2.0 (the "License");
*... |
thebrianmoore/ledger-app-bytecoin | src/bytecoin_wallet.c | /*******************************************************************************
* Bytecoin Wallet for Ledger Nano S
* (c) 2018 - 2019 The Bytecoin developers
*
* 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 ... |
thebrianmoore/ledger-app-bytecoin | src/bytecoin_crypto.h | <reponame>thebrianmoore/ledger-app-bytecoin
/*******************************************************************************
* Bytecoin Wallet for Ledger Nano S
* (c) 2018 - 2019 The Bytecoin developers
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compl... |
thebrianmoore/ledger-app-bytecoin | src/bytecoin_base58.h | #ifndef BYTECOIN_BASE58_H
#define BYTECOIN_BASE58_H
#include <stdint.h>
#include <stddef.h>
size_t encode_base58(const uint8_t* data, size_t data_len, char* result, size_t result_len);
#endif // BYTECOIN_BASE58_H
|
thebrianmoore/ledger-app-bytecoin | src/bytecoin_keccak.h | <reponame>thebrianmoore/ledger-app-bytecoin
/*******************************************************************************
* Bytecoin Wallet for Ledger Nano S
* (c) 2018 - 2019 The Bytecoin developers
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compl... |
thebrianmoore/ledger-app-bytecoin | src/bytecoin_sig.c | /*******************************************************************************
* Bytecoin Wallet for Ledger Nano S
* (c) 2018 - 2019 The Bytecoin developers
*
* 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 ... |
thebrianmoore/ledger-app-bytecoin | src/bytecoin_io.h | /*******************************************************************************
* Bytecoin Wallet for Ledger Nano S
* (c) 2018 - 2019 The Bytecoin developers
*
* 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 ... |
thebrianmoore/ledger-app-bytecoin | src/bytecoin_debug.h | <reponame>thebrianmoore/ledger-app-bytecoin
/*******************************************************************************
* Bytecoin Wallet for Ledger Nano S
* (c) 2018 - 2019 The Bytecoin developers
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compl... |
thebrianmoore/ledger-app-bytecoin | src/bytecoin_ledger_api.h | /*******************************************************************************
* Bytecoin Wallet for Ledger Nano S
* (c) 2018 - 2019 The Bytecoin developers
*
* 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 ... |
thebrianmoore/ledger-app-bytecoin | src/bytecoin_fe.c | /*******************************************************************************
* Bytecoin Wallet for Ledger Nano S
* (c) 2018 - 2019 The Bytecoin developers
*
* 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 ... |
thebrianmoore/ledger-app-bytecoin | src/bytecoin_keys.c | <gh_stars>1-10
/*******************************************************************************
* Bytecoin Wallet for Ledger Nano S
* (c) 2018 - 2019 The Bytecoin developers
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... |
thebrianmoore/ledger-app-bytecoin | src/bytecoin_vars.h | /*******************************************************************************
* Bytecoin Wallet for Ledger Nano S
* (c) 2018 - 2019 The Bytecoin developers
*
* 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 ... |
thebrianmoore/ledger-app-bytecoin | src/bytecoin_ui.h | <reponame>thebrianmoore/ledger-app-bytecoin
/*******************************************************************************
* Bytecoin Wallet for Ledger Nano S
* (c) 2018 - 2019 The Bytecoin developers
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compl... |
thebrianmoore/ledger-app-bytecoin | src/bytecoin_base58.c | <reponame>thebrianmoore/ledger-app-bytecoin<filename>src/bytecoin_base58.c
#include "os.h"
#include "bytecoin_base58.h"
#include "bytecoin_ledger_api.h"
static const char alphabet[] = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
static const size_t encoded_block_sizes[] = { 0, 2, 3, 5... |
thebrianmoore/ledger-app-bytecoin | src/bytecoin_crypto.c | /*******************************************************************************
* Bytecoin Wallet for Ledger Nano S
* (c) 2018 - 2019 The Bytecoin developers
*
* 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 ... |
thebrianmoore/ledger-app-bytecoin | src/bytecoin_apdu.c | <reponame>thebrianmoore/ledger-app-bytecoin<filename>src/bytecoin_apdu.c
/*******************************************************************************
* Bytecoin Wallet for Ledger Nano S
* (c) 2018 - 2019 The Bytecoin developers
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not ... |
thebrianmoore/ledger-app-bytecoin | src/bytecoin_sig.h | /*******************************************************************************
* Bytecoin Wallet for Ledger Nano S
* (c) 2018 - 2019 The Bytecoin developers
*
* 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 ... |
thebrianmoore/ledger-app-bytecoin | src/bytecoin_ui.c | <gh_stars>1-10
/*******************************************************************************
* Bytecoin Wallet for Ledger Nano S
* (c) 2018 - 2019 The Bytecoin developers
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... |
thebrianmoore/ledger-app-bytecoin | src/bytecoin_io.c | <reponame>thebrianmoore/ledger-app-bytecoin
/*******************************************************************************
* Bytecoin Wallet for Ledger Nano S
* (c) 2018 - 2019 The Bytecoin developers
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compl... |
thebrianmoore/ledger-app-bytecoin | src/bytecoin_wallet.h | <reponame>thebrianmoore/ledger-app-bytecoin<filename>src/bytecoin_wallet.h
/*******************************************************************************
* Bytecoin Wallet for Ledger Nano S
* (c) 2018 - 2019 The Bytecoin developers
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may no... |
thebrianmoore/ledger-app-bytecoin | src/bytecoin_apdu.h | /*******************************************************************************
* Bytecoin Wallet for Ledger Nano S
* (c) 2018 - 2019 The Bytecoin developers
*
* 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 ... |
PedroCavaleiro/Apollo-Music | apollo-music/apollo-music-Bridging-Header.h | //
// discord-amusic-richpresence-Bridging-Header.h
// discord-amusic-richpresence
//
// Created by <NAME> on 01/11/2020.
//
#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>
typedef void (^MRMediaRemoteGetNowPlayingInfoBlock)(NSDictionary *info);
typedef void (^MRMediaRemoteGetNowPlayingClientBlock)(id c... |
jmcb/Inform6 | symbols.c | /* ------------------------------------------------------------------------- */
/* "symbols" : The symbols table; creating stock of reserved words */
/* */
/* Part of Inform 6.33 */
... |
zeroxs/amf3cpp | amf3.h | //
// amf3.h
//
// The MIT License(MIT)
//
// Copyright(c) 2016 Zero <zero at xandium dot net>
//
// 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 l... |
kweatherman/UsbMailNotifier | C/UsbMailDevice.c |
// Minimalist USB "Mail Notifier" LED device support
#define WIN32_LEAN_AND_MEAN
#define WINVER 0x0A00 // _WIN32_WINNT_WIN10
#define _WIN32_WINNT 0x0A00
#include <windows.h>
#include <stdio.h>
#include <SetupAPI.h>
#pragma comment(lib, "SetupAPI.lib")
#ifdef __cplusplus
extern "C"
{
#endif
#defi... |
kweatherman/UsbMailNotifier | C/UsbMailDevice.h |
// USB "Mail Notifier" LED device support
#pragma once
enum
{
MAIL_COLOR_NONE, // None/black/off
MAIL_COLOR_BLUE,
MAIL_COLOR_RED,
MAIL_COLOR_GREEN,
MAIL_COLOR_CYAN,
MAIL_COLOR_MAGENTA,
MAIL_COLOR_YELLOW,
MAIL_COLOR_WHITE
};
#ifdef __cplusplus
extern "C"
{
#endif
HANDLE OpenMailDevice();
... |
loranodes/bootloader | bootloader/main.c | /*
Copyright (c) 2015 Arduino LLC. All right reserved.
Copyright (c) 2015 Atmel Corporation/<NAME>ARD. All right reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
... |
dls-controls/linkam3 | linkamT96App/src/linkamT96.h | <reponame>dls-controls/linkam3<gh_stars>1-10
#include "asynPortDriver.h"
#include <epicsEvent.h>
#define P_TempString "LINKAM_TEMP"
#define P_RampRateSetString "LINKAM_RAMPRATE_SET"
#define P_RampRateString "LINKAM_RAMPRATE"
#define P_SetpointSetString "LINKAM_SETPOINT_SET"
#define P_SetpointString ... |
glapa-grossklag/functional-c | functional.h | <gh_stars>1-10
#ifndef FUNCTIONAL_H
#define FUNCTIONAL_H
#include <stddef.h>
/**
* Calls FUNCTION on N elements of the array SOURCE. Returns an array
* (statically-allocated) with the result.
*/
#define map(function, source, n) ({ \
__auto_type function_ = (function); \
__auto_type source_ = (source); \
__auto_... |
glapa-grossklag/functional-c | example.c | <reponame>glapa-grossklag/functional-c
/**
* This program prints the following:
*
* numbers[0] = 2
* numbers[1] = 3
* numbers[2] = 4
* numbers[3] = 5
* numbers[4] = 6
* numbers[5] = 7
*
* squared[0] = 4
* squared[1] = 9
* squared[2] = 16
* squared[3] = 25
* squa... |
jhunt/foxtrot | foxtrot.c | <reponame>jhunt/foxtrot<filename>foxtrot.c
#include <linux/module.h>
#include <linux/init.h>
#include <linux/blkdev.h>
#include <linux/bio.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/errno.h>
MODULE_LICENSE("Dual BSD/GPL");
#define FOXTROT_VERSION "1.0.0"
struct foxtrot_dev {
spinlock_t lo... |
jhunt/foxtrot | dm-foxtrot.c | #include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/bio.h>
#include <linux/device-mapper.h>
struct dm_foxtrot_target {
struct dm_dev *dev;
sector_t start;
};
/* map virtual blocks onto physical blocks */
static int
dm_foxtrot_map(struct dm_target *ti, struct bio *bio)
{
st... |
tobihagemann/XLForm | Examples/Objective-C/Inline Segmented/XLFormInlineSegmentedCell.h | //
// XLFormInlineSegmentedCell.h
// XLForm
//
// Created by <NAME> on 16/12/15.
// Copyright © 2015 Xmartlabs. All rights reserved.
//
#import <XLForm/XLForm.h>
extern NSString * const XLFormRowDescriptorTypeSegmentedInline;
extern NSString * const XLFormRowDescriptorTypeSegmentedControl;
@interface XLFormInlin... |
tobihagemann/XLForm | XLForm/XL/Descriptors/XLFormRowDescriptor.h | //
// XLFormRowDescriptor.h
// XLForm ( https://github.com/xmartlabs/XLForm )
//
// Copyright (c) 2015 Xmartlabs ( http://xmartlabs.com )
//
//
// 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 So... |
tobihagemann/XLForm | Examples/Swift/SwiftExample/SwiftExample-Bridging-Header.h | <gh_stars>1000+
//
// SwiftExample-Bridging-Header.h
// SwiftExample
//
// Created by <NAME> on 3/10/15.
// Copyright (c) 2014-2015 Xmartlabs. All rights reserved.
//
#ifndef SwiftExample_SwiftExample_Bridging_Header_h_h
#define SwiftExample_SwiftExample_Bridging_Header_h_h
#import <XLForm/XLForm.h>
#import <AXR... |
tobihagemann/XLForm | Tests/XLForm Tests/Helpers/UITextField+Test.h | //
// UITextField+Test.h
// XLForm Tests
//
// Created by <NAME> on 3/25/15.
//
//
#import <UIKit/UIKit.h>
@interface UITextField (Test)
// This category is for simulate the change of the text
-(void)changeText:(NSString *)string;
@end
|
tobihagemann/XLForm | Tests/XLForm Tests/Test/XLTestCase.h | <gh_stars>1000+
//
// XLFormTestCase.h
// XLForm Tests
//
// Created by <NAME> on 8/5/14.
//
//
#import <XCTest/XCTest.h>
#define EXP_SHORTHAND YES
#import "Expecta.h"
#import <XLForm/XLForm.h>
#import <XLForm/NSString+XLFormAdditions.h>
@interface XLTestCase : XCTestCase
@property (nonatomic, strong) XLFormVie... |
tobihagemann/XLForm | Examples/Objective-C/Examples/Formatters/FormattersViewController.h | //
// FormattersViewController.h
// XLForm
//
// Created by <NAME> on 12/29/14.
// Copyright (c) 2014 Xmartlabs. All rights reserved.
//
#import "XLFormViewController.h"
@interface FormattersViewController : XLFormViewController
@end
|
ministeriopublicoma/docker-php-fpm | assets/pdo_oci/oci_driver.c | /*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2005 The PHP Group |
+---------... |
ministeriopublicoma/docker-php-fpm | assets/pdo_oci/php_pdo_oci_int.h | <filename>assets/pdo_oci/php_pdo_oci_int.h
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2005 The PHP Group ... |
cgarcia13579/cs223cLab3 | queue_doubly.c | /*
CPSC 223C
Spring 2015
CSU Fullerton
Lab 3: structures and dynamic memory
Authors: <NAME> (<EMAIL>) (REPLACE THIS
WITH YOUR NAMES AND CSUF EMAIL ADDRESSES)
*/
/*
Due Date: Tuesday, February 17, 2015, 22:55:00
*/
#include <assert.h> // for assert()
#include <stdio.h> // for printf()
#include <s... |
AlexBocken/dwm | config.h | <gh_stars>0
/* See LICENSE file for copyright and license details. */
/* appearance */
static const unsigned int borderpx = 2; /* border pixel of windows */
static const unsigned int borderfloatpx = 2; /* border pixel of windows which are floating; seems not correctly implemented yet! window freezes if... |
WisetrackerTechteam/Tracker-react-package | iOS/WiseTrackerManager.h | //
// WiseTrackerManager.h
// AwesomeProject
//
// Created by <NAME> on 2019. 4. 25..
// Copyright © 2019년 Facebook. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <React/RCTBridgeModule.h>
NS_ASSUME_NONNULL_BEGIN
@interface WiseTrackerManager : NSObject <RCTBridgeModule>
@end
NS_ASSUME_NONN... |
WisetrackerTechteam/Tracker-react-package | iOS/WiseTracker.framework/Headers/StaticValues.h | <reponame>WisetrackerTechteam/Tracker-react-package
//
// StaticValues.h
// WiseTracker
//
// Created by <NAME> on 2015. 3. 17..
// Copyright (c) 2015년 WiseTracker. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface StaticValues : NSObject
+(NSString*) BS_CONFIG_TRK_DOC... |
WisetrackerTechteam/Tracker-react-package | iOS/WiseTracker.framework/Headers/WiseTrackerCore.h | //
// WiseTracker.h
// WiseTracker
//
// Created by <NAME> on 2015. 4. 9..
// Copyright (c) 2015년 WiseTracker. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
//! Project version number for WiseTracker.
FOUNDATION_EXPORT double WiseTrackerVersionNumber;
//! Project version strin... |
ordinary-developer/book_qt_5_3_m_shlee | code/chapter_2-OBJECT_MODEL_PHILOSOPHY/02_signals/MySignal.h | <filename>code/chapter_2-OBJECT_MODEL_PHILOSOPHY/02_signals/MySignal.h<gh_stars>1-10
#include <QtCore>
class MySignal : public QObject {
Q_OBJECT
signals:
void doIt();
public:
void sendSignal() {
emit doIt();
}
};
|
ordinary-developer/book_qt_5_3_m_shlee | code/chapter_2-OBJECT_MODEL_PHILOSOPHY/01-properties/MyClass.h | #include <QtCore>
class MyClass : public QObject {
Q_OBJECT
Q_PROPERTY(bool readOnly READ isReadOnly WRITE setReadOnly)
private:
bool m_bReadOnly;
public:
MyClass(QObject* pobj = 0) : QObject(pobj),
m_bReadOnly(false) { }
public:
void... |
ordinary-developer/book_qt_5_3_m_shlee | code/chapter_2-OBJECT_MODEL_PHILOSOPHY/04_slots/MySlot.h | #include <QtCore>
class MySlot : public QObject {
Q_OBJECT
public:
MySlot() { }
public slots:
void slot() {
qDebug() << "I'm a slot";
}
};
|
ordinary-developer/book_qt_5_3_m_shlee | code/chapter_6-CONTROL_OF_AUTOMATIC_COMPONENT_LAYOUT/07-creating_a_layout_for_a_calculator/Calculator.h | <gh_stars>1-10
#pragma once
#include <QWidget>
#include <QStack>
class QLCDNumber;
class QPushButton;
class Calculator : public QWidget {
Q_OBJECT
public:
Calculator(QWidget* pWidget = nullptr);
public slots:
void slotButtonClicked();
private:
QPushButton* creat... |
lakkatv/Play- | Source/ui_libretro/GSH_OpenGL_Libretro.h | <reponame>lakkatv/Play-<gh_stars>0
#pragma once
#include "gs/GSH_OpenGL/GSH_OpenGL.h"
#include "libretro.h"
class CGSH_OpenGL_Libretro : public CGSH_OpenGL
{
public:
CGSH_OpenGL_Libretro();
virtual ~CGSH_OpenGL_Libretro();
static FactoryFunction GetFactoryFunction();
void InitializeImpl() override;
void FlipIm... |
lakkatv/Play- | Source/GenericMipsExecutor.h | #pragma once
#include <list>
#include "MIPS.h"
#include "BasicBlock.h"
#include "BlockLookupOneWay.h"
#include "BlockLookupTwoWay.h"
static bool RangesOverlap(uint32 x1, uint32 x2, uint32 y1, uint32 y2)
{
assert(x1 <= x2);
assert(y1 <= y2);
return (x1 <= y2) && (y1 <= x2);
}
typedef uint32 (*TranslateFunctionTyp... |
clking/gadget | faketime/t/faketimetest.c | #include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <sys/time.h>
#include <unistd.h>
#define DATETIME_LENGTH_MAX 64
void
time_test() {
time_t t;
char *buf;
struct tm *tp;
t = time(NULL);
tp = localtime(&t);
buf = (char *)malloc(DATETIME_LENGTH_MAX);
strftime(buf, DATETIME_LE... |
clking/gadget | whiletrue/whiletrue.c | #include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sysexits.h>
#include <signal.h>
#include <string.h>
#include <time.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/wait.h>
#define SHELL "/bin/sh"
#ifdef DEBUG
#define debug(fmt, ...) printf("[DEBUG] " fmt "\n", ##__VA_ARGS__)
#else
... |
clking/gadget | faketime/libfaketime.c | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <math.h>
#include <time.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dlfcn.h>
#include "faketime.h"
void
_init() {
info("initializing %s", "faketime.so");
real_time = dlsym(RTLD_NEXT... |
clking/gadget | faketime/faketime.h | <filename>faketime/faketime.h<gh_stars>0
#define FAKE_TYPE_NULL 0
#define FAKE_TYPE_OFFSET 1
#define FAKE_TYPE_ABSOLUTE 2
#define FAKE_EPOCH_THRESHOLD 1300000000.0
#define USEC_MULTIPLIER 1000000
#define NSEC_MULTIPLIER 1000000000
#define FAKE_TIME_DOMESTIC_CONFIG ".faketime"
#define FAKE_TIME_GLOBAL_CONFIG "/tmp/.fa... |
lucasrennok/udp_file_transfer_c | cliente2.c | #include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <stdbool.h>
#include <time.h>
#define SERVER_PORT 1500 //porta do servidor(padronizada)
#define IP_SERVER ... |
lucasrennok/udp_file_transfer_c | cliente.c | #include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/time.h>
#include <stdbool.h>
#include <time.h>
#define SERVER_PORT 1500 //porta do servidor(padronizada)
#... |
lucasrennok/udp_file_transfer_c | server.c | #include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <stdbool.h>
#include <time.h>
#define SERVER_PORT 1500 //porta do servidor(padronizada)
#define MAX_MSG 100 //ta... |
XiongWei1012/superpixels-revisited | lib_pb/MaxFlow/QPBO_Generic.h | <reponame>XiongWei1012/superpixels-revisited
#ifndef QPBO_Generic_h_
#define QPBO_Generic_h_
// Generic Quadartic Pseduo Boolean Optimization Algorithm for a 4-connect
// lattice of variables. This file doesn't actually do anything, except
// specify the generic interface to any optimization algorithm (such as
// max... |
XiongWei1012/superpixels-revisited | lib_crs/ContourRelaxation.h | // Copyright 2013 Visual Sensorics and Information Processing Lab, Goethe University, Frankfurt
//
// This file is part of Contour-relaxed Superpixels.
//
// Contour-relaxed Superpixels is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by... |
XiongWei1012/superpixels-revisited | lib_cis/superpixels.h | <gh_stars>100-1000
#ifndef SUPERPIXELS_H
#define SUPERPIXELS_H
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <time.h>
#include <float.h>
#include <image.h>
#include <misc.h>
#include <pnmfile.h>
#include <matrix.h>
#include <misc.h>
#include <draw.h>
#include <errno.h>
#include ... |
XiongWei1012/superpixels-revisited | lib_crs/DepthFeature.h | /*
* File: DepthFeature.h
* Author: david
*
* Created on August 10, 2014, 9:02 PM
*/
#pragma once
#include "IFeature.h"
#include "AGaussianFeature.h"
#include "LabelStatisticsGauss.h"
#include "globalConstants.h"
#include <opencv2/opencv.hpp>
#include <vector>
/**
* @class ColorFeature
* @brief Feature o... |
sam0737/PopnConvertibleAsc | Firmware/LUFA/Drivers/USB/Core/Endpoint.h | /*
LUFA Library
Copyright (C) <NAME>, 2011.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
Copyright 2011 <NAME> (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any pu... |
sam0737/PopnConvertibleAsc | Firmware/LUFA/Drivers/Board/EVK527/Dataflash.h | /*
LUFA Library
Copyright (C) <NAME>, 2011.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
Copyright 2011 <NAME> (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any pu... |
sam0737/PopnConvertibleAsc | Firmware/LUFA/Drivers/USB/Class/Host/StillImage.c | <gh_stars>1-10
/*
LUFA Library
Copyright (C) <NAME>, 2011.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
Copyright 2011 <NAME> (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documenta... |
sam0737/PopnConvertibleAsc | Firmware/PopnAsc.c | /*
Pop'n Convertible Arcade Style Controller Project
Copyright 2011 <NAME> (Sam /@/ hellosam /./ net)
This work is licensed under the Creative Commons Attribution 3.0
Hong Kong License.
To view a copy of this license, visit
http://creativecommons.org/licenses/by/3.0/hk/ or send a letter to
... |
sam0737/PopnConvertibleAsc | Firmware/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c | /*
Copyright (C) <NAME>, 2011.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
#define __INCLUDE_FROM_TWI_C
#include "../TWI.h"
uint8_t TWI_StartTransmission(const uint8_t SlaveAddress,
const uint8_t TimeoutMS)
{
for (;;)
{
bool BusCap... |
sam0737/PopnConvertibleAsc | Firmware/LUFA/Drivers/USB/Core/Template/Template_Endpoint_RW.c | uint8_t TEMPLATE_FUNC_NAME (TEMPLATE_BUFFER_TYPE const Buffer,
uint16_t Length,
uint16_t* const BytesProcessed)
{
uint8_t* DataStream = ((uint8_t*)Buffer + TEMPLATE_BUFFER_OFFSET(Length));
uint16_t BytesInTransfer = 0;
uint8_t ErrorCode;
if ((Er... |
sam0737/PopnConvertibleAsc | Firmware/LUFA/Drivers/USB/Core/Template/Template_Pipe_RW.c | uint8_t TEMPLATE_FUNC_NAME (TEMPLATE_BUFFER_TYPE const Buffer,
uint16_t Length,
uint16_t* const BytesProcessed)
{
uint8_t* DataStream = ((uint8_t*)Buffer + TEMPLATE_BUFFER_OFFSET(Length));
uint16_t BytesInTransfer = 0;
uint8_t ErrorCode;
Pipe_Se... |
sam0737/PopnConvertibleAsc | Firmware/Descriptors.c | <gh_stars>1-10
/*
Pop'n Convertible Arcade Style Controller Project
Copyright 2011 <NAME> (Sam /@/ hellosam /./ net)
This work is licensed under the Creative Commons Attribution 3.0
Hong Kong License.
To view a copy of this license, visit
http://creativecommons.org/licenses/by/3.0/hk/ or sen... |
sam0737/PopnConvertibleAsc | Firmware/LUFA/Drivers/USB/Class/Host/MassStorage.c | <filename>Firmware/LUFA/Drivers/USB/Class/Host/MassStorage.c
/*
LUFA Library
Copyright (C) <NAME>, 2011.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
Copyright 2011 <NAME> (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribut... |
sam0737/PopnConvertibleAsc | Firmware/PopnAsc.h | <gh_stars>1-10
/*
Pop'n Convertible Arcade Style Controller Project
Copyright 2011 <NAME> (Sam /@/ hellosam /./ net)
This work is licensed under the Creative Commons Attribution 3.0
Hong Kong License.
To view a copy of this license, visit
http://creativecommons.org/licenses/by/3.0/hk/ or sen... |
TingKaiChen/B-SHOT-SLAM | include/frame.h | <reponame>TingKaiChen/B-SHOT-SLAM
#ifndef FRAME_H
#define FRAME_H
#include "common_include.h"
namespace myslam
{
// forward declare
class Frame
{
public:
typedef std::shared_ptr<Frame> Ptr;
typedef std::shared_ptr<vector<Vector3f>> PCPtr;
typedef std::shared_ptr<vector<s... |
TingKaiChen/B-SHOT-SLAM | include/mymap.h | #ifndef MYMAP_H
#define MYMAP_H
#include "common_include.h"
#include "keypoint.h"
#include "bshot_bits.h"
namespace myslam{
class Map{
public:
struct MapHasher{
unsigned long operator()(const Vector3f& p) const{
// int prec = 10000; // Map's grid size (mm)
// Vector3f grid_p(
// int(round(p[... |
TingKaiChen/B-SHOT-SLAM | include/keypoint.h | #ifndef KEYPOINT_H
#define KEYPOINT_H
#include "common_include.h"
#include "bshot_bits.h"
namespace myslam{
class Keypoint{
public:
typedef shared_ptr<Keypoint> Ptr;
Keypoint();
Keypoint(
unsigned long id,
Vector3f& position,
float& seg_ratio,
bshot_descriptor& descriptor);
inline Vec... |
TingKaiChen/B-SHOT-SLAM | include/lidar_odometry.h | #ifndef VISUALODOMETRY_H
#define VISUALODOMETRY_H
#include "common_include.h"
#include "bshot_bits.h"
#include "frame.h"
// #include "map.h"
#include "mymap.h"
#include <pcl/registration/icp.h>
#include <pcl/keypoints/iss_3d.h>
namespace myslam{
class LidarOdometry{
public:
LidarOdometry();
~LidarOdometry();... |
TingKaiChen/B-SHOT-SLAM | include/ViewerHandler.h | <filename>include/ViewerHandler.h
#ifndef VIEWERHANDLER_H
#define VIEWERHANDLER_H
#include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
#include <fstream>
#include <sstream>
#include <string>
#include <opencv2/opencv.hpp>
#include <opencv2/viz.hpp>
typedef cv::viz::Viz3d VizViewer;
typedef cv::A... |
TingKaiChen/B-SHOT-SLAM | include/bshot_bits.h | #ifndef BSHOT_BITS_H
#define BSHOT_BITS_H
#include <bshot_headers_bits.h>
template< typename T >
T minVect(const T *v, int n, int *ind=NULL)
{
assert(n > 0);
T min = v[0];
if (ind != NULL) *ind = 0;
for (int i=1; i<n; i++)
if (v[i] < min) {
min = v[i];
if (ind != NULL)... |
TingKaiChen/B-SHOT-SLAM | include/bshot_headers_bits.h | <reponame>TingKaiChen/B-SHOT-SLAM<filename>include/bshot_headers_bits.h
#ifndef headers_bshot_bits
#define headers_bshot_bits
#include <iostream>
#include <bitset>
#include <vector>
#include <ctime>
#include <chrono>
#include <dirent.h> // for looping over the files in the directory
#include <pcl/point_types.h>
#inc... |
TingKaiChen/B-SHOT-SLAM | include/map.h | #ifndef MAP_H
#define MAP_H
#include "common_include.h"
#include "keypoint.h"
#include "bshot_bits.h"
namespace myslam{
class Map{
public:
typedef shared_ptr<Map> Ptr;
Map(){};
void addKeypoint(Keypoint::Ptr keypoint);
void getKeypoints(
Vector3f pos,
float range,
pcl::PointCloud<pcl::Po... |
TingKaiChen/B-SHOT-SLAM | include/preprocess.h | <gh_stars>0
#ifndef PREPROCESS_H
#define PREPROCESS_H
#include "common_include.h"
#include "VelodyneCapture.h"
namespace myslam{
class Preprocessor{
public:
typedef shared_ptr<Preprocessor> Ptr;
typedef map<double, double> RangeImgCol;
typedef map<double, RangeImgCol> RangeImg;
typedef map<double, int>... |
TingKaiChen/B-SHOT-SLAM | include/common_include.h | #ifndef COMMON_INCLUDE_H
#define COMMON_INCLUDE_H
// define the commonly included file to avoid a long include list
// for Eigen
#include <Eigen/Core>
#include <Eigen/Geometry>
using Eigen::Vector2d;
using Eigen::Vector3d;
using Eigen::Vector3f;
using Eigen::Matrix3d;
using Eigen::Matrix3f;
using Eigen::Matrix4f;
usin... |
TutorialKit/TutorialKitDemo | TutorialKit/TKLabelTutorialView.h | //
// TKLabelTutorialView.h
// TutorialKitDemo
//
// Created by <NAME> on 7/23/16.
// Copyright © 2016 Aqueous Software. All rights reserved.
//
#import "TKTutorialView.h"
@interface TKLabelTutorialView : TKTutorialView
@property (strong) UILabel *textLabel;
@property (strong) NSString *text;
- (void)setUpTextL... |
TutorialKit/TutorialKitDemo | TutorialKit/TKBubbleTutorialView.h | //
// TKBubbleTutorialView.h
// TutorialKitDemo
//
// Created by <NAME> on 7/22/16.
// Copyright © 2016 Aqueous Software. All rights reserved.
//
#import "TKLabelTutorialView.h"
typedef enum
{
kTKBubbleOrientationAbove,
kTKBubbleOrientationBelow
} TKBubbleOrientation;
@interface TKBubbleTutorialView : ... |
TutorialKit/TutorialKitDemo | TutorialKit/TKTutorialView.h | //
// TKTutorialView.h
// TutorialKitDemo
//
// Created by <NAME> on 7/22/16.
// Copyright © 2016 Aqueous Software. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "TKTutorialTheme.h"
@interface TKTutorialView : UIView
@property (strong) TKTutorialTheme *theme;
+ (void)addTutorialView:(TKTutorialView ... |
TutorialKit/TutorialKitDemo | TutorialKitDemo/TutorialKitBridgingHeader.h | <filename>TutorialKitDemo/TutorialKitBridgingHeader.h
//
// TutorialKitBridgingHeader.h
// TutorialKitDemo
//
// Created by <NAME> on 7/23/16.
// Copyright © 2016 Aqueous Software. All rights reserved.
//
#ifndef TutorialKitBridgingHeader_h
#define TutorialKitBridgingHeader_h
#import "TutorialKit.h"
#endif /* Tu... |
TutorialKit/TutorialKitDemo | TutorialKit/TKTutorialTheme.h | //
// TKTutorialTheme.h
// TutorialKitDemo
//
// Created by <NAME> on 7/22/16.
// Copyright © 2016 Aqueous Software. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface TKTutorialTheme : NSObject
@property (strong) UIColor *backgroundColor;
@property (strong) UIColor *foregroundColor;
@property (strong) ... |
TutorialKit/TutorialKitDemo | TutorialKit/TKTapGestureTutorialView.h | <filename>TutorialKit/TKTapGestureTutorialView.h
//
// TKTapGestureTutorialView.h
// TutorialKitDemo
//
// Created by <NAME> on 7/23/16.
// Copyright © 2016 Aqueous Software. All rights reserved.
//
#import "TKGestureTutorialView.h"
@interface TKTapGestureTutorialView : TKGestureTutorialView
+ (TKTapGestureTuto... |
TutorialKit/TutorialKitDemo | TutorialKit/TKSwipeGestureTutorialView.h | //
// TKSwipeGestureTutorialView.h
// TutorialKitDemo
//
// Created by <NAME> on 7/23/16.
// Copyright © 2016 Aqueous Software. All rights reserved.
//
#import "TKGestureTutorialView.h"
@interface TKSwipeGestureTutorialView : TKGestureTutorialView
@end
|
TutorialKit/TutorialKitDemo | TutorialKit/TKBannerTutorialView.h | //
// TKBannerTutorialView.h
// TutorialKitDemo
//
// Created by <NAME> on 7/22/16.
// Copyright © 2016 Aqueous Software. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "TKLabelTutorialView.h"
typedef enum
{
kTKBannerOrientationTop,
kTKBannerOrientationBottom
} TKBannerOrientation;
@interface... |
TutorialKit/TutorialKitDemo | TutorialKit/TKTutorial.h | //
// TKTutorial.h
// TutorialKitDemo
//
// Created by <NAME> on 7/22/16.
// Copyright © 2016 Aqueous Software. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface TKTutorial : NSObject
+ (void)resetTutorials;
+ (BOOL)keyUsed:(NSString *)key;
+ (void)setKey:(NSString *)key;
@end
|
TutorialKit/TutorialKitDemo | TutorialKit/TutorialKit.h | <gh_stars>1-10
//
// TutorialKit.h
// TutorialKitDemo
//
// Created by <NAME> on 7/22/16.
// Copyright © 2016 Aqueous Software. All rights reserved.
//
#import "TKTutorial.h"
#import "TKTutorialView.h"
#import "TKBannerTutorialView.h"
#import "TKBubbleTutorialView.h"
#import "TKTapGestureTutorialView.h"
#import "... |
TutorialKit/TutorialKitDemo | TutorialKit/TKGestureTutorialView.h | <filename>TutorialKit/TKGestureTutorialView.h<gh_stars>1-10
//
// TKGestureTutorialView.h
// TutorialKitDemo
//
// Created by <NAME> on 7/23/16.
// Copyright © 2016 Aqueous Software. All rights reserved.
//
#import "TKTutorialView.h"
#define GESTURE_DOT_SIZE (50)
@interface TKGestureTutorialView : TKTut... |
pengqiangsheng/esp8266_DazzleLed_ws2812 | rainbow_march.h | <reponame>pengqiangsheng/esp8266_DazzleLed_ws2812
#ifndef RAINBOW_MARCH_H
#define RAINBOW_MARCH_H
/* Usage - rainbow_march();
*
* thisindex
* thisdiff
* thisrot
* thisdir
*/
void rainbow_march() { // The fill_rainbow call doesn't support brightness levels
if (thisd... |
pengqiangsheng/esp8266_DazzleLed_ws2812 | noise16_pal.h | #ifndef NOISE16_PAL_H
#define NOISE16_PAL_H
// noise16 variables -----------------------------------------------------------------------
uint32_t x,hue_time; // x & hue_time values
uint8_t octaves=2; //2 // how many octaves to use for the... |
pengqiangsheng/esp8266_DazzleLed_ws2812 | serendipitous_pal.h | <reponame>pengqiangsheng/esp8266_DazzleLed_ws2812<filename>serendipitous_pal.h
#ifndef SERENDIPITOUS_PAL_H
#define SERENDIPITOUS_PAL_H
/* This is from Serendipitous Circles from the August 1977 and April 1978 issues of Byte Magazine. I didn't do a very good job of it, but am at least getting some animation and the ro... |
pengqiangsheng/esp8266_DazzleLed_ws2812 | confetti_pal.h | #ifndef CONFETTI_PAL_H
#define CONFETTI_PAL_H
/* This is adapted from the confetti routine created by <NAME> */
/* Usage - confetti_pal();
*
* thisfade
* thisdelay
* currentPalette and targetPalette
* thisdiff
* thisindex
* thisinc
* thisbright
*/
void confetti_pal() { ... |
pengqiangsheng/esp8266_DazzleLed_ws2812 | jsbutton.h | <gh_stars>1-10
/* 3-Way Button: Click, Double-Click, Press+Hold
*
* By <NAME>
*
* Oct. 13, 2009
*
* To keep a physical interface as simple as possible, this sketch demonstrates generating four output events from a single push-button.
*
* 1) Click: rapid press and release
* 2) Double-Click: two clicks in q... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.