after
stringlengths 72
2.11k
| before
stringlengths 21
1.55k
| diff
stringlengths 85
2.31k
| instruction
stringlengths 20
1.71k
| license
stringclasses 13
values | repos
stringlengths 7
82.6k
| commit
stringlengths 40
40
|
---|---|---|---|---|---|---|
//
// SMViewController.h
// SMPageControl
//
// Created by Jerry Jones on 10/13/12.
// Copyright (c) 2012 Spaceman Labs. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "SMPageControl.h"
@interface SMViewController : UIViewController
@property (nonatomic, weak) IBOutlet UIScrollView *scrollview;
@property (nonatomic, weak) IBOutlet UIPageControl *pageControl;
@property (nonatomic, weak) IBOutlet SMPageControl *spacePageControl1;
@property (nonatomic, weak) IBOutlet SMPageControl *spacePageControl2;
@property (nonatomic, weak) IBOutlet SMPageControl *spacePageControl3;
@property (nonatomic, weak) IBOutlet SMPageControl *spacePageControl4;
@property (nonatomic, weak) IBOutlet SMPageControl *spacePageControl5;
@property (nonatomic, weak) IBOutlet SMPageControl *spacePageControl6;
@property (nonatomic, weak) IBOutlet SMPageControl *spacePageControl7;
@property (nonatomic, weak) IBOutlet SMPageControl *spacePageControl8;
@end
| //
// SMViewController.h
// SMPageControl
//
// Created by Jerry Jones on 10/13/12.
// Copyright (c) 2012 Spaceman Labs. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "SMPageControl.h"
@interface SMViewController : UIViewController
@property (nonatomic, readonly) IBOutlet UIScrollView *scrollview;
@property (nonatomic, readonly) IBOutlet UIPageControl *pageControl;
@property (nonatomic, readonly) IBOutlet SMPageControl *spacePageControl1;
@property (nonatomic, readonly) IBOutlet SMPageControl *spacePageControl2;
@property (nonatomic, readonly) IBOutlet SMPageControl *spacePageControl3;
@property (nonatomic, readonly) IBOutlet SMPageControl *spacePageControl4;
@property (nonatomic, readonly) IBOutlet SMPageControl *spacePageControl5;
@property (nonatomic, readonly) IBOutlet SMPageControl *spacePageControl6;
@property (nonatomic, readonly) IBOutlet SMPageControl *spacePageControl7;
@property (nonatomic, readonly) IBOutlet SMPageControl *spacePageControl8;
@end
| ---
+++
@@ -11,15 +11,15 @@
@interface SMViewController : UIViewController
-@property (nonatomic, readonly) IBOutlet UIScrollView *scrollview;
-@property (nonatomic, readonly) IBOutlet UIPageControl *pageControl;
-@property (nonatomic, readonly) IBOutlet SMPageControl *spacePageControl1;
-@property (nonatomic, readonly) IBOutlet SMPageControl *spacePageControl2;
-@property (nonatomic, readonly) IBOutlet SMPageControl *spacePageControl3;
-@property (nonatomic, readonly) IBOutlet SMPageControl *spacePageControl4;
-@property (nonatomic, readonly) IBOutlet SMPageControl *spacePageControl5;
-@property (nonatomic, readonly) IBOutlet SMPageControl *spacePageControl6;
-@property (nonatomic, readonly) IBOutlet SMPageControl *spacePageControl7;
-@property (nonatomic, readonly) IBOutlet SMPageControl *spacePageControl8;
+@property (nonatomic, weak) IBOutlet UIScrollView *scrollview;
+@property (nonatomic, weak) IBOutlet UIPageControl *pageControl;
+@property (nonatomic, weak) IBOutlet SMPageControl *spacePageControl1;
+@property (nonatomic, weak) IBOutlet SMPageControl *spacePageControl2;
+@property (nonatomic, weak) IBOutlet SMPageControl *spacePageControl3;
+@property (nonatomic, weak) IBOutlet SMPageControl *spacePageControl4;
+@property (nonatomic, weak) IBOutlet SMPageControl *spacePageControl5;
+@property (nonatomic, weak) IBOutlet SMPageControl *spacePageControl6;
+@property (nonatomic, weak) IBOutlet SMPageControl *spacePageControl7;
+@property (nonatomic, weak) IBOutlet SMPageControl *spacePageControl8;
@end | Change IBOutlet attributes from readonly to weak
This fixes the warning "readonly IBOutlet property when auto-synthesized may not work correctly with 'nib' loader".
Also, weak is better than assign when using weak references to objects, because weak prevents dangling pointers.
| mit | doanhkisi/SMPageControl,CorzFree/SMPageControl,Spaceman-Labs/SMPageControl,HelloWilliam/SMPageControl | c0cf830770eba3893b0c61317d8772f9e837ddbf |
/*
**
** Author(s):
** - Cedric GESTES <[email protected]>
**
** Copyright (C) 2012 Aldebaran Robotics
*/
#ifndef _QIMESSAGING_OBJECT_H_
#define _QIMESSAGING_OBJECT_H_
#include <qimessaging/c/api_c.h>
#ifdef __cplusplus
extern "C"
{
#endif
typedef struct qi_object_t_s {} qi_object_t;
//forward declaration
typedef struct qi_message_t_s qi_message_t;
typedef struct qi_future_t_s qi_future_t;
typedef void (*qi_object_method_t)(const char *complete_signature, qi_message_t *msg, qi_message_t *ret, void *data);
QIMESSAGING_API qi_object_t *qi_object_create(const char *name);
QIMESSAGING_API void qi_object_destroy(qi_object_t *object);
QIMESSAGING_API int qi_object_register_method(qi_object_t *object, const char *complete_signature, qi_object_method_t func, void *data);
QIMESSAGING_API qi_future_t *qi_object_call(qi_object_t *object, const char *signature, qi_message_t *message);
#ifdef __cplusplus
}
#endif
#endif
| /*
**
** Author(s):
** - Cedric GESTES <[email protected]>
**
** Copyright (C) 2012 Aldebaran Robotics
*/
#ifndef _QIMESSAGING_OBJECT_H_
#define _QIMESSAGING_OBJECT_H_
#include <qimessaging/c/api_c.h>
#ifdef __cplusplus
extern "C"
{
#endif
typedef struct qi_object_t_s {} qi_object_t;
//forward declaration
typedef struct qi_message_t_s qi_message_t;
typedef struct qi_future_t_s qi_future_t;
QIMESSAGING_API typedef void (*qi_object_method_t)(const char *complete_signature, qi_message_t *msg, qi_message_t *ret, void *data);
QIMESSAGING_API qi_object_t *qi_object_create(const char *name);
QIMESSAGING_API void qi_object_destroy(qi_object_t *object);
QIMESSAGING_API int qi_object_register_method(qi_object_t *object, const char *complete_signature, qi_object_method_t func, void *data);
QIMESSAGING_API qi_future_t *qi_object_call(qi_object_t *object, const char *signature, qi_message_t *message);
#ifdef __cplusplus
}
#endif
#endif
| ---
+++
@@ -23,7 +23,7 @@
typedef struct qi_future_t_s qi_future_t;
- QIMESSAGING_API typedef void (*qi_object_method_t)(const char *complete_signature, qi_message_t *msg, qi_message_t *ret, void *data);
+ typedef void (*qi_object_method_t)(const char *complete_signature, qi_message_t *msg, qi_message_t *ret, void *data);
QIMESSAGING_API qi_object_t *qi_object_create(const char *name);
QIMESSAGING_API void qi_object_destroy(qi_object_t *object);
| Remove unnecessary API export on typedef
Change-Id: Id9b225ad5a7a645763f4377c7f949e9c9bd4f890
Reviewed-on: http://gerrit.aldebaran.lan:8080/4588
Reviewed-by: llec <[email protected]>
Tested-by: llec <[email protected]>
| bsd-3-clause | bsautron/libqi,aldebaran/libqi,aldebaran/libqi,aldebaran/libqi-java,aldebaran/libqi-java,aldebaran/libqi,aldebaran/libqi-java,vbarbaresi/libqi | 79278824c6433ef6634532a1b5192961acc248a4 |
#include "parser.h"
#include "ast.h"
#include "tests.h"
void test_parse_number();
int main() {
test_parse_number();
return 0;
}
struct token *make_token(enum token_type tk_type, char* str, double dbl,
int number) {
struct token *tk = malloc(sizeof(struct token));
tk->type = tk_type;
if (tk_type == tok_dbl) {
tk->value.dbl = dbl;
} else if (tk_type == tok_number) {
tk->value.num = number;
} else {
tk->value.string = str;
}
return tk;
}
void test_parse_number() {
struct token_list *tkl = make_token_list();
tkl.append(make_token(tok_number, NULL, 0.0, 42);
struct ast_node *result = parse_number(tkl);
EXPECT_EQ(result->val, tkl->head);
EXPECT_EQ(result->num_children, 0);
destroy_token_list(tkl);
}
| #include "parser.h"
#include "ast.h"
#include "tests.h"
void test_parse_number();
int main() {
test_parse_number();
return 0;
}
struct token *make_token(enum token_type tk_type, char* str, double dbl,
int number) {
struct token *tk = malloc(sizeof(struct token));
tk->type = tk_type;
if (tk_type == tok_dbl) {
tk->value.dbl = dbl;
} else if (tk_type == tok_number) {
tk->value.number = number;
} else {
tk->value.string = string;
}
return tk;
}
void test_parse_number() {
struct token_list *tkl = make_token_list();
tkl.append(make_token(tok_number, NULL, 0.0, 42);
struct ast_node *result = parse_number(tkl);
EXPECT_EQ(result->val, tkl->head);
EXPECT_EQ(result->num_children, 0);
destroy_token_list(tkl);
}
| ---
+++
@@ -16,9 +16,9 @@
if (tk_type == tok_dbl) {
tk->value.dbl = dbl;
} else if (tk_type == tok_number) {
- tk->value.number = number;
+ tk->value.num = number;
} else {
- tk->value.string = string;
+ tk->value.string = str;
}
return tk;
} | Fix typo in parser tests
| mit | iankronquist/yaz,iankronquist/yaz | bab54887404e9f7d4fc68ce2e41ad6bae8035f55 |
// For conditions of distribution and use, see copyright notice in license.txt
#ifndef incl_CoreDefines_h
#define incl_CoreDefines_h
// useful defines
#define SAFE_DELETE(p) { delete p; p=0; }
#define SAFE_DELETE_ARRAY(p) { delete [] p; p=0; }
#define NUMELEMS(x) (sizeof(x)/sizeof(x[0]))
/// Use this template to downcast from a base class to a derived class when you know by static code analysis what the derived
/// type has to be and don't want to pay the runtime performance incurred by dynamic_casting. In debug mode, the proper
/// derived type will be assert()ed, but in release mode this be just the same as using static_cast.
/// Repeating to make a note: In RELEASE mode, checked_static_cast == static_cast. It is *NOT* a substitute to use in places
/// where you really need a dynamic_cast.
template<typename Dst, typename Src>
inline Dst checked_static_cast(Src src)
{
assert(src == 0 || dynamic_cast<Dst>(src) != 0);
return static_cast<Dst>(src);
}
//! use to suppress warning C4101 (unreferenced local variable)
#define UNREFERENCED_PARAM(P) (P)
/// Use for QObjects
#define SAFE_DELETE_LATER(p) { if ((p)) (p)->deleteLater(); (p) = 0; }
#endif
| // For conditions of distribution and use, see copyright notice in license.txt
#ifndef incl_CoreDefines_h
#define incl_CoreDefines_h
// useful defines
#define SAFE_DELETE(p) { delete p; p=0; }
#define SAFE_DELETE_ARRAY(p) { delete [] p; p=0; }
#define NUMELEMS(x) (sizeof(x)/sizeof(x[0]))
/// Use this template to downcast from a base class to a derived class when you know by static code analysis what the derived
/// type has to be and don't want to pay the runtime performance incurred by dynamic_casting. In debug mode, the proper
/// derived type will be assert()ed, but in release mode this be just the same as using static_cast.
/// Repeating to make a note: In RELEASE mode, checked_static_cast == static_cast. It is *NOT* a substitute to use in places
/// where you really need a dynamic_cast.
template<typename Dst, typename Src>
inline Dst checked_static_cast(Src src)
{
assert(dynamic_cast<Dst>(src) != 0);
return static_cast<Dst>(src);
}
//! use to suppress warning C4101 (unreferenced local variable)
#define UNREFERENCED_PARAM(P) (P)
/// Use for QObjects
#define SAFE_DELETE_LATER(p) { if ((p)) (p)->deleteLater(); (p) = 0; }
#endif
| ---
+++
@@ -18,7 +18,7 @@
template<typename Dst, typename Src>
inline Dst checked_static_cast(Src src)
{
- assert(dynamic_cast<Dst>(src) != 0);
+ assert(src == 0 || dynamic_cast<Dst>(src) != 0);
return static_cast<Dst>(src);
}
| Fix checked_static_cast to allow null pointers.
| apache-2.0 | antont/tundra,jesterKing/naali,antont/tundra,antont/tundra,realXtend/tundra,pharos3d/tundra,jesterKing/naali,jesterKing/naali,AlphaStaxLLC/tundra,antont/tundra,BogusCurry/tundra,BogusCurry/tundra,BogusCurry/tundra,antont/tundra,realXtend/tundra,jesterKing/naali,AlphaStaxLLC/tundra,pharos3d/tundra,AlphaStaxLLC/tundra,BogusCurry/tundra,jesterKing/naali,pharos3d/tundra,AlphaStaxLLC/tundra,pharos3d/tundra,BogusCurry/tundra,antont/tundra,BogusCurry/tundra,AlphaStaxLLC/tundra,realXtend/tundra,antont/tundra,jesterKing/naali,pharos3d/tundra,pharos3d/tundra,realXtend/tundra,realXtend/tundra,realXtend/tundra,AlphaStaxLLC/tundra,jesterKing/naali | a726bc24664b69fd2f5899dab2a6155d3bd6b963 |
/* chardata.h
Interface to some helper routines used to accumulate and check text
and attribute content.
*/
#ifndef XML_CHARDATA_H
#define XML_CHARDATA_H 1
#ifndef XML_VERSION
#include "expat.h" /* need XML_Char */
#endif
typedef struct {
int count; /* # of chars, < 0 if not set */
XML_Char data[1024];
} CharData;
void CharData_Init(CharData *storage);
void CharData_AppendString(CharData *storage, const char *s);
void CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len);
int CharData_CheckString(CharData *storage, const char *s);
int CharData_CheckXMLChars(CharData *storage, const XML_Char *s);
#endif /* XML_CHARDATA_H */
| /* chardata.h
*
*
*/
#ifndef XML_CHARDATA_H
#define XML_CHARDATA_H 1
#ifndef XML_VERSION
#include "expat.h" /* need XML_Char */
#endif
typedef struct {
int count; /* # of chars, < 0 if not set */
XML_Char data[1024];
} CharData;
void CharData_Init(CharData *storage);
void CharData_AppendString(CharData *storage, const char *s);
void CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len);
int CharData_CheckString(CharData *storage, const char *s);
int CharData_CheckXMLChars(CharData *storage, const XML_Char *s);
#endif /* XML_CHARDATA_H */
| ---
+++
@@ -1,7 +1,8 @@
-/* chardata.h
- *
- *
- */
+/* chardata.h
+
+ Interface to some helper routines used to accumulate and check text
+ and attribute content.
+*/
#ifndef XML_CHARDATA_H
#define XML_CHARDATA_H 1 | Add a small comment to tell what this is.
| mit | tiran/expat,libexpat/libexpat,libexpat/libexpat,libexpat/libexpat,tiran/expat,libexpat/libexpat,libexpat/libexpat,libexpat/libexpat,tiran/expat,tiran/expat | 219908bec636b75ca0c002af697d801ecbcee418 |
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <Python.h>
#include <pygobject.h>
#include <pango/pangocairo.h>
#include <pycairo.h>
void pycluttercairo_register_classes (PyObject *d);
void pycluttercairo_add_constants (PyObject *module, const gchar *strip_prefix);
extern PyMethodDef pycluttercairo_functions[];
#if 0
extern PyTypeObject PyClutterCairoContext_Type;
#endif
Pycairo_CAPI_t *Pycairo_CAPI;
DL_EXPORT(void)
initcluttercairo (void)
{
PyObject *m, *d;
/* perform any initialisation required by the library here */
m = Py_InitModule ("cluttercairo", pycluttercairo_functions);
d = PyModule_GetDict (m);
Pycairo_IMPORT;
if (Pycairo_CAPI == NULL)
return;
#if 0
PyClutterCairoContext_Type.tp_base = &PycairoContext_Type;
if (PyType_Ready(&PyClutterCairoContext_Type) < 0) {
g_return_if_reached ();
}
#endif
init_pygobject ();
pycluttercairo_register_classes (d);
#if 0
Py_INCREF (&PyClutterCairoContext_Type);
PyModule_AddObject (m, "CairoContext",
(PyObject *) &PyClutterCairoContext_Type)
;
#endif
if (PyErr_Occurred ()) {
Py_FatalError ("unable to initialise cluttercairo module");
}
}
| #ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <Python.h>
#include <pygobject.h>
#include <pango/pangocairo.h>
#include <pycairo.h>
void pycluttercairo_register_classes (PyObject *d);
void pycluttercairo_add_constants (PyObject *module, const gchar *strip_prefix);
extern PyMethodDef pycluttercairo_functions[];
extern PyTypeObject PyClutterCairoContext_Type;
Pycairo_CAPI_t *Pycairo_CAPI;
DL_EXPORT(void)
initcluttercairo (void)
{
PyObject *m, *d;
/* perform any initialisation required by the library here */
m = Py_InitModule ("cluttercairo", pycluttercairo_functions);
d = PyModule_GetDict (m);
Pycairo_IMPORT;
if (Pycairo_CAPI == NULL)
return;
#if 0
PyClutterCairoContext_Type.tp_base = &PycairoContext_Type;
if (PyType_Ready(&PyClutterCairoContext_Type) < 0) {
g_return_if_reached ();
}
#endif
init_pygobject ();
pycluttercairo_register_classes (d);
Py_INCREF (&PyClutterCairoContext_Type);
PyModule_AddObject (m, "CairoContext",
(PyObject *) &PyClutterCairoContext_Type)
;
}
| ---
+++
@@ -11,7 +11,10 @@
void pycluttercairo_add_constants (PyObject *module, const gchar *strip_prefix);
extern PyMethodDef pycluttercairo_functions[];
+
+#if 0
extern PyTypeObject PyClutterCairoContext_Type;
+#endif
Pycairo_CAPI_t *Pycairo_CAPI;
@@ -40,8 +43,14 @@
pycluttercairo_register_classes (d);
+#if 0
Py_INCREF (&PyClutterCairoContext_Type);
PyModule_AddObject (m, "CairoContext",
(PyObject *) &PyClutterCairoContext_Type)
;
+#endif
+
+ if (PyErr_Occurred ()) {
+ Py_FatalError ("unable to initialise cluttercairo module");
+ }
} | Comment out the code to subclass CairoContext
We don't have any method on the cairo_t returned by ClutterCairo::create()
at the moment, so we don't need the machinery to register it as our own
subclass type. I prefer to leave it in place, so that we can use it later.
| lgpl-2.1 | GNOME/pyclutter,pmarti/pyclutter,pmarti/pyclutter,pmarti/pyclutter,GNOME/pyclutter,pmarti/pyclutter | 01a10a317285f66f5343aa894388f425168c869b |
#ifdef GUADALUPE_SPREAD
int cpumap(int i, int nprocs)
{
return (i / 36) * 36 + (i % 2) * 18 + (i % 36 / 2);
}
#elif GUADALUPE_MIC_COMPACT
int cpumap(int i, int nprocs)
{
return (i + 1) % 228;
}
#elif BIOU_COMPACT
int cpumap(int i, int nprocs)
{
return (i % 4) * 32 + i / 4;
}
#else
int cpumap(int id, int nprocs)
{
return id % nprocs;
}
#endif
| #ifdef GUADALUPE_SPREAD
int cpumap(int i, int nprocs)
{
return (i / 36) * 36 + (i % 2) * 18 + (i % 36 / 2);
}
#elif GUADALUPE_MIC_COMPACT
int cpumap(int i, int nprocs)
{
return (i + 1) % 228;
}
#else
int cpumap(int id, int nprocs)
{
return id % nprocs;
}
#endif
| ---
+++
@@ -12,6 +12,13 @@
return (i + 1) % 228;
}
+#elif BIOU_COMPACT
+
+int cpumap(int i, int nprocs)
+{
+ return (i % 4) * 32 + i / 4;
+}
+
#else
int cpumap(int id, int nprocs) | Add compact allocation on BioU.
| mit | chaoran/hpc-queue,chaoran/fast-wait-free-queue,chaoran/hpc-queue,chaoran/fast-wait-free-queue,chaoran/hpc-queue,chaoran/fast-wait-free-queue | 2a8c9a3aa4d28232e294877316f4a11bbc03ee7e |
#ifndef HAL1_H
#define HAL1_H
// Configurable constants
int const MAIN_MOTOR_PWM_TOP = 255;
int const MAIN_MOTOR_BRAKE_SPEED = 120;
int const MAIN_MOTOR_MIN_SPEED = 150;
int const MAIN_MOTOR_MED_SPEED = 254;
int const MAIN_MOTOR_MAX_SPEED = 255;
int const MAGNET_OPEN_WAIT = 5; // 10ths of a second
void init(void);
void main_motor_stop();
void main_motor_cw_open(uint8_t speed);
void main_motor_ccw_close(uint8_t speed);
void set_main_motor_speed(int speed);
int get_main_motor_speed();
void aux_motor_stop();
void aux_motor_cw_close();
void aux_motor_ccw_open();
void magnet_off();
void magnet_on();
bool door_nearly_open();
bool door_fully_open();
bool door_fully_closed();
bool sensor_proximity();
bool button_openclose();
bool button_stop();
bool main_encoder();
bool aux_outdoor_limit();
bool aux_indoor_limit();
bool door_nearly_closed();
bool aux_encoder();
#endif
| // Configurable constants
int const MAIN_MOTOR_PWM_TOP = 255;
int const MAIN_MOTOR_BRAKE_SPEED = 120;
int const MAIN_MOTOR_MIN_SPEED = 150;
int const MAIN_MOTOR_MED_SPEED = 254;
int const MAIN_MOTOR_MAX_SPEED = 255;
int const MAGNET_OPEN_WAIT = 5; // 10ths of a second
void init(void);
| ---
+++
@@ -1,3 +1,6 @@
+#ifndef HAL1_H
+#define HAL1_H
+
// Configurable constants
int const MAIN_MOTOR_PWM_TOP = 255;
@@ -8,3 +11,28 @@
int const MAGNET_OPEN_WAIT = 5; // 10ths of a second
void init(void);
+
+void main_motor_stop();
+void main_motor_cw_open(uint8_t speed);
+void main_motor_ccw_close(uint8_t speed);
+void set_main_motor_speed(int speed);
+int get_main_motor_speed();
+void aux_motor_stop();
+void aux_motor_cw_close();
+void aux_motor_ccw_open();
+void magnet_off();
+void magnet_on();
+bool door_nearly_open();
+bool door_fully_open();
+bool door_fully_closed();
+
+bool sensor_proximity();
+bool button_openclose();
+bool button_stop();
+bool main_encoder();
+bool aux_outdoor_limit();
+bool aux_indoor_limit();
+bool door_nearly_closed();
+bool aux_encoder();
+
+#endif | Add function prototypes and ifndef wrapper
| unlicense | plzz/ovisysteemi,plzz/ovisysteemi | e5be6c05567bab2c6d13fc3e8b3cb869a387327c |
/*
* (C) 2001 by Matthias Andree
*/
/*
* This file (leafnode-version.c) is public domain. It comes without and
* express or implied warranties. Do with this file whatever you wish, but
* don't remove the disclaimer.
*/
#include <stdio.h>
#include "leafnode.h"
#ifdef WITH_DMALLOC
#include <dmalloc.h>
#endif
#include "config.h"
int
main(void)
{
static char env_path[] = "PATH=/bin:/usr/bin";
/* ------------------------------------------------ */
/* *** IMPORTANT ***
*
* external tools depend on the first line of this output, which is
* in the fixed format
* version: leafnode-2.3.4...
*/
fputs("version: leafnode-", stdout);
puts(version);
/* changable parts below :-) */
fputs("current machine: ", stdout);
fflush(stdout);
putenv(env_path);
if (system("uname -a"))
puts(" (error)");
fputs("bindir: ", stdout);
puts(bindir);
fputs("sysconfdir: ", stdout);
puts(sysconfdir);
fputs("default spooldir: ", stdout);
puts(def_spooldir);
#ifdef HAVE_IPV6
puts("IPv6: yes");
#else
puts("IPv6: no");
#endif
fputs("default MTA: ", stdout);
puts(DEFAULTMTA);
exit(0);
}
| /*
* (C) 2001 by Matthias Andree
*/
/*
* This file (leafnode-version.c) is public domain. It comes without and
* express or implied warranties. Do with this file whatever you wish, but
* don't remove the disclaimer.
*/
#include <stdio.h>
#include "leafnode.h"
#ifdef WITH_DMALLOC
#include <dmalloc.h>
#endif
#include "config.h"
int
main(void)
{
static char env_path[] = "PATH=/bin:/usr/bin";
/* ------------------------------------------------ */
/* *** IMPORTANT ***
*
* external tools depend on the first line of this output, which is
* in the fixed format
* version: leafnode-2.3.4...
*/
fputs("version: leafnode-", stdout);
puts(version);
/* changable parts below :-) */
fputs("current machine: ", stdout);
fflush(stdout);
putenv(env_path);
if (system("uname -a"))
puts(" (error)");
fputs("bindir: ", stdout);
puts(bindir);
fputs("sysconfdir: ", stdout);
puts(sysconfdir);
fputs("spooldir: ", stdout);
puts(spooldir);
fputs("lockfile: ", stdout);
puts(lockfile);
#ifdef HAVE_IPV6
puts("IPv6: yes");
#else
puts("IPv6: no");
#endif
fputs("default MTA: ", stdout);
puts(DEFAULTMTA);
exit(0);
}
| ---
+++
@@ -40,10 +40,8 @@
puts(bindir);
fputs("sysconfdir: ", stdout);
puts(sysconfdir);
- fputs("spooldir: ", stdout);
- puts(spooldir);
- fputs("lockfile: ", stdout);
- puts(lockfile);
+ fputs("default spooldir: ", stdout);
+ puts(def_spooldir);
#ifdef HAVE_IPV6
puts("IPv6: yes");
#else | Fix up the spooldir/lockfile changes that caused a segfault. | lgpl-2.1 | BackupTheBerlios/leafnode,BackupTheBerlios/leafnode,BackupTheBerlios/leafnode,BackupTheBerlios/leafnode | 04743587bbbf4330680ca61ef7ab4392df3529de |
#include <mongoc.h>
#include <mongoc-openssl-private.h>
#include "TestSuite.h"
static void
test_extract_subject (void)
{
char *subject;
subject = mongoc_ssl_extract_subject (BINARY_DIR"/../certificates/client.pem");
ASSERT_CMPSTR (subject, "CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US");
bson_free (subject);
}
void
test_x509_install (TestSuite *suite)
{
TestSuite_Add (suite, "/SSL/extract_subject", test_extract_subject);
}
| #include <mongoc.h>
#include <mongoc-openssl-private.h>
#include "TestSuite.h"
static void
test_extract_subject (void)
{
char *subject;
subject = _mongoc_openssl_extract_subject (BINARY_DIR"/../certificates/client.pem");
ASSERT (0 == strcmp (subject, "CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US"));
bson_free (subject);
}
void
test_x509_install (TestSuite *suite)
{
TestSuite_Add (suite, "/SSL/extract_subject", test_extract_subject);
}
| ---
+++
@@ -9,8 +9,8 @@
{
char *subject;
- subject = _mongoc_openssl_extract_subject (BINARY_DIR"/../certificates/client.pem");
- ASSERT (0 == strcmp (subject, "CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US"));
+ subject = mongoc_ssl_extract_subject (BINARY_DIR"/../certificates/client.pem");
+ ASSERT_CMPSTR (subject, "CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US");
bson_free (subject);
}
| Improve test output on failure
| apache-2.0 | remicollet/mongo-c-driver,acmorrow/mongo-c-driver,christopherjwang/mongo-c-driver,mschoenlaub/mongo-c-driver,Convey-Compliance/mongo-c-driver,mongodb/mongo-c-driver,derickr/mongo-c-driver,jmikola/mongo-c-driver,Machyne/mongo-c-driver,Convey-Compliance/mongo-c-driver,remicollet/mongo-c-driver,bjori/mongo-c-driver,bjori/mongo-c-driver,beingmeta/mongo-c-driver,Convey-Compliance/mongo-c-driver,bjori/mongo-c-driver,jmikola/mongo-c-driver,rcsanchez97/mongo-c-driver,Machyne/mongo-c-driver,beingmeta/mongo-c-driver,derickr/mongo-c-driver,bjori/mongo-c-driver,ajdavis/mongo-c-driver,malexzx/mongo-c-driver,remicollet/mongo-c-driver,beingmeta/mongo-c-driver,remicollet/mongo-c-driver,ac000/mongo-c-driver,acmorrow/mongo-c-driver,rcsanchez97/mongo-c-driver,ac000/mongo-c-driver,ajdavis/mongo-c-driver,mongodb/mongo-c-driver,jmikola/mongo-c-driver,jmikola/mongo-c-driver,bjori/mongo-c-driver,rcsanchez97/mongo-c-driver,ajdavis/mongo-c-driver,bjori/mongo-c-driver,derickr/mongo-c-driver,derickr/mongo-c-driver,christopherjwang/mongo-c-driver,ajdavis/mongo-c-driver,malexzx/mongo-c-driver,mongodb/mongo-c-driver,Machyne/mongo-c-driver,malexzx/mongo-c-driver,christopherjwang/mongo-c-driver,ajdavis/mongo-c-driver,remicollet/mongo-c-driver,jmikola/mongo-c-driver,rcsanchez97/mongo-c-driver,Convey-Compliance/mongo-c-driver,acmorrow/mongo-c-driver,mschoenlaub/mongo-c-driver,ajdavis/mongo-c-driver,ac000/mongo-c-driver,rcsanchez97/mongo-c-driver,beingmeta/mongo-c-driver,acmorrow/mongo-c-driver,acmorrow/mongo-c-driver,remicollet/mongo-c-driver,Machyne/mongo-c-driver,beingmeta/mongo-c-driver,rcsanchez97/mongo-c-driver,mongodb/mongo-c-driver,mongodb/mongo-c-driver,beingmeta/mongo-c-driver,acmorrow/mongo-c-driver,mongodb/mongo-c-driver,derickr/mongo-c-driver,Convey-Compliance/mongo-c-driver,christopherjwang/mongo-c-driver,bjori/mongo-c-driver,jmikola/mongo-c-driver,malexzx/mongo-c-driver,jmikola/mongo-c-driver,acmorrow/mongo-c-driver,beingmeta/mongo-c-driver,mschoenlaub/mongo-c-driver,ajdavis/mongo-c-driver,mschoenlaub/mongo-c-driver,mongodb/mongo-c-driver,remicollet/mongo-c-driver,derickr/mongo-c-driver,derickr/mongo-c-driver,rcsanchez97/mongo-c-driver,beingmeta/mongo-c-driver | 4909c1c0f260f2fcae73dd48982e2a4f22025e99 |
#pragma once
#ifndef INCL_NETWORKOS
#define INCL_NETWORKOS
#include <iostream>
#include <memory>
#include <string>
#include <vector>
#include <map>
#include <cstdlib>
#if defined(_MSC_VER)
#include <WinSock2.h>
#include <WS2tcpip.h>
#include <inaddr.h>
#include <in6addr.h>
#include <mstcpip.h>
#define SHUT_RDWR SD_BOTH
typedef int socklen_t;
#pragma comment(lib, "ws2_32.lib")
#undef SetPort
#else
#include <sys/ioctl.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <netinet/ip.h>
#include <netinet/ip6.h>
#include <netinet/tcp.h>
typedef unsigned int socklen_t;
#define INVALID_SOCKET (-1)
#endif
#endif
| #pragma once
#ifndef INCL_NETWORKOS
#define INCL_NETWORKOS
#include <iostream>
#include <memory>
#include <string>
#include <vector>
#include <map>
#include <cstdlib>
#ifdef WIN32
#include <WinSock2.h>
#include <WS2tcpip.h>
#include <inaddr.h>
#include <in6addr.h>
#include <mstcpip.h>
#define SHUT_RDWR SD_BOTH
typedef int socklen_t;
#pragma comment(lib, "ws2_32.lib")
#undef SetPort
#else
#include <sys/ioctl.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <netinet/ip.h>
#include <netinet/ip6.h>
#include <netinet/tcp.h>
typedef unsigned int socklen_t;
#define INVALID_SOCKET (-1)
#endif
#endif
| ---
+++
@@ -9,7 +9,7 @@
#include <map>
#include <cstdlib>
-#ifdef WIN32
+#if defined(_MSC_VER)
#include <WinSock2.h>
#include <WS2tcpip.h>
#include <inaddr.h> | Use variable that cmake defines instead of specific one
| mit | Meisaka/NetPort | eb87dfe4886db065ce24f1f2db3570497366a559 |
#include <ruby.h>
#include "client.h"
static VALUE rb_metrics_report_metric(VALUE self, VALUE user_id, VALUE key, VALUE val) {
char * user_id_str, * key_str;
int result = 0;
user_id_str = RSTRING_PTR(user_id);
key_str = RSTRING_PTR(key);
/* Figure out what this belongs to and call the apprioriate one. */
switch(TYPE(val)) {
case T_FIXNUM:
result = metrici((const char *)user_id_str, (const char *)key_str, FIX2INT(val));
break;
case T_FLOAT:
result = metricd((const char *)user_id_str, (const char *)key_str, NUM2DBL(val));
break;
default:
rb_raise(rb_eTypeError, "Value is not a valid type. Expecting Fixnum or Float.");
break;
}
return (result > 0) ? T_TRUE : T_FALSE;
}
static VALUE rb_metrics_initialize(VALUE self, VALUE hostname, VALUE port) {
if(!FIXNUM_P(port)) {
rb_raise(rb_eTypeError, "Port is not a Fixnum.");
return T_FALSE;
}
rb_iv_set(self, "hostname", hostname);
rb_iv_set(self, "port", port);
return T_TRUE;
}
void Init_metrics(void) {
VALUE rb_mMetrics = rb_define_module("Metrics");
VALUE rb_cNativeClient = rb_define_class_under(rb_mMetrics, "NativeClient", rb_cObject);
rb_define_singleton_method(rb_cNativeClient, "report_metric", rb_metrics_report_metric, 3);
rb_define_method(rb_cNativeClient, "initialize", rb_metrics_initialize, 2);
}
| #include <ruby.h>
#include "client.h"
static VALUE metrics_report_metric(VALUE self, VALUE user_id, VALUE key, VALUE val) {
char * user_id_str, * key_str;
int result = 0;
user_id_str = RSTRING_PTR(user_id);
key_str = RSTRING_PTR(key);
/* Figure out what this belongs to and call the apprioriate one. */
switch(TYPE(val)) {
case T_FIXNUM:
result = metrici((const char *)user_id_str, (const char *)key_str, FIX2INT(val));
break;
case T_FLOAT:
result = metricd((const char *)user_id_str, (const char *)key_str, NUM2DBL(val));
break;
default:
rb_raise(rb_eTypeError, "Value is not a valid type. Expecting Fixnum or Float.");
break;
}
return (result > 0) ? T_TRUE : T_FALSE;
}
void Init_metrics(void) {
VALUE klass = rb_define_class("Metrics", rb_cObject);
rb_define_singleton_method(klass, "report_metric", metrics_report_metric, 3);
}
| ---
+++
@@ -1,7 +1,7 @@
#include <ruby.h>
#include "client.h"
-static VALUE metrics_report_metric(VALUE self, VALUE user_id, VALUE key, VALUE val) {
+static VALUE rb_metrics_report_metric(VALUE self, VALUE user_id, VALUE key, VALUE val) {
char * user_id_str, * key_str;
int result = 0;
@@ -24,7 +24,21 @@
return (result > 0) ? T_TRUE : T_FALSE;
}
+static VALUE rb_metrics_initialize(VALUE self, VALUE hostname, VALUE port) {
+ if(!FIXNUM_P(port)) {
+ rb_raise(rb_eTypeError, "Port is not a Fixnum.");
+ return T_FALSE;
+ }
+
+ rb_iv_set(self, "hostname", hostname);
+ rb_iv_set(self, "port", port);
+
+ return T_TRUE;
+}
+
void Init_metrics(void) {
- VALUE klass = rb_define_class("Metrics", rb_cObject);
- rb_define_singleton_method(klass, "report_metric", metrics_report_metric, 3);
+ VALUE rb_mMetrics = rb_define_module("Metrics");
+ VALUE rb_cNativeClient = rb_define_class_under(rb_mMetrics, "NativeClient", rb_cObject);
+ rb_define_singleton_method(rb_cNativeClient, "report_metric", rb_metrics_report_metric, 3);
+ rb_define_method(rb_cNativeClient, "initialize", rb_metrics_initialize, 2);
} | Move this in to an actual class.
| mit | bradhe/metrics-client,bradhe/metrics-client | 472bd7982e5a006fbbe75a0cd88ba494b31719d6 |
#include "plrCompare.h"
#include <stdio.h>
int plrC_compareArgs(const syscallArgs_t *args1, const syscallArgs_t *args2) {
int faultVal = 0;
#define CompareElement(elem, faultBit) \
if (args1->elem != args2->elem) { \
faultVal |= 1 << faultBit; \
printf("Argument miscompare in " #elem ", 0x%lX != 0x%lX\n", \
(unsigned long)args1->elem, (unsigned long)args2->elem); \
}
CompareElement(addr, 0);
CompareElement(arg[0], 1);
CompareElement(arg[1], 2);
CompareElement(arg[2], 3);
CompareElement(arg[3], 4);
CompareElement(arg[4], 5);
CompareElement(arg[5], 6);
return faultVal;
}
| #include "plrCompare.h"
int plrC_compareArgs(const syscallArgs_t *args1, const syscallArgs_t *args2) {
int foundDiff = 0;
if (args1->addr != args2->addr) { foundDiff = 1; }
else if (args1->arg[0] != args2->arg[0]) { foundDiff = 2; }
else if (args1->arg[1] != args2->arg[1]) { foundDiff = 3; }
else if (args1->arg[2] != args2->arg[2]) { foundDiff = 4; }
else if (args1->arg[3] != args2->arg[3]) { foundDiff = 5; }
else if (args1->arg[4] != args2->arg[4]) { foundDiff = 6; }
else if (args1->arg[5] != args2->arg[5]) { foundDiff = 7; }
return foundDiff;
}
| ---
+++
@@ -1,13 +1,23 @@
#include "plrCompare.h"
+#include <stdio.h>
int plrC_compareArgs(const syscallArgs_t *args1, const syscallArgs_t *args2) {
- int foundDiff = 0;
- if (args1->addr != args2->addr) { foundDiff = 1; }
- else if (args1->arg[0] != args2->arg[0]) { foundDiff = 2; }
- else if (args1->arg[1] != args2->arg[1]) { foundDiff = 3; }
- else if (args1->arg[2] != args2->arg[2]) { foundDiff = 4; }
- else if (args1->arg[3] != args2->arg[3]) { foundDiff = 5; }
- else if (args1->arg[4] != args2->arg[4]) { foundDiff = 6; }
- else if (args1->arg[5] != args2->arg[5]) { foundDiff = 7; }
- return foundDiff;
+ int faultVal = 0;
+
+ #define CompareElement(elem, faultBit) \
+ if (args1->elem != args2->elem) { \
+ faultVal |= 1 << faultBit; \
+ printf("Argument miscompare in " #elem ", 0x%lX != 0x%lX\n", \
+ (unsigned long)args1->elem, (unsigned long)args2->elem); \
+ }
+
+ CompareElement(addr, 0);
+ CompareElement(arg[0], 1);
+ CompareElement(arg[1], 2);
+ CompareElement(arg[2], 3);
+ CompareElement(arg[3], 4);
+ CompareElement(arg[4], 5);
+ CompareElement(arg[5], 6);
+
+ return faultVal;
} | Add logging to syscall arg compare for debugging purposes
| mit | apogeedev/plr,apogeedev/plr | b09bd3d3896c448f8817ee7515e3af0314605ab1 |
#include "minunit.h"
#include <terror/file_utils.h>
#include <assert.h>
char *test_getlines()
{
bstring str = bfromcstr("one\ntwo\nthree\nfour\nfive\n");
struct bstrList *file = bsplit(str, '\n');
DArray *lines = getlines(file, 2, 4);
bstring two = bfromcstr("two");
bstring three = bfromcstr("three");
bstring four = bfromcstr("four");
mu_assert(DArray_count(lines) == 3, "Wrong number of lines.");
mu_assert(bstrcmp((bstring)DArray_at(lines, 0), two) == 0, "First line is wrong.");
mu_assert(bstrcmp((bstring)DArray_at(lines, 1), three) == 0, "Second line is wrong.");
mu_assert(bstrcmp((bstring)DArray_at(lines, 2), four) == 0, "Third line is wrong.");
bstrListDestroy(file);
bdestroy(str);
bdestroy(two);
bdestroy(three);
bdestroy(four);
DArray_destroy(lines);
return NULL;
}
char *all_tests() {
mu_suite_start();
mu_run_test(test_getlines);
return NULL;
}
RUN_TESTS(all_tests);
| #include "minunit.h"
#include <terror/file_utils.h>
#include <assert.h>
char *test_getlines()
{
bstring str = bfromcstr("one\ntwo\nthree\nfour\nfive\n");
struct bstrList *file = bsplit(str, '\n');
DArray *lines = getlines(file, 2, 4);
mu_assert(DArray_count(lines) == 3, "Wrong number of lines.");
mu_assert(bstrcmp((bstring)DArray_at(lines, 0), bfromcstr("two")) == 0, "First line is wrong.");
mu_assert(bstrcmp((bstring)DArray_at(lines, 1), bfromcstr("three")) == 0, "Second line is wrong.");
mu_assert(bstrcmp((bstring)DArray_at(lines, 2), bfromcstr("four")) == 0, "Third line is wrong.");
return NULL;
}
char *all_tests() {
mu_suite_start();
mu_run_test(test_getlines);
return NULL;
}
RUN_TESTS(all_tests);
| ---
+++
@@ -9,10 +9,21 @@
DArray *lines = getlines(file, 2, 4);
+ bstring two = bfromcstr("two");
+ bstring three = bfromcstr("three");
+ bstring four = bfromcstr("four");
+
mu_assert(DArray_count(lines) == 3, "Wrong number of lines.");
- mu_assert(bstrcmp((bstring)DArray_at(lines, 0), bfromcstr("two")) == 0, "First line is wrong.");
- mu_assert(bstrcmp((bstring)DArray_at(lines, 1), bfromcstr("three")) == 0, "Second line is wrong.");
- mu_assert(bstrcmp((bstring)DArray_at(lines, 2), bfromcstr("four")) == 0, "Third line is wrong.");
+ mu_assert(bstrcmp((bstring)DArray_at(lines, 0), two) == 0, "First line is wrong.");
+ mu_assert(bstrcmp((bstring)DArray_at(lines, 1), three) == 0, "Second line is wrong.");
+ mu_assert(bstrcmp((bstring)DArray_at(lines, 2), four) == 0, "Third line is wrong.");
+
+ bstrListDestroy(file);
+ bdestroy(str);
+ bdestroy(two);
+ bdestroy(three);
+ bdestroy(four);
+ DArray_destroy(lines);
return NULL;
} | Make file utils tests valgrind-kosher
| mit | txus/terrorvm,txus/terrorvm,txus/terrorvm,txus/terrorvm | b191b25f364aa679173756114884231b4314eb24 |
/*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef MIRTK_Status_H
#define MIRTK_Status_H
namespace mirtk {
// -----------------------------------------------------------------------------
/// Enumeration of common states for entities such as objective function parameters
enum Status
{
Active,
Passive
};
} // namespace mirtk
#endif // MIRTK_Status_H
| /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef MIRTK_Status_H
#define MIRTK_Status_H
namespace mirtk {
// -----------------------------------------------------------------------------
/// Enumeration of common states for entities such as objective function parameters
enum Status
{
Active,
Passive,
};
} // namespace mirtk
#endif // MIRTK_Status_H
| ---
+++
@@ -28,7 +28,7 @@
enum Status
{
Active,
- Passive,
+ Passive
};
| style: Remove needless comma after last enumeration value [Common]
| apache-2.0 | schuhschuh/MIRTK,BioMedIA/MIRTK,schuhschuh/MIRTK,BioMedIA/MIRTK,stefanpsz/MIRTK,stefanpsz/MIRTK,stefanpsz/MIRTK,schuhschuh/MIRTK,BioMedIA/MIRTK,BioMedIA/MIRTK,schuhschuh/MIRTK,stefanpsz/MIRTK | 51e169a1422fe902f3b9aa165e7058ea636baf22 |
//
// Created by Michael Kuck on 7/7/16.
// Copyright (c) 2016 Michael Kuck. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@class FIRDatabaseReference;
@class FIRDataSnapshot;
//============================================================
//== Public Interface
//============================================================
@interface MKFirebaseModel : NSObject
@property (nonatomic, readonly) FIRDatabaseReference *firebaseRef;
@property (nonatomic, readonly) NSString *identifier;
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithFirebaseRef:(FIRDatabaseReference *)firebaseRef snapshotValue:(NSDictionary *)snapshotValue NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithSnapshot:(FIRDataSnapshot *)snapshot;
- (BOOL)isEqualToFirebaseModel:(MKFirebaseModel *)firebaseModel;
@end
NS_ASSUME_NONNULL_END
| //
// Created by Michael Kuck on 7/7/16.
// Copyright (c) 2016 Michael Kuck. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@class FIRDatabaseReference;
@class FIRDataSnapshot;
//============================================================
//== Public Interface
//============================================================
@interface MKFirebaseModel : NSObject
@property (nonatomic, readonly) FIRDatabaseReference *firebaseRef;
@property (nonatomic, readonly) NSString *identifier;
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithFirebaseRef:(FIRDatabaseReference *)firebaseRef snapshotValue:(NSDictionary *)snapshotValue NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithSnapshot:(FIRDataSnapshot *)snapshot;
@end
NS_ASSUME_NONNULL_END
| ---
+++
@@ -22,6 +22,8 @@
- (instancetype)initWithFirebaseRef:(FIRDatabaseReference *)firebaseRef snapshotValue:(NSDictionary *)snapshotValue NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithSnapshot:(FIRDataSnapshot *)snapshot;
+- (BOOL)isEqualToFirebaseModel:(MKFirebaseModel *)firebaseModel;
+
@end
NS_ASSUME_NONNULL_END | Add `isEqualToFirebaseModel:` to public header
| mit | mikumi/MKFirebaseObjectMapping,mikumi/MKFirebaseObjectMapping,mikumi/MKFirebaseObjectMapping | 1a3c1576138400b28ca7093a842dc7d044d5892b |
/* This module exposes to PHP the equivalent of:
* // Creates a chdb file containing the key-value pairs specified in the
* // array $data, or throws an exception in case of error.
* function chdb_create($pathname, $data);
*
* // Represents a loaded chdb file.
* class chdb
* {
* // Loads a chdb file, or throws an exception in case of error.
* public function __construct($pathname);
*
* // Returns the value of the given $key, or null if not found.
* public function get($key);
* }
*/
#ifndef PHP_CHDB_H
#define PHP_CHDB_H
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <php.h>
#define PHP_CHDB_VERSION "0.1.0"
extern zend_module_entry chdb_module_entry;
#define phpext_chdb_ptr &chdb_module_entry
#endif
| /* This module exposes to PHP the equivalent of:
* // Creates a chdb file containing the key-value pairs specified in the
* // array $data, or throws an exception in case of error.
* function chdb_create($pathname, $data);
*
* // Represents a loaded chdb file.
* class chdb
* {
* // Loads a chdb file, or throws an exception in case of error.
* public function __construct($pathname);
*
* // Returns the value of the given $key, or null if not found.
* public function get($key);
* }
*/
#ifndef PHP_CHDB_H
#define PHP_CHDB_H
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <php.h>
#define PHP_CHDB_VERSION "0.1"
extern zend_module_entry chdb_module_entry;
#define phpext_chdb_ptr &chdb_module_entry
#endif
| ---
+++
@@ -23,7 +23,7 @@
#include <php.h>
-#define PHP_CHDB_VERSION "0.1"
+#define PHP_CHDB_VERSION "0.1.0"
extern zend_module_entry chdb_module_entry;
#define phpext_chdb_ptr &chdb_module_entry | Change version to 0.1.0 to follow the PHP standard.
| bsd-3-clause | lcastelli/chdb | d6476e4f3c29fc64ddb0b6ac8db81162deff1a41 |
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkMesaGLContext_DEFINED
#define SkMesaGLContext_DEFINED
#include "SkGLContext.h"
#if SK_MESA
class SkMesaGLContext : public SkGLContext {
private:
typedef intptr_t Context;
public:
SkMesaGLContext();
virtual ~SkMesaGLContext();
virtual void makeCurrent() const SK_OVERRIDE;
class AutoContextRestore {
public:
AutoContextRestore();
~AutoContextRestore();
private:
Context fOldContext;
GrGLint fOldWidth;
GrGLint fOldHeight;
GrGLint fOldFormat;
void* fOldImage;
};
protected:
virtual const GrGLInterface* createGLContext() SK_OVERRIDE;
virtual void destroyGLContext() SK_OVERRIDE;
private:
Context fContext;
GrGLubyte *fImage;
};
#endif
#endif
|
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkMesaGLContext_DEFINED
#define SkMesaGLContext_DEFINED
#include "SkGLContext.h"
#if SK_MESA
class SkMesaGLContext : public SkGLContext {
private:
typedef intptr_t Context;
public:
SkMesaGLContext();
virtual ~SkMesaGLContext();
virtual void makeCurrent() const SK_OVERRIDE;
class AutoContextRestore {
public:
AutoContextRestore();
~AutoContextRestore();
private:
Context fOldContext;
GLint fOldWidth;
GLint fOldHeight;
GLint fOldFormat;
void* fOldImage;
};
protected:
virtual const GrGLInterface* createGLContext() SK_OVERRIDE;
virtual void destroyGLContext() SK_OVERRIDE;
private:
Context fContext;
GrGLubyte *fImage;
};
#endif
#endif
| ---
+++
@@ -30,9 +30,9 @@
private:
Context fOldContext;
- GLint fOldWidth;
- GLint fOldHeight;
- GLint fOldFormat;
+ GrGLint fOldWidth;
+ GrGLint fOldHeight;
+ GrGLint fOldFormat;
void* fOldImage;
};
| Fix undefined GLint in Mac builds
git-svn-id: e8541e15acce502a64c929015570ad1648e548cd@3736 2bbb7eff-a529-9590-31e7-b0007b416f81
| bsd-3-clause | MatChung/color-emoji.skia,Frankie-666/color-emoji.skia,hbwhlklive/color-emoji.skia,hbwhlklive/color-emoji.skia,MatChung/color-emoji.skia,Frankie-666/color-emoji.skia,hbwhlklive/color-emoji.skia,Frankie-666/color-emoji.skia,Frankie-666/color-emoji.skia,Hankuo/color-emoji.skia,Hankuo/color-emoji.skia,MatChung/color-emoji.skia,MatChung/color-emoji.skia,MatChung/color-emoji.skia,Hankuo/color-emoji.skia,Frankie-666/color-emoji.skia,Hankuo/color-emoji.skia,Hankuo/color-emoji.skia,hbwhlklive/color-emoji.skia,Frankie-666/color-emoji.skia,hbwhlklive/color-emoji.skia,Hankuo/color-emoji.skia,hbwhlklive/color-emoji.skia,MatChung/color-emoji.skia | f4d017d65f7e464baeacc04987f5201eabc90c49 |
#ifndef _NPY_PRIVATE_BUFFER_H_
#define _NPY_PRIVATE_BUFFER_H_
#ifdef NPY_ENABLE_SEPARATE_COMPILATION
extern NPY_NO_EXPORT PyBufferProcs array_as_buffer;
#else
NPY_NO_EXPORT PyBufferProcs array_as_buffer;
#endif
#endif
| #ifndef _NPY_PRIVATE_BUFFER_H_
#define _NPY_PRIVATE_BUFFER_H_
#ifdef NPY_ENABLE_MULTIPLE_COMPILATION
extern NPY_NO_EXPORT PyBufferProcs array_as_buffer;
#else
NPY_NO_EXPORT PyBufferProcs array_as_buffer;
#endif
#endif
| ---
+++
@@ -1,7 +1,7 @@
#ifndef _NPY_PRIVATE_BUFFER_H_
#define _NPY_PRIVATE_BUFFER_H_
-#ifdef NPY_ENABLE_MULTIPLE_COMPILATION
+#ifdef NPY_ENABLE_SEPARATE_COMPILATION
extern NPY_NO_EXPORT PyBufferProcs array_as_buffer;
#else
NPY_NO_EXPORT PyBufferProcs array_as_buffer; | Fix mispelled separate compilation macro.
| bsd-3-clause | numpy/numpy-refactor,ESSS/numpy,mhvk/numpy,ddasilva/numpy,gmcastil/numpy,sonnyhu/numpy,dwf/numpy,Srisai85/numpy,cjermain/numpy,mindw/numpy,GrimDerp/numpy,matthew-brett/numpy,anntzer/numpy,jorisvandenbossche/numpy,felipebetancur/numpy,mingwpy/numpy,SiccarPoint/numpy,rherault-insa/numpy,pbrod/numpy,pelson/numpy,has2k1/numpy,solarjoe/numpy,CMartelLML/numpy,drasmuss/numpy,pelson/numpy,utke1/numpy,MaPePeR/numpy,rgommers/numpy,ChristopherHogan/numpy,anntzer/numpy,behzadnouri/numpy,pdebuyl/numpy,dch312/numpy,rgommers/numpy,Srisai85/numpy,abalkin/numpy,ChanderG/numpy,rmcgibbo/numpy,skwbc/numpy,jankoslavic/numpy,GaZ3ll3/numpy,WarrenWeckesser/numpy,Linkid/numpy,cowlicks/numpy,sinhrks/numpy,mattip/numpy,Yusa95/numpy,mattip/numpy,sonnyhu/numpy,rherault-insa/numpy,solarjoe/numpy,rhythmsosad/numpy,sigma-random/numpy,cowlicks/numpy,njase/numpy,ahaldane/numpy,cjermain/numpy,andsor/numpy,hainm/numpy,charris/numpy,Srisai85/numpy,ssanderson/numpy,stefanv/numpy,rajathkumarmp/numpy,ajdawson/numpy,nguyentu1602/numpy,mwiebe/numpy,charris/numpy,tynn/numpy,BabeNovelty/numpy,trankmichael/numpy,yiakwy/numpy,dch312/numpy,dwillmer/numpy,mattip/numpy,jakirkham/numpy,pizzathief/numpy,seberg/numpy,rajathkumarmp/numpy,MSeifert04/numpy,Anwesh43/numpy,bmorris3/numpy,BabeNovelty/numpy,kiwifb/numpy,rmcgibbo/numpy,githubmlai/numpy,seberg/numpy,seberg/numpy,brandon-rhodes/numpy,KaelChen/numpy,mathdd/numpy,argriffing/numpy,immerrr/numpy,njase/numpy,andsor/numpy,simongibbons/numpy,jorisvandenbossche/numpy,Anwesh43/numpy,WillieMaddox/numpy,endolith/numpy,naritta/numpy,ewmoore/numpy,trankmichael/numpy,bertrand-l/numpy,ddasilva/numpy,dato-code/numpy,MichaelAquilina/numpy,NextThought/pypy-numpy,mathdd/numpy,grlee77/numpy,MSeifert04/numpy,pyparallel/numpy,ogrisel/numpy,brandon-rhodes/numpy,nbeaver/numpy,musically-ut/numpy,astrofrog/numpy,skymanaditya1/numpy,SiccarPoint/numpy,numpy/numpy,bertrand-l/numpy,jorisvandenbossche/numpy,numpy/numpy-refactor,simongibbons/numpy,ChristopherHogan/numpy,skwbc/numpy,felipebetancur/numpy,jakirkham/numpy,ContinuumIO/numpy,charris/numpy,leifdenby/numpy,njase/numpy,stuarteberg/numpy,drasmuss/numpy,BMJHayward/numpy,nguyentu1602/numpy,rudimeier/numpy,githubmlai/numpy,ewmoore/numpy,ewmoore/numpy,mhvk/numpy,embray/numpy,dimasad/numpy,simongibbons/numpy,BabeNovelty/numpy,stuarteberg/numpy,Eric89GXL/numpy,pizzathief/numpy,rmcgibbo/numpy,musically-ut/numpy,jakirkham/numpy,jonathanunderwood/numpy,utke1/numpy,bertrand-l/numpy,sigma-random/numpy,cowlicks/numpy,abalkin/numpy,rgommers/numpy,Yusa95/numpy,Eric89GXL/numpy,stefanv/numpy,nbeaver/numpy,ajdawson/numpy,brandon-rhodes/numpy,KaelChen/numpy,groutr/numpy,mortada/numpy,githubmlai/numpy,tynn/numpy,yiakwy/numpy,pizzathief/numpy,endolith/numpy,nbeaver/numpy,Eric89GXL/numpy,jorisvandenbossche/numpy,larsmans/numpy,embray/numpy,pizzathief/numpy,GrimDerp/numpy,anntzer/numpy,BabeNovelty/numpy,pbrod/numpy,SunghanKim/numpy,tdsmith/numpy,sigma-random/numpy,mindw/numpy,rudimeier/numpy,larsmans/numpy,rudimeier/numpy,sinhrks/numpy,CMartelLML/numpy,astrofrog/numpy,astrofrog/numpy,pbrod/numpy,pelson/numpy,b-carter/numpy,WarrenWeckesser/numpy,tacaswell/numpy,has2k1/numpy,stefanv/numpy,ekalosak/numpy,naritta/numpy,rherault-insa/numpy,empeeu/numpy,stuarteberg/numpy,chiffa/numpy,groutr/numpy,cjermain/numpy,jakirkham/numpy,WillieMaddox/numpy,immerrr/numpy,tdsmith/numpy,WarrenWeckesser/numpy,Dapid/numpy,mwiebe/numpy,ChanderG/numpy,shoyer/numpy,stefanv/numpy,WarrenWeckesser/numpy,numpy/numpy-refactor,mhvk/numpy,CMartelLML/numpy,jankoslavic/numpy,mindw/numpy,grlee77/numpy,skymanaditya1/numpy,stefanv/numpy,Srisai85/numpy,Anwesh43/numpy,MaPePeR/numpy,sinhrks/numpy,mwiebe/numpy,ewmoore/numpy,MaPePeR/numpy,skymanaditya1/numpy,gfyoung/numpy,empeeu/numpy,KaelChen/numpy,grlee77/numpy,trankmichael/numpy,musically-ut/numpy,tynn/numpy,jonathanunderwood/numpy,BMJHayward/numpy,mortada/numpy,shoyer/numpy,Linkid/numpy,ssanderson/numpy,Eric89GXL/numpy,has2k1/numpy,charris/numpy,numpy/numpy-refactor,Anwesh43/numpy,naritta/numpy,joferkington/numpy,githubmlai/numpy,ajdawson/numpy,pdebuyl/numpy,dimasad/numpy,SunghanKim/numpy,matthew-brett/numpy,AustereCuriosity/numpy,dimasad/numpy,cowlicks/numpy,ajdawson/numpy,bringingheavendown/numpy,ssanderson/numpy,empeeu/numpy,mathdd/numpy,ddasilva/numpy,madphysicist/numpy,hainm/numpy,brandon-rhodes/numpy,madphysicist/numpy,sonnyhu/numpy,astrofrog/numpy,mhvk/numpy,WillieMaddox/numpy,dwf/numpy,MichaelAquilina/numpy,ViralLeadership/numpy,rudimeier/numpy,rajathkumarmp/numpy,grlee77/numpy,shoyer/numpy,gmcastil/numpy,maniteja123/numpy,SiccarPoint/numpy,rmcgibbo/numpy,hainm/numpy,seberg/numpy,b-carter/numpy,Linkid/numpy,larsmans/numpy,ahaldane/numpy,rhythmsosad/numpy,dwillmer/numpy,AustereCuriosity/numpy,pelson/numpy,numpy/numpy,madphysicist/numpy,ekalosak/numpy,CMartelLML/numpy,argriffing/numpy,ChanderG/numpy,ahaldane/numpy,chiffa/numpy,rhythmsosad/numpy,musically-ut/numpy,rajathkumarmp/numpy,moreati/numpy,empeeu/numpy,jschueller/numpy,BMJHayward/numpy,GaZ3ll3/numpy,chatcannon/numpy,tacaswell/numpy,mattip/numpy,anntzer/numpy,kirillzhuravlev/numpy,ChanderG/numpy,ogrisel/numpy,ChristopherHogan/numpy,Dapid/numpy,GaZ3ll3/numpy,hainm/numpy,endolith/numpy,mindw/numpy,felipebetancur/numpy,nguyentu1602/numpy,MichaelAquilina/numpy,jschueller/numpy,Dapid/numpy,ogrisel/numpy,SiccarPoint/numpy,Linkid/numpy,dch312/numpy,madphysicist/numpy,madphysicist/numpy,mortada/numpy,ogrisel/numpy,WarrenWeckesser/numpy,kirillzhuravlev/numpy,ogrisel/numpy,chiffa/numpy,matthew-brett/numpy,MichaelAquilina/numpy,groutr/numpy,sonnyhu/numpy,mhvk/numpy,numpy/numpy,chatcannon/numpy,ekalosak/numpy,MaPePeR/numpy,ahaldane/numpy,naritta/numpy,andsor/numpy,skymanaditya1/numpy,drasmuss/numpy,mathdd/numpy,dwillmer/numpy,dato-code/numpy,bringingheavendown/numpy,felipebetancur/numpy,yiakwy/numpy,joferkington/numpy,dimasad/numpy,abalkin/numpy,KaelChen/numpy,jonathanunderwood/numpy,numpy/numpy,pyparallel/numpy,numpy/numpy-refactor,ContinuumIO/numpy,pbrod/numpy,ahaldane/numpy,rgommers/numpy,joferkington/numpy,joferkington/numpy,jschueller/numpy,matthew-brett/numpy,skwbc/numpy,Yusa95/numpy,dwf/numpy,MSeifert04/numpy,bmorris3/numpy,nguyentu1602/numpy,NextThought/pypy-numpy,MSeifert04/numpy,SunghanKim/numpy,maniteja123/numpy,simongibbons/numpy,mingwpy/numpy,dch312/numpy,maniteja123/numpy,leifdenby/numpy,ChristopherHogan/numpy,bmorris3/numpy,tdsmith/numpy,yiakwy/numpy,pelson/numpy,Yusa95/numpy,ContinuumIO/numpy,tacaswell/numpy,argriffing/numpy,grlee77/numpy,kiwifb/numpy,shoyer/numpy,behzadnouri/numpy,gfyoung/numpy,jankoslavic/numpy,NextThought/pypy-numpy,ViralLeadership/numpy,kirillzhuravlev/numpy,andsor/numpy,mingwpy/numpy,jankoslavic/numpy,mortada/numpy,BMJHayward/numpy,jorisvandenbossche/numpy,embray/numpy,tdsmith/numpy,behzadnouri/numpy,stuarteberg/numpy,kirillzhuravlev/numpy,solarjoe/numpy,embray/numpy,immerrr/numpy,GrimDerp/numpy,dwillmer/numpy,ESSS/numpy,larsmans/numpy,dato-code/numpy,leifdenby/numpy,simongibbons/numpy,ViralLeadership/numpy,SunghanKim/numpy,GrimDerp/numpy,moreati/numpy,bmorris3/numpy,NextThought/pypy-numpy,mingwpy/numpy,cjermain/numpy,jakirkham/numpy,sigma-random/numpy,ESSS/numpy,utke1/numpy,bringingheavendown/numpy,dwf/numpy,embray/numpy,GaZ3ll3/numpy,dwf/numpy,gfyoung/numpy,dato-code/numpy,pizzathief/numpy,ekalosak/numpy,jschueller/numpy,shoyer/numpy,pbrod/numpy,pyparallel/numpy,sinhrks/numpy,MSeifert04/numpy,rhythmsosad/numpy,pdebuyl/numpy,AustereCuriosity/numpy,kiwifb/numpy,endolith/numpy,astrofrog/numpy,moreati/numpy,pdebuyl/numpy,b-carter/numpy,matthew-brett/numpy,chatcannon/numpy,trankmichael/numpy,gmcastil/numpy,has2k1/numpy,immerrr/numpy,ewmoore/numpy | ddd0a6ac92572a6e6016f5fbc9fda7eaedc7b114 |
/**
* @file tree/bounds.h
*
* Bounds that are useful for binary space partitioning trees.
*
* TODO: Come up with a better design so you can do plug-and-play distance
* metrics.
*
* @experimental
*/
#ifndef TREE_BOUNDS_H
#define TREE_BOUNDS_H
#include <mlpack/core/math/math_lib.h>
#include <mlpack/core/math/range.h>
#include <mlpack/core/math/kernel.h>
#include <mlpack/core/kernels/lmetric.h>
#include "hrectbound.h"
#include "dhrectperiodicbound.h"
#include "dballbound.h"
#endif // TREE_BOUNDS_H
| /**
* @file tree/bounds.h
*
* Bounds that are useful for binary space partitioning trees.
*
* TODO: Come up with a better design so you can do plug-and-play distance
* metrics.
*
* @experimental
*/
#ifndef TREE_BOUNDS_H
#define TREE_BOUNDS_H
#include <mlpack/core/math/math_lib.h>
#include <mlpack/core/kernels/lmetric.h>
#include "hrectbound.h"
#include "dhrectperiodicbound.h"
#include "dballbound.h"
#endif // TREE_BOUNDS_H
| ---
+++
@@ -13,6 +13,8 @@
#define TREE_BOUNDS_H
#include <mlpack/core/math/math_lib.h>
+#include <mlpack/core/math/range.h>
+#include <mlpack/core/math/kernel.h>
#include <mlpack/core/kernels/lmetric.h>
#include "hrectbound.h"
#include "dhrectperiodicbound.h" | Include the correct files since math_lib.h no longer does that.
| bsd-3-clause | ersanliqiao/mlpack,ranjan1990/mlpack,trungda/mlpack,darcyliu/mlpack,Azizou/mlpack,erubboli/mlpack,ranjan1990/mlpack,thirdwing/mlpack,ajjl/mlpack,BookChan/mlpack,Azizou/mlpack,ajjl/mlpack,bmswgnp/mlpack,stereomatchingkiss/mlpack,stereomatchingkiss/mlpack,Azizou/mlpack,bmswgnp/mlpack,theranger/mlpack,theranger/mlpack,trungda/mlpack,datachand/mlpack,minhpqn/mlpack,trungda/mlpack,BookChan/mlpack,thirdwing/mlpack,ajjl/mlpack,chenmoshushi/mlpack,datachand/mlpack,minhpqn/mlpack,datachand/mlpack,erubboli/mlpack,minhpqn/mlpack,palashahuja/mlpack,darcyliu/mlpack,ranjan1990/mlpack,stereomatchingkiss/mlpack,BookChan/mlpack,palashahuja/mlpack,palashahuja/mlpack,lezorich/mlpack,ersanliqiao/mlpack,lezorich/mlpack,ersanliqiao/mlpack,lezorich/mlpack,chenmoshushi/mlpack,erubboli/mlpack,darcyliu/mlpack,theranger/mlpack,chenmoshushi/mlpack,bmswgnp/mlpack,thirdwing/mlpack | f503a09cc3e24c8a87a16ab55b8bf2eedb2f0b85 |
#ifndef _HELPERS_H
#define _HELPERS_H
#include <stdarg.h>
#include <stdio.h>
#include <stdint.h>
#define LENGTH(x) (sizeof(x) / sizeof(*x))
#define MAX(A, B) ((A) > (B) ? (A) : (B))
#define MIN(A, B) ((A) < (B) ? (A) : (B))
#define BOOLSTR(A) ((A) ? "true" : "false")
#define MAXLEN 256
#define XCB_CONFIG_WINDOW_X_Y_WIDTH_HEIGHT XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y | XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT
#define XCB_CONFIG_WINDOW_X_Y XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y
#ifdef DEBUG
# define PUTS(x) puts(x)
# define PRINTF(x,...) printf(x, __VA_ARGS__)
#else
# define PUTS(x) ((void)0)
# define PRINTF(x,...) ((void)0)
#endif
void logmsg(FILE *, char *, va_list);
void warn(char *, ...);
__attribute__((noreturn))
void die(char *, ...);
uint32_t get_color(char *);
#endif
| #ifndef _HELPERS_H
#define _HELPERS_H
#include <stdarg.h>
#include <stdio.h>
#include <stdint.h>
#define LENGTH(x) (sizeof(x) / sizeof(*x))
#define MAX(A, B) ((A) > (B) ? (A) : (B))
#define MIN(A, B) ((A) < (B) ? (A) : (B))
#define BOOLSTR(A) ((A) ? "true" : "false")
#define MAXLEN 256
#define XCB_CONFIG_WINDOW_X_Y_WIDTH_HEIGHT XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y | XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT
#define XCB_CONFIG_WINDOW_X_Y XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y
#ifdef DEBUG
# define PUTS(x) puts(x)
# define PRINTF(x,...) printf(x, ##__VA_ARGS__)
#else
# define PUTS(x) ((void)0)
# define PRINTF(x,...) ((void)0)
#endif
void logmsg(FILE *, char *, va_list);
void warn(char *, ...);
__attribute__((noreturn))
void die(char *, ...);
uint32_t get_color(char *);
#endif
| ---
+++
@@ -16,7 +16,7 @@
#ifdef DEBUG
# define PUTS(x) puts(x)
-# define PRINTF(x,...) printf(x, ##__VA_ARGS__)
+# define PRINTF(x,...) printf(x, __VA_ARGS__)
#else
# define PUTS(x) ((void)0)
# define PRINTF(x,...) ((void)0) | Address the non-portability of the PRINTF macro
| bsd-2-clause | nfnty/bspwm,0re5ama/bspwm,netzverweigerer/bspwm,nfnty/bspwm,JBouron/bspwm,JBouron/bspwm,XiKuuKy/bspwm,JBouron/bspwm,medisun/bspwm,Stebalien/bspwm,jbalint/bspwm,jbalint/bspwm,nfnty/bspwm,baskerville/bspwm,0re5ama/bspwm,medisun/bspwm,medisun/bspwm,XiKuuKy/bspwm,ikn/bspwm,netzverweigerer/bspwm,baskerville/bspwm,0re5ama/bspwm,Stebalien/bspwm,ikn/bspwm,jbalint/bspwm | ad7dfb9776553aefa94360bcf87032bea8a069fa |
/*
* Insert Copyright Here.
*/
#ifdef LBS
#define MASTERNODE "192.168.1.25"
#else
#define MASTERNODE "boss.emulab.net"
#endif
#define TBSERVER_PORT 7777
#define MYBUFSIZE 1024
| /*
* Insert Copyright Here.
*/
#ifdef LBS
#define MASTERNODE "206.163.153.25"
#else
#define MASTERNODE "boss.emulab.net"
#endif
#define TBSERVER_PORT 7777
#define MYBUFSIZE 1024
| ---
+++
@@ -3,7 +3,7 @@
*/
#ifdef LBS
-#define MASTERNODE "206.163.153.25"
+#define MASTERNODE "192.168.1.25"
#else
#define MASTERNODE "boss.emulab.net"
#endif | Change the IP of my home machine for testing.
| agpl-3.0 | nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome | 509a2f29b962ea555660743a485f97b1dacbaf1d |
//
// OCTClient+Activity.h
// OctoKit
//
// Created by Piet Brauer on 14.02.14.
// Copyright (c) 2014 GitHub. All rights reserved.
//
#import "OCTClient.h"
@class RACSignal;
@class OCTRepository;
@interface OCTClient (Activity)
// Check if the user starred the `repository`.
//
// repository - The repository used to check the starred status. Cannot be nil.
//
// Returns a signal, which will send a NSNumber valued @YES or @NO.
// If the client is not `authenticated`, the signal will error immediately.
- (RACSignal *)hasUserStarredRepository:(OCTRepository *)repository;
// Star the given `repository`
//
// repository - The repository to star. Cannot be nil.
//
// Returns a signal, which will send completed on success. If the client
// is not `authenticated`, the signal will error immediately.
- (RACSignal *)starRepository:(OCTRepository *)repository;
// Unstar the given `repository`
//
// repository - The repository to unstar. Cannot be nil.
//
// Returns a signal, which will send completed on success. If the client
// is not `authenticated`, the signal will error immediately.
- (RACSignal *)unstarRepository:(OCTRepository *)repository;
@end
| //
// OCTClient+Activity.h
// OctoKit
//
// Created by Piet Brauer on 14.02.14.
// Copyright (c) 2014 GitHub. All rights reserved.
//
#import "OCTClient.h"
@class RACSignal;
@class OCTRepository;
@interface OCTClient (Activity)
// Check if the user starred the `repository`.
//
// repository - The repository used to check the starred status. Cannot be nil.
//
// Returns a signal, which will send completed on success. If the client
// is not `authenticated`, the signal will error immediately.
- (RACSignal *)hasUserStarredRepository:(OCTRepository *)repository;
// Star the given `repository`
//
// repository - The repository to star. Cannot be nil.
//
// Returns a signal, which will send completed on success. If the client
// is not `authenticated`, the signal will error immediately.
- (RACSignal *)starRepository:(OCTRepository *)repository;
// Unstar the given `repository`
//
// repository - The repository to unstar. Cannot be nil.
//
// Returns a signal, which will send completed on success. If the client
// is not `authenticated`, the signal will error immediately.
- (RACSignal *)unstarRepository:(OCTRepository *)repository;
@end
| ---
+++
@@ -16,8 +16,8 @@
//
// repository - The repository used to check the starred status. Cannot be nil.
//
-// Returns a signal, which will send completed on success. If the client
-// is not `authenticated`, the signal will error immediately.
+// Returns a signal, which will send a NSNumber valued @YES or @NO.
+// If the client is not `authenticated`, the signal will error immediately.
- (RACSignal *)hasUserStarredRepository:(OCTRepository *)repository;
// Star the given `repository` | Change documentation to fit return of NSNumber | mit | CHNLiPeng/octokit.objc,jonesgithub/octokit.objc,cnbin/octokit.objc,leichunfeng/octokit.objc,jonesgithub/octokit.objc,cnbin/octokit.objc,CleanShavenApps/octokit.objc,Acidburn0zzz/octokit.objc,wrcj12138aaa/octokit.objc,Palleas/octokit.objc,daemonchen/octokit.objc,CHNLiPeng/octokit.objc,GroundControl-Solutions/octokit.objc,phatblat/octokit.objc,Palleas/octokit.objc,daukantas/octokit.objc,xantage/octokit.objc,wrcj12138aaa/octokit.objc,yeahdongcn/octokit.objc,leichunfeng/octokit.objc,daukantas/octokit.objc,phatblat/octokit.objc,daemonchen/octokit.objc,xantage/octokit.objc,GroundControl-Solutions/octokit.objc,Acidburn0zzz/octokit.objc | bcccfa6cd2b6e4335b479bdfc137567fd5585f37 |
#ifndef CJET_CONFIG_H
#define CJET_CONFIG_H
#define SERVER_PORT 11122
#define LISTEN_BACKLOG 40
/*
* It is somehow beneficial if this size is 32 bit aligned.
*/
#define MAX_MESSAGE_SIZE 512
#define WRITE_BUFFER_CHUNK 512
#define MAX_WRITE_BUFFER_SIZE (10 * (WRITE_BUFFER_CHUNK))
/* Linux specific configs */
#define MAX_EPOLL_EVENTS 100
#endif
| #ifndef CJET_CONFIG_H
#define CJET_CONFIG_H
#define SERVER_PORT 11122
#define LISTEN_BACKLOG 40
/*
* It is somehow beneficial if this size is 32 bit aligned.
*/
#define MAX_MESSAGE_SIZE 512
#define WRITE_BUFFER_CHUNK 512
#define MAX_WRITE_BUFFER_SIZE 10 * WRITE_BUFFER_CHUNK
/* Linux specific configs */
#define MAX_EPOLL_EVENTS 100
#endif
| ---
+++
@@ -8,7 +8,7 @@
*/
#define MAX_MESSAGE_SIZE 512
#define WRITE_BUFFER_CHUNK 512
-#define MAX_WRITE_BUFFER_SIZE 10 * WRITE_BUFFER_CHUNK
+#define MAX_WRITE_BUFFER_SIZE (10 * (WRITE_BUFFER_CHUNK))
/* Linux specific configs */
#define MAX_EPOLL_EVENTS 100 | Use some paranthesis around macro parameters.
| mit | mloy/cjet,gatzka/cjet,gatzka/cjet,gatzka/cjet,gatzka/cjet,mloy/cjet,mloy/cjet,mloy/cjet,mloy/cjet,gatzka/cjet | 8b9c56f917399fd11e05f0561c095c275035c095 |
#include <stdlib.h>
#include <stdio.h>
#include <check.h>
#include "check_check.h"
int main (void)
{
int n;
SRunner *sr;
fork_setup();
setup_fixture();
sr = srunner_create (make_master_suite());
srunner_add_suite(sr, make_list_suite());
srunner_add_suite(sr, make_msg_suite());
srunner_add_suite(sr, make_log_suite());
srunner_add_suite(sr, make_limit_suite());
srunner_add_suite(sr, make_fork_suite());
srunner_add_suite(sr, make_fixture_suite());
srunner_add_suite(sr, make_pack_suite());
setup();
printf ("Ran %d tests in subordinate suite\n", sub_ntests);
srunner_run_all (sr, CK_NORMAL);
cleanup();
fork_teardown();
teardown_fixture();
n = srunner_ntests_failed(sr);
srunner_free(sr);
return (n == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
}
| #include <stdlib.h>
#include <stdio.h>
#include <check.h>
#include "check_check.h"
int main (void)
{
int n;
SRunner *sr;
fork_setup();
setup_fixture();
sr = srunner_create (make_master_suite());
srunner_add_suite(sr, make_list_suite());
srunner_add_suite(sr, make_msg_suite());
srunner_add_suite(sr, make_log_suite());
srunner_add_suite(sr, make_limit_suite());
srunner_add_suite(sr, make_fork_suite());
srunner_add_suite(sr, make_fixture_suite());
srunner_add_suite(sr, make_pack_suite());
setup();
printf ("Ran %d tests in subordinate suite\n", sub_nfailed);
srunner_run_all (sr, CK_NORMAL);
cleanup();
fork_teardown();
teardown_fixture();
n = srunner_ntests_failed(sr);
srunner_free(sr);
return (n == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
}
| ---
+++
@@ -20,7 +20,7 @@
srunner_add_suite(sr, make_pack_suite());
setup();
- printf ("Ran %d tests in subordinate suite\n", sub_nfailed);
+ printf ("Ran %d tests in subordinate suite\n", sub_ntests);
srunner_run_all (sr, CK_NORMAL);
cleanup();
fork_teardown(); | Use correct variable for number of tests
git-svn-id: caee63afe878fe2ec7dbba394a86c9654d9110ca@230 64e312b2-a51f-0410-8e61-82d0ca0eb02a
| lgpl-2.1 | dashaomai/check-code,dashaomai/check-code,svn2github/check,svn2github/check,svn2github/check,dashaomai/check-code,svn2github/check,dashaomai/check-code,svn2github/check | 6c39b5e3015535d249699cf4c7dd9e3bfa9ed550 |
#pragma once
#include <pebble.h>
#include "effects.h"
//number of supported effects on a single effect_layer (must be <= 255)
#define MAX_EFFECTS 4
// structure of effect layer
typedef struct {
Layer* layer;
effect_cb* effects[MAX_EFFECTS];
void* params[MAX_EFFECTS];
uint8_t next_effect;
} EffectLayer;
//creates effect layer
EffectLayer* effect_layer_create(GRect frame);
//destroys effect layer
void effect_layer_destroy(EffectLayer *effect_layer);
//sets effect for the layer
void effect_layer_add_effect(EffectLayer *effect_layer, effect_cb* effect, void* param);
//gets layer
Layer* effect_layer_get_layer(EffectLayer *effect_layer);
// Recreate inverter_layer for BASALT
#ifndef PBL_PLATFORM_APLITE
#define InverterLayer EffectLayer
#define inverter_layer_create(frame)({ EffectLayer* _el=effect_layer_create(frame); effect_layer_add_effect(_el,effect_invert,NULL);_el; })
#define inverter_layer_get_layer effect_layer_get_layer
#define inverter_layer_destroy effect_layer_destroy
#endif | #pragma once
#include <pebble.h>
#include "effects.h"
//number of supported effects on a single effect_layer (must be <= 255)
#define MAX_EFFECTS 4
// structure of effect layer
typedef struct {
Layer* layer;
effect_cb* effects[MAX_EFFECTS];
void* params[MAX_EFFECTS];
uint8_t next_effect;
} EffectLayer;
//creates effect layer
EffectLayer* effect_layer_create(GRect frame);
//destroys effect layer
void effect_layer_destroy(EffectLayer *effect_layer);
//sets effect for the layer
void effect_layer_add_effect(EffectLayer *effect_layer, effect_cb* effect, void* param);
//gets layer
Layer* effect_layer_get_layer(EffectLayer *effect_layer); | ---
+++
@@ -25,3 +25,11 @@
//gets layer
Layer* effect_layer_get_layer(EffectLayer *effect_layer);
+
+// Recreate inverter_layer for BASALT
+#ifndef PBL_PLATFORM_APLITE
+ #define InverterLayer EffectLayer
+ #define inverter_layer_create(frame)({ EffectLayer* _el=effect_layer_create(frame); effect_layer_add_effect(_el,effect_invert,NULL);_el; })
+ #define inverter_layer_get_layer effect_layer_get_layer
+ #define inverter_layer_destroy effect_layer_destroy
+#endif | Add a few macros to support InverterLayer on BASALT
Re-add support for InverterLayer in SDK3.0.
Just include effect_layer.h in files using InverterLayer and it should
work out of the box.
Warning: This InverterLayer actually invert all colors, unlike the
original InverterLayer that had a weird behavior on Basalt.
| mit | n4ru/EffectLayer,clach04/EffectLayer,clach04/EffectLayer,gregoiresage/EffectLayer,n4ru/EffectLayer,clach04/EffectLayer,nevraw/EffectLayer,nevraw/EffectLayer,ron064/EffectLayer,ron064/EffectLayer,nevraw/EffectLayer,gregoiresage/EffectLayer,n4ru/EffectLayer,gregoiresage/EffectLayer,ron064/EffectLayer | 244047b32d720d65be0b5ef0c832ae16acf8c26c |
/* *
* This file is part of Feng
*
* Copyright (C) 2009 by LScube team <[email protected]>
* See AUTHORS for more details
*
* feng 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
* version 2.1 of the License, or (at your option) any later version.
*
* feng is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with feng; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* */
#ifndef FN_UTILS_H
#define FN_UTILS_H
#include "config.h"
#include <time.h>
#include <sys/time.h>
#include <ctype.h>
#include <stdint.h>
#include <sys/types.h>
#include <math.h>
#include <string.h>
#endif // FN_UTILS_H
| /* *
* This file is part of Feng
*
* Copyright (C) 2009 by LScube team <[email protected]>
* See AUTHORS for more details
*
* feng 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
* version 2.1 of the License, or (at your option) any later version.
*
* feng is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with feng; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* */
#ifndef FN_UTILS_H
#define FN_UTILS_H
#include "config.h"
#include <time.h>
#include <sys/time.h>
#include <ctype.h>
#include <stdint.h>
#include <sys/types.h>
#include <math.h>
#include <string.h>
/*! autodescriptive error values */
#define ERR_NOERROR 0
#define ERR_GENERIC -1
#define ERR_ALLOC -4
#endif // FN_UTILS_H
| ---
+++
@@ -33,9 +33,4 @@
#include <math.h>
#include <string.h>
-/*! autodescriptive error values */
-#define ERR_NOERROR 0
-#define ERR_GENERIC -1
-#define ERR_ALLOC -4
-
#endif // FN_UTILS_H | Remove the remaining ERR_ constants that are never used or tested for.
| lgpl-2.1 | winlinvip/feng,lscube/feng,winlinvip/feng,lscube/feng,winlinvip/feng,lscube/feng | 2567fa8188b27b97d550c546f7a83211940e91a1 |
#include <pygobject.h>
#include <nbtk/nbtk.h>
void pynbtk_register_classes (PyObject *d);
void pynbtk_add_constants (PyObject *module, const gchar *prefix);
extern PyMethodDef pynbtk_functions[];
static void
sink_nbtkaction (GObject *object)
{
if (g_object_is_floating (object))
g_object_ref_sink (object);
}
DL_EXPORT(void)
init_nbtk(void)
{
PyObject *m, *d;
init_pygobject_check (2, 12, 0);
pygobject_register_sinkfunc (NBTK_TYPE_ACTION, sink_nbtkaction);
m = Py_InitModule ("_nbtk", pynbtk_functions);
d = PyModule_GetDict (m);
pynbtk_register_classes (d);
pynbtk_add_constants (m, "NBTK_");
if (PyErr_Occurred ()) {
Py_FatalError ("can't initialise module nbtk");
}
}
| #include <pygobject.h>
#include <clutter/clutter.h>
void pynbtk_register_classes (PyObject *d);
void pynbtk_add_constants (PyObject *module, const gchar *prefix);
extern PyMethodDef pynbtk_functions[];
DL_EXPORT(void)
init_nbtk(void)
{
PyObject *m, *d;
init_pygobject_check (2, 12, 0);
m = Py_InitModule ("_nbtk", pynbtk_functions);
d = PyModule_GetDict (m);
pynbtk_register_classes (d);
pynbtk_add_constants (m, "NBTK_");
if (PyErr_Occurred ()) {
Py_FatalError ("can't initialise module nbtk");
}
}
| ---
+++
@@ -1,11 +1,18 @@
#include <pygobject.h>
-#include <clutter/clutter.h>
+#include <nbtk/nbtk.h>
void pynbtk_register_classes (PyObject *d);
void pynbtk_add_constants (PyObject *module, const gchar *prefix);
extern PyMethodDef pynbtk_functions[];
+static void
+sink_nbtkaction (GObject *object)
+{
+ if (g_object_is_floating (object))
+ g_object_ref_sink (object);
+}
+
DL_EXPORT(void)
init_nbtk(void)
{
@@ -13,6 +20,8 @@
init_pygobject_check (2, 12, 0);
+ pygobject_register_sinkfunc (NBTK_TYPE_ACTION, sink_nbtkaction);
+
m = Py_InitModule ("_nbtk", pynbtk_functions);
d = PyModule_GetDict (m);
| Add a sink function for nbtk.Action
NbtkAction is a GInitiallyUnowned, so we need to register a sinkfunc.
| lgpl-2.1 | buztard/mxpy,buztard/mxpy,buztard/mxpy | 583acd2de697ec1f6d148755fe01df3ba97d7bfd |
struct T;
struct T {
int x;
};
int
main()
{
struct T v;
{ struct T { int z; }; }
v.x = 2;
if(v.x != 2)
return 1;
return 0;
}
| struct s1 {
int y;
int z;
};
struct s2 {
struct s1 *p;
};
int main()
{
struct s1 nested;
struct s2 v;
v.p = &nested;
v.p->y = 1;
v.p->z = 2;
if (nested.y != 1)
return 1;
if (nested.z != 2)
return 2;
return 0;
}
| ---
+++
@@ -1,22 +1,16 @@
-struct s1 {
- int y;
- int z;
+struct T;
+
+struct T {
+ int x;
};
-struct s2 {
- struct s1 *p;
-};
-
-int main()
+int
+main()
{
- struct s1 nested;
- struct s2 v;
- v.p = &nested;
- v.p->y = 1;
- v.p->z = 2;
- if (nested.y != 1)
- return 1;
- if (nested.z != 2)
- return 2;
- return 0;
+ struct T v;
+ { struct T { int z; }; }
+ v.x = 2;
+ if(v.x != 2)
+ return 1;
+ return 0;
} | Add test for simple partial structs.
| bsd-2-clause | andrewchambers/c,xtao/c,andrewchambers/c,xtao/c | 01251507d399d412494b6ee7aa5b6ad9c9b2537b |
//
// NSSortDescriptor+Essentials.h
// Essentials
//
// Created by Martin Kiss on 11.4.14.
// Copyright (c) 2014 iAdverti. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef enum : BOOL {
ESSSortDescending = NO,
ESSSortAscending = YES,
} ESSSort;
@interface NSSortDescriptor (Essentials)
+ (instancetype)sortAscending:(BOOL)ascending;
+ (instancetype)sortAscending:(BOOL)ascending selector:(SEL)selector;
+ (instancetype)randomSortDescriptor;
+ (instancetype)sortDescriptorForViewOriginX;
+ (instancetype)sortDescriptorForViewOriginY;
@end
#define ESSSort(Class, keyPath, ascend) \
(NSSortDescriptor *)({ \
if (NO) { \
Class *object = nil; \
(void)object.keyPath; \
} \
[NSSortDescriptor sortDescriptorWithKey:@#keyPath ascending:ESSSort##ascend]; \
})
#define ESSSortUsing(Class, keyPath, ascend, compareSelector) \
(NSSortDescriptor *)({ \
if (NO) { \
Class *object = nil; \
(void)object.keyPath; \
} \
SEL selector = NSSelectorFromString(@#compareSelector); \
[NSSortDescriptor sortDescriptorWithKey:@#keyPath ascending:ESSSort##ascend selector:selector]; \
})
| //
// NSSortDescriptor+Essentials.h
// Essentials
//
// Created by Martin Kiss on 11.4.14.
// Copyright (c) 2014 iAdverti. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef enum : BOOL {
ESSSortDescending = NO,
ESSSortAscending = YES,
} ESSSort;
@interface NSSortDescriptor (Essentials)
+ (instancetype)sortAscending:(BOOL)ascending;
+ (instancetype)sortAscending:(BOOL)ascending selector:(SEL)selector;
+ (instancetype)randomSortDescriptor;
+ (instancetype)sortDescriptorForViewOriginX;
+ (instancetype)sortDescriptorForViewOriginY;
@end
#define ESSSort(Class, keyPath, ascend) \
(NSSortDescriptor *)({ \
[NSSortDescriptor sortDescriptorWithKey:@#keyPath ascending:ESSSort##ascend]; \
})
#define ESSSortUsing(Class, keyPath, ascend, compareSelector) \
(NSSortDescriptor *)({ \
if (NO) { \
Class *object = nil; \
__unused NSComparisonResult r = [object.keyPath compareSelector object.keyPath]; \
} \
SEL selector = NSSelectorFromString(@#compareSelector); \
[NSSortDescriptor sortDescriptorWithKey:@#keyPath ascending:ESSSort##ascend selector:selector]; \
})
| ---
+++
@@ -34,6 +34,10 @@
#define ESSSort(Class, keyPath, ascend) \
(NSSortDescriptor *)({ \
+ if (NO) { \
+ Class *object = nil; \
+ (void)object.keyPath; \
+ } \
[NSSortDescriptor sortDescriptorWithKey:@#keyPath ascending:ESSSort##ascend]; \
})
@@ -42,7 +46,7 @@
(NSSortDescriptor *)({ \
if (NO) { \
Class *object = nil; \
- __unused NSComparisonResult r = [object.keyPath compareSelector object.keyPath]; \
+ (void)object.keyPath; \
} \
SEL selector = NSSelectorFromString(@#compareSelector); \
[NSSortDescriptor sortDescriptorWithKey:@#keyPath ascending:ESSSort##ascend selector:selector]; \ | Fix ESSSort to work with non-object properties
| mit | Tricertops/Essentials,Tricertops/Essentials | 4b1d156a39827af50072cf16abffc11dc822ade9 |
/*******************************************************************
**
** Manage system call mode and do remote system calls.
**
*******************************************************************/
#define _POSIX_SOURCE
#include "condor_common.h"
#include "condor_debug.h"
#include "condor_syscall_mode.h"
static int SyscallMode = 1; /* LOCAL and UNMAPPED */
int
SetSyscalls( int mode )
{
int answer;
answer = SyscallMode;
SyscallMode = mode;
return answer;
}
BOOL
LocalSysCalls()
{
return SyscallMode & SYS_LOCAL;
}
BOOL
RemoteSysCalls()
{
return (SyscallMode & SYS_LOCAL) == 0;
}
BOOL
MappingFileDescriptors()
{
return (SyscallMode & SYS_MAPPED);
}
void
DisplaySyscallMode()
{
dprintf( D_ALWAYS,
"Syscall Mode is: %s %s\n",
RemoteSysCalls() ? "REMOTE" : "LOCAL",
MappingFileDescriptors() ? "MAPPED" : "UNMAPPED"
);
}
#if defined(AIX32) /* Just to test linking */
int syscall( int num, ... )
{
return 0;
}
#endif
| /*******************************************************************
**
** Manage system call mode and do remote system calls.
**
*******************************************************************/
#define _POSIX_SOURCE
#include <stdio.h>
#include "condor_syscall_mode.h"
static int SyscallMode = 1; /* LOCAL and UNMAPPED */
int
SetSyscalls( int mode )
{
int answer;
answer = SyscallMode;
SyscallMode = mode;
return answer;
}
BOOL
LocalSysCalls()
{
return SyscallMode & SYS_LOCAL;
}
BOOL
RemoteSysCalls()
{
return (SyscallMode & SYS_LOCAL) == 0;
}
BOOL
MappingFileDescriptors()
{
return (SyscallMode & SYS_MAPPED);
}
#if defined(AIX32) /* Just to test linking */
int syscall( int num, ... )
{
return 0;
}
#endif
| ---
+++
@@ -5,7 +5,8 @@
*******************************************************************/
#define _POSIX_SOURCE
-#include <stdio.h>
+#include "condor_common.h"
+#include "condor_debug.h"
#include "condor_syscall_mode.h"
static int SyscallMode = 1; /* LOCAL and UNMAPPED */
@@ -37,6 +38,16 @@
return (SyscallMode & SYS_MAPPED);
}
+void
+DisplaySyscallMode()
+{
+ dprintf( D_ALWAYS,
+ "Syscall Mode is: %s %s\n",
+ RemoteSysCalls() ? "REMOTE" : "LOCAL",
+ MappingFileDescriptors() ? "MAPPED" : "UNMAPPED"
+ );
+}
+
#if defined(AIX32) /* Just to test linking */
int syscall( int num, ... )
{ | Add DisplaySyscallMode() routine for debugging.
| apache-2.0 | zhangzhehust/htcondor,clalancette/condor-dcloud,bbockelm/condor-network-accounting,neurodebian/htcondor,mambelli/osg-bosco-marco,bbockelm/condor-network-accounting,clalancette/condor-dcloud,zhangzhehust/htcondor,neurodebian/htcondor,clalancette/condor-dcloud,bbockelm/condor-network-accounting,neurodebian/htcondor,clalancette/condor-dcloud,neurodebian/htcondor,clalancette/condor-dcloud,djw8605/htcondor,zhangzhehust/htcondor,htcondor/htcondor,htcondor/htcondor,zhangzhehust/htcondor,djw8605/htcondor,bbockelm/condor-network-accounting,bbockelm/condor-network-accounting,djw8605/htcondor,djw8605/condor,djw8605/condor,djw8605/htcondor,neurodebian/htcondor,htcondor/htcondor,djw8605/condor,neurodebian/htcondor,clalancette/condor-dcloud,neurodebian/htcondor,htcondor/htcondor,zhangzhehust/htcondor,htcondor/htcondor,djw8605/htcondor,djw8605/condor,djw8605/condor,djw8605/htcondor,neurodebian/htcondor,djw8605/htcondor,bbockelm/condor-network-accounting,djw8605/condor,mambelli/osg-bosco-marco,htcondor/htcondor,mambelli/osg-bosco-marco,bbockelm/condor-network-accounting,zhangzhehust/htcondor,djw8605/condor,mambelli/osg-bosco-marco,neurodebian/htcondor,mambelli/osg-bosco-marco,zhangzhehust/htcondor,htcondor/htcondor,zhangzhehust/htcondor,bbockelm/condor-network-accounting,htcondor/htcondor,djw8605/condor,djw8605/htcondor,djw8605/htcondor,clalancette/condor-dcloud,zhangzhehust/htcondor,mambelli/osg-bosco-marco,mambelli/osg-bosco-marco,mambelli/osg-bosco-marco | b3fbc27c7a4130904f3cae41eb161832304b6b9d |
#if __has_include(<React/RCTBridgeModule.h>)
#import <React/RCTBridgeModule.h>
#else
#import "RCTBridgeModule.h"
#endif
#import <UIKit/UIKit.h>
#include <libkern/OSAtomic.h>
#include <execinfo.h>
@interface ReactNativeExceptionHandler : NSObject <RCTBridgeModule>
+ (void) replaceNativeExceptionHandlerBlock:(void (^)(NSException *exception, NSString *readeableException))nativeCallbackBlock;
+ (void) releaseExceptionHold;
@end
|
#if __has_include("RCTBridgeModule.h")
#import "RCTBridgeModule.h"
#else
#import <React/RCTBridgeModule.h>
#endif
#import <UIKit/UIKit.h>
#include <libkern/OSAtomic.h>
#include <execinfo.h>
@interface ReactNativeExceptionHandler : NSObject <RCTBridgeModule>
+ (void) replaceNativeExceptionHandlerBlock:(void (^)(NSException *exception, NSString *readeableException))nativeCallbackBlock;
+ (void) releaseExceptionHold;
@end
| ---
+++
@@ -1,8 +1,8 @@
-#if __has_include("RCTBridgeModule.h")
+#if __has_include(<React/RCTBridgeModule.h>)
+#import <React/RCTBridgeModule.h>
+#else
#import "RCTBridgeModule.h"
-#else
-#import <React/RCTBridgeModule.h>
#endif
#import <UIKit/UIKit.h> | Change import priority of RCTBridgeModule
This appears to be the accepted fix for this issue: https://github.com/master-atul/react-native-exception-handler/issues/46 per https://github.com/facebook/react-native/issues/15775#issuecomment-326930316 and other posts in the same thread. | mit | master-atul/react-native-exception-handler,master-atul/react-native-exception-handler,master-atul/react-native-exception-handler | 355c5444d721ed0ed3c4fb5ca8286c579c79db69 |
//===------ utils/obj2yaml.hpp - obj2yaml conversion tool -------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
// This file declares some helper routines, and also the format-specific
// writers. To add a new format, add the declaration here, and, in a separate
// source file, implement it.
//===----------------------------------------------------------------------===//
#ifndef LLVM_TOOLS_OBJ2YAML_H
#define LLVM_TOOLS_OBJ2YAML_H
#include "llvm/ADT/ArrayRef.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Support/system_error.h"
namespace yaml { // routines for writing YAML
// Write a hex stream:
// <Prefix> !hex: "<hex digits>" #|<ASCII chars>\n
llvm::raw_ostream &writeHexStream
(llvm::raw_ostream &Out, const llvm::ArrayRef<uint8_t> arr);
// Writes a number in hex; prefix it by 0x if it is >= 10
llvm::raw_ostream &writeHexNumber
(llvm::raw_ostream &Out, unsigned long long N);
}
llvm::error_code coff2yaml(llvm::raw_ostream &Out, llvm::MemoryBuffer *TheObj);
#endif
| //===------ utils/obj2yaml.hpp - obj2yaml conversion tool -------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
// This file declares some helper routines, and also the format-specific
// writers. To add a new format, add the declaration here, and, in a separate
// source file, implement it.
//===----------------------------------------------------------------------===//
#ifndef LLVM_UTILS_OBJ2YAML_H
#define LLVM_UTILS_OBJ2YAML_H
#include "llvm/ADT/ArrayRef.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Support/system_error.h"
namespace yaml { // routines for writing YAML
// Write a hex stream:
// <Prefix> !hex: "<hex digits>" #|<ASCII chars>\n
llvm::raw_ostream &writeHexStream
(llvm::raw_ostream &Out, const llvm::ArrayRef<uint8_t> arr);
// Writes a number in hex; prefix it by 0x if it is >= 10
llvm::raw_ostream &writeHexNumber
(llvm::raw_ostream &Out, unsigned long long N);
}
llvm::error_code coff2yaml(llvm::raw_ostream &Out, llvm::MemoryBuffer *TheObj);
#endif
| ---
+++
@@ -10,8 +10,8 @@
// source file, implement it.
//===----------------------------------------------------------------------===//
-#ifndef LLVM_UTILS_OBJ2YAML_H
-#define LLVM_UTILS_OBJ2YAML_H
+#ifndef LLVM_TOOLS_OBJ2YAML_H
+#define LLVM_TOOLS_OBJ2YAML_H
#include "llvm/ADT/ArrayRef.h"
#include "llvm/Support/MemoryBuffer.h" | Fix include guards to match new location.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@178877 91177308-0d34-0410-b5e6-96231b3b80d8
| apache-2.0 | llvm-mirror/llvm,chubbymaggie/asap,chubbymaggie/asap,dslab-epfl/asap,chubbymaggie/asap,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,dslab-epfl/asap,llvm-mirror/llvm,chubbymaggie/asap,apple/swift-llvm,dslab-epfl/asap,dslab-epfl/asap,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,chubbymaggie/asap,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,dslab-epfl/asap,llvm-mirror/llvm,chubbymaggie/asap,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm | 3440d0b857fa6def37c1a4185ac9602be2393c9c |
#include "vk_default_loader.h"
#include "vulkan/vulkan.h"
#if defined(_WIN32)
#elif defined(unix) || defined(__unix__) || defined(__unix)
#include <dlfcn.h>
static void* (*symLoader)(void* lib, const char* procname);
static void* loaderWrap(VkInstance instance, const char* vkproc) {
return (*symLoader)(instance, vkproc);
}
#elif defined(__APPLE__) && defined(__MACH__)
// #include <GLFW/glfw3.h>
// static void* loaderWrap(VkInstance instance, const char* vkproc) {
// return glfwGetInstanceProcAddress(instance, vkproc);
// }
#endif
void* getDefaultProcAddr() {
#if defined(_WIN32)
// TODO: WIN32 Vulkan loader
return NULL;
#elif defined(__APPLE__) && defined(__MACH__)
// return &loaderWrap;
return NULL;
#elif defined(unix) || defined(__unix__) || defined(__unix)
void* libvulkan = dlopen("libvulkan.so", RTLD_NOW | RTLD_LOCAL);
if (libvulkan == NULL) {
return NULL;
}
symLoader = dlsym(libvulkan, "vkGetInstanceProcAddr");
if (symLoader == NULL) {
return NULL;
}
return &loaderWrap;
#else
// Unknown operating system
return NULL;
#endif
}
| #include "vk_default_loader.h"
#include "vulkan/vulkan.h"
#if defined(_WIN32)
#elif defined(unix) || defined(__unix__) || defined(__unix)
#include <dlfcn.h>
static void* (*loadSym)(void* lib, const char* procname);
static void* loadSymWrap(VkInstance instance, const char* vkproc) {
return (*loadSym)(instance, vkproc);
}
#endif
void* getDefaultProcAddr() {
#if defined(_WIN32)
// TODO: WIN32 Vulkan loader
#elif defined(__APPLE__) && defined(__MACH__)
// TODO: Darwin Vulkan loader (via MoltenVK)
#elif defined(unix) || defined(__unix__) || defined(__unix)
void* libvulkan = dlopen("libvulkan.so", RTLD_NOW | RTLD_LOCAL);
if (libvulkan == NULL) {
return NULL;
}
loadSym = dlsym(libvulkan, "vkGetInstanceProcAddr");
if (loadSym == NULL) {
return NULL;
}
return &loadSymWrap;
#else
// Unknown operating system
#endif
} | ---
+++
@@ -3,31 +3,37 @@
#if defined(_WIN32)
#elif defined(unix) || defined(__unix__) || defined(__unix)
-#include <dlfcn.h>
-static void* (*loadSym)(void* lib, const char* procname);
-static void* loadSymWrap(VkInstance instance, const char* vkproc) {
- return (*loadSym)(instance, vkproc);
-}
+ #include <dlfcn.h>
+ static void* (*symLoader)(void* lib, const char* procname);
+ static void* loaderWrap(VkInstance instance, const char* vkproc) {
+ return (*symLoader)(instance, vkproc);
+ }
+#elif defined(__APPLE__) && defined(__MACH__)
+ // #include <GLFW/glfw3.h>
+ // static void* loaderWrap(VkInstance instance, const char* vkproc) {
+ // return glfwGetInstanceProcAddress(instance, vkproc);
+ // }
#endif
void* getDefaultProcAddr() {
#if defined(_WIN32)
- // TODO: WIN32 Vulkan loader
+ // TODO: WIN32 Vulkan loader
+ return NULL;
#elif defined(__APPLE__) && defined(__MACH__)
- // TODO: Darwin Vulkan loader (via MoltenVK)
+ // return &loaderWrap;
+ return NULL;
#elif defined(unix) || defined(__unix__) || defined(__unix)
- void* libvulkan = dlopen("libvulkan.so", RTLD_NOW | RTLD_LOCAL);
- if (libvulkan == NULL) {
+ void* libvulkan = dlopen("libvulkan.so", RTLD_NOW | RTLD_LOCAL);
+ if (libvulkan == NULL) {
+ return NULL;
+ }
+ symLoader = dlsym(libvulkan, "vkGetInstanceProcAddr");
+ if (symLoader == NULL) {
+ return NULL;
+ }
+ return &loaderWrap;
+ #else
+ // Unknown operating system
return NULL;
- }
-
- loadSym = dlsym(libvulkan, "vkGetInstanceProcAddr");
- if (loadSym == NULL) {
- return NULL;
- }
-
- return &loadSymWrap;
- #else
- // Unknown operating system
#endif
} | Fix no-return warning in loader, also change the internal variable names.
| mit | vulkan-go/vulkan,vulkan-go/vulkan | 9b1a95eb03798b3b6d969eca13fbbf6a9b0156b0 |
#ifndef PYPOC_H
#define PYPOC_H
#include <Windows.h>
#include "EmoStateDLL.hpp"
#include "edk.hpp"
#include "edkErrorCode.hpp"
class EPOC {
private:
EmoEngineEventHandle eEvent;
EmoStateHandle eState;
DataHandle hData;
int nChannels;
EE_DataChannel_t *channels;
unsigned int userId;
double *samples;
BOOL ready;
BOOL closed;
public:
EPOC();
~EPOC();
BOOL open();
BOOL init(const int);
BOOL start();
BOOL acquire();
void getdata(int *data, int n);
BOOL stop();
BOOL close();
};
#endif
| #ifndef PYPOC_H
#define PYPOC_H
#include <Windows.h>
#include "EmoStateDLL.h"
#include "edk.h"
#include "edkErrorCode.h"
class EPOC {
private:
EmoEngineEventHandle eEvent;
EmoStateHandle eState;
DataHandle hData;
int nChannels;
EE_DataChannel_t *channels;
unsigned int userId;
double *samples;
BOOL ready;
BOOL closed;
public:
EPOC();
~EPOC();
BOOL open();
BOOL init(const int);
BOOL start();
BOOL acquire();
void getdata(int *data, int n);
BOOL stop();
BOOL close();
};
#endif | ---
+++
@@ -2,9 +2,9 @@
#define PYPOC_H
#include <Windows.h>
-#include "EmoStateDLL.h"
-#include "edk.h"
-#include "edkErrorCode.h"
+#include "EmoStateDLL.hpp"
+#include "edk.hpp"
+#include "edkErrorCode.hpp"
class EPOC {
private: | Make legacy header reference old code.
| bsd-3-clause | NeuralProsthesisLab/unlock,NeuralProsthesisLab/unlock,NeuralProsthesisLab/unlock,NeuralProsthesisLab/unlock,NeuralProsthesisLab/unlock,NeuralProsthesisLab/unlock,NeuralProsthesisLab/unlock | 1f38f2566e6a8b2c7399af25da44104cbc55cdbb |
/*
* This file is part of Kotaka, a mud library for DGD
* http://github.com/shentino/kotaka
*
* Copyright (C) 2010, 2012, 2013, 2014 Raymond Jennings
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <kotaka/paths/system.h>
inherit LIB_INITD;
inherit UTILITY_COMPILE;
static void create()
{
KERNELD->set_global_access("Test", 1);
load_dir("obj", 1);
load_dir("sys", 1);
}
void bomb(int quota)
{
if (quota) {
quota--;
clone_object("obj/bomb");
call_out("bomb", 0, quota);
}
}
| /*
* This file is part of Kotaka, a mud library for DGD
* http://github.com/shentino/kotaka
*
* Copyright (C) 2010, 2012, 2013, 2014 Raymond Jennings
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <kotaka/paths/system.h>
inherit LIB_INITD;
inherit UTILITY_COMPILE;
static void create()
{
KERNELD->set_global_access("Test", 1);
load_dir("obj", 1);
load_dir("sys", 1);
}
| ---
+++
@@ -29,3 +29,12 @@
load_dir("obj", 1);
load_dir("sys", 1);
}
+
+void bomb(int quota)
+{
+ if (quota) {
+ quota--;
+ clone_object("obj/bomb");
+ call_out("bomb", 0, quota);
+ }
+} | Allow test subsystem to set off clone bombs
| agpl-3.0 | shentino/kotaka,shentino/kotaka,shentino/kotaka | 646a3d3712809df66fa90bcd7ef21d3659a3e833 |
#include <stdlib.h>
/**
* @author: Hendrik Werner
*/
#define BOARD_HEIGHT 50
#define BOARD_WIDTH 50
typedef struct Position {
int row;
int col;
} Position;
typedef enum Cell {
EMPTY
,SNAKE
,FOOD
} Cell;
int main() {
return EXIT_SUCCESS;
}
| #include <stdlib.h>
/**
* @author: Hendrik Werner
*/
#define BOARD_HEIGHT 50
#define BOARD_WIDTH 50
typedef struct Position {
int row;
int col;
} Position;
int main() {
return EXIT_SUCCESS;
}
| ---
+++
@@ -12,6 +12,12 @@
int col;
} Position;
+typedef enum Cell {
+ EMPTY
+ ,SNAKE
+ ,FOOD
+} Cell;
+
int main() {
return EXIT_SUCCESS;
} | Enumerate possible values for cells.
| mit | Hendrikto/Snake | ce8db655cff33b744df07e338e328fb598a5a81c |
/* internal.h
Internal definitions used by Expat. This is not needed to compile
client code.
The following definitions are made:
FASTCALL -- Used for most internal functions to specify that the
fastest possible calling convention be used.
inline -- Used for selected internal functions for which inlining
may improve performance on some platforms.
*/
#if defined(__GNUC__)
#define FASTCALL __attribute__((stdcall, regparm(3)))
#elif defined(WIN32)
/* XXX This seems to have an unexpected negative effect on Windows so
we'll disable it for now on that platform. It may be reconsidered
for a future release if it can be made more effective.
*/
/* #define FASTCALL __fastcall */
#endif
#ifndef FASTCALL
#define FASTCALL
#endif
#ifndef XML_MIN_SIZE
#if !defined(__cplusplus) && !defined(inline)
#ifdef __GNUC__
#define inline __inline
#endif /* __GNUC__ */
#endif
#endif /* XML_MIN_SIZE */
#ifdef __cplusplus
#define inline inline
#else
#ifndef inline
#define inline
#endif
#endif
| /* internal.h
Internal definitions used by Expat. This is not needed to compile
client code.
The following definitions are made:
FASTCALL -- Used for most internal functions to specify that the
fastest possible calling convention be used.
inline -- Used for selected internal functions for which inlining
may improve performance on some platforms.
*/
#if defined(__GNUC__)
#define FASTCALL __attribute__((stdcall, regparm(3)))
#elif defined(WIN32)
#define FASTCALL __fastcall
#else
#define FASTCALL
#endif
#ifndef XML_MIN_SIZE
#if !defined(__cplusplus) && !defined(inline)
#ifdef __GNUC__
#define inline __inline
#endif /* __GNUC__ */
#endif
#endif /* XML_MIN_SIZE */
#ifdef __cplusplus
#define inline inline
#else
#ifndef inline
#define inline
#endif
#endif
| ---
+++
@@ -15,8 +15,14 @@
#if defined(__GNUC__)
#define FASTCALL __attribute__((stdcall, regparm(3)))
#elif defined(WIN32)
-#define FASTCALL __fastcall
-#else
+/* XXX This seems to have an unexpected negative effect on Windows so
+ we'll disable it for now on that platform. It may be reconsidered
+ for a future release if it can be made more effective.
+*/
+/* #define FASTCALL __fastcall */
+#endif
+
+#ifndef FASTCALL
#define FASTCALL
#endif
| Disable FASTCALL on Windows since it turned out not to be as effective
as hoped. Leaving the definition in the file so we'll know what it
was that didn't work, and hopefully find something better in the
future.
| mit | PKRoma/expat,PKRoma/expat,PKRoma/expat,PKRoma/expat | 038fd84030d172d7b94cfd8d84a5fcc274cb3d1f |
//
// Copyright 2013 Jeff Bush
//
// 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.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
//
// Symbols that need to be defined to use C++. These are stubs and don't
// actually do anything
//
namespace __cxxabiv1
{
class __class_type_info
{
public:
__class_type_info() {}
virtual ~__class_type_info() {}
};
class __si_class_type_info
{
public:
__si_class_type_info() {}
virtual ~__si_class_type_info() {}
};
__class_type_info cti;
__si_class_type_info sicti;
}
void operator delete(void *ptr) throw()
{
}
void *__dso_handle;
extern "C" void __cxa_atexit(void (*f)(void *), void *objptr, void *dso)
{
} | //
// Copyright 2013 Jeff Bush
//
// 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.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
//
// Symbols that need to be defined to use C++. These are stubs and don't
// actually do anything
//
namespace __cxxabiv1
{
class __class_type_info
{
public:
__class_type_info() {}
virtual ~__class_type_info() {}
};
class __si_class_type_info
{
public:
__si_class_type_info() {}
virtual ~__si_class_type_info() {}
};
__class_type_info cti;
__si_class_type_info sicti;
}
void operator delete(void *ptr) throw()
{
}
extern "C" void __dso_handle()
{
}
extern "C" void __cxa_atexit()
{
} | ---
+++
@@ -43,10 +43,8 @@
{
}
-extern "C" void __dso_handle()
+void *__dso_handle;
+
+extern "C" void __cxa_atexit(void (*f)(void *), void *objptr, void *dso)
{
}
-
-extern "C" void __cxa_atexit()
-{
-} | Make these a bit more correct
| apache-2.0 | FulcronZ/NyuziProcessor,jbush001/NyuziProcessor,FulcronZ/NyuziProcessor,FulcronZ/NyuziProcessor,FulcronZ/NyuziProcessor,jbush001/NyuziProcessor,hoangt/NyuziProcessor,jbush001/NyuziProcessor,jbush001/NyuziProcessor,hoangt/NyuziProcessor,hoangt/NyuziProcessor,hoangt/NyuziProcessor,jbush001/NyuziProcessor,jbush001/NyuziProcessor | 49248d85df3037126b8282cae0610f9c499da548 |
#include <stdlib.h>
/**
* @author: Hendrik Werner
*/
typedef struct Position {
int row;
int col;
} Position;
int main() {
return EXIT_SUCCESS;
}
| #include <stdlib.h>
/**
* @author: Hendrik Werner
*/
int main() {
return EXIT_SUCCESS;
}
| ---
+++
@@ -4,6 +4,11 @@
* @author: Hendrik Werner
*/
+typedef struct Position {
+ int row;
+ int col;
+} Position;
+
int main() {
return EXIT_SUCCESS;
} | Define a struct to represent 2d positions.
| mit | Hendrikto/Snake | 316572d9a3274a18a8def23c087b139e27f99ac8 |
#include <stdio.h>
#include <float.h>
#if defined(__BORLANDC__)
# include <math.h>
# include <float.h>
#endif
int
main(int argc, char *argv[])
{
#if defined(__BORLANDC__)
// Disable floating point exceptions in Borland
_control87(MCW_EM, MCW_EM);
#endif // defined(__BORLANDC__)
char *me;
float qnan, zero;
int i;
me = argv[0];
if (sizeof(float) != sizeof(int))
{
fprintf(stderr, "%s: MADNESS: sizeof(float)=%d != sizeof(int)=%d\n",
me, (int)sizeof(float), (int)sizeof(int));
return -1;
}
zero = 0;
qnan=zero/zero;
i=*(int*)(&qnan);
printf("-DTEEM_QNANHIBIT=%d\n", (i >> 22) & 1);
return (int)((i >> 22) & 1);
}
| #include <stdio.h>
#include <float.h>
int
main(int argc, char *argv[])
{
char *me;
float qnan, zero;
int i;
me = argv[0];
if (sizeof(float) != sizeof(int))
{
fprintf(stderr, "%s: MADNESS: sizeof(float)=%d != sizeof(int)=%d\n",
me, (int)sizeof(float), (int)sizeof(int));
return -1;
}
zero = 0;
qnan=zero/zero;
i=*(int*)(&qnan);
printf("-DTEEM_QNANHIBIT=%d\n", (i >> 22) & 1);
return (int)((i >> 22) & 1);
}
| ---
+++
@@ -1,9 +1,20 @@
#include <stdio.h>
#include <float.h>
+
+#if defined(__BORLANDC__)
+# include <math.h>
+# include <float.h>
+#endif
+
int
main(int argc, char *argv[])
{
+#if defined(__BORLANDC__)
+ // Disable floating point exceptions in Borland
+ _control87(MCW_EM, MCW_EM);
+#endif // defined(__BORLANDC__)
+
char *me;
float qnan, zero;
int i; | FIX: Disable floating point exceptions on Borland compiler
| apache-2.0 | LucHermitte/ITK,cpatrick/ITK-RemoteIO,hendradarwin/ITK,PlutoniumHeart/ITK,blowekamp/ITK,InsightSoftwareConsortium/ITK,daviddoria/itkHoughTransform,biotrump/ITK,hendradarwin/ITK,LucHermitte/ITK,CapeDrew/DCMTK-ITK,CapeDrew/DCMTK-ITK,wkjeong/ITK,InsightSoftwareConsortium/ITK,eile/ITK,hinerm/ITK,GEHC-Surgery/ITK,paulnovo/ITK,fbudin69500/ITK,BlueBrain/ITK,vfonov/ITK,jmerkow/ITK,Kitware/ITK,Kitware/ITK,fuentesdt/InsightToolkit-dev,hjmjohnson/ITK,heimdali/ITK,fedral/ITK,fedral/ITK,fedral/ITK,stnava/ITK,GEHC-Surgery/ITK,cpatrick/ITK-RemoteIO,fbudin69500/ITK,Kitware/ITK,heimdali/ITK,hjmjohnson/ITK,BlueBrain/ITK,hinerm/ITK,daviddoria/itkHoughTransform,richardbeare/ITK,heimdali/ITK,hinerm/ITK,hendradarwin/ITK,BlueBrain/ITK,msmolens/ITK,malaterre/ITK,BRAINSia/ITK,atsnyder/ITK,BRAINSia/ITK,Kitware/ITK,heimdali/ITK,daviddoria/itkHoughTransform,PlutoniumHeart/ITK,InsightSoftwareConsortium/ITK,wkjeong/ITK,wkjeong/ITK,BRAINSia/ITK,LucasGandel/ITK,zachary-williamson/ITK,CapeDrew/DCMTK-ITK,ajjl/ITK,rhgong/itk-with-dom,fuentesdt/InsightToolkit-dev,cpatrick/ITK-RemoteIO,thewtex/ITK,biotrump/ITK,fuentesdt/InsightToolkit-dev,stnava/ITK,BRAINSia/ITK,richardbeare/ITK,paulnovo/ITK,paulnovo/ITK,hjmjohnson/ITK,ajjl/ITK,LucasGandel/ITK,jmerkow/ITK,wkjeong/ITK,jmerkow/ITK,hendradarwin/ITK,msmolens/ITK,jcfr/ITK,paulnovo/ITK,blowekamp/ITK,paulnovo/ITK,CapeDrew/DITK,cpatrick/ITK-RemoteIO,zachary-williamson/ITK,msmolens/ITK,LucasGandel/ITK,paulnovo/ITK,InsightSoftwareConsortium/ITK,CapeDrew/DITK,eile/ITK,ajjl/ITK,msmolens/ITK,fbudin69500/ITK,BRAINSia/ITK,PlutoniumHeart/ITK,GEHC-Surgery/ITK,GEHC-Surgery/ITK,jcfr/ITK,malaterre/ITK,CapeDrew/DITK,GEHC-Surgery/ITK,spinicist/ITK,PlutoniumHeart/ITK,malaterre/ITK,biotrump/ITK,ajjl/ITK,thewtex/ITK,biotrump/ITK,CapeDrew/DITK,fbudin69500/ITK,jcfr/ITK,CapeDrew/DITK,LucasGandel/ITK,fedral/ITK,rhgong/itk-with-dom,PlutoniumHeart/ITK,zachary-williamson/ITK,InsightSoftwareConsortium/ITK,itkvideo/ITK,rhgong/itk-with-dom,Kitware/ITK,atsnyder/ITK,malaterre/ITK,ajjl/ITK,fbudin69500/ITK,richardbeare/ITK,fbudin69500/ITK,jmerkow/ITK,thewtex/ITK,heimdali/ITK,heimdali/ITK,spinicist/ITK,hinerm/ITK,paulnovo/ITK,zachary-williamson/ITK,CapeDrew/DCMTK-ITK,richardbeare/ITK,rhgong/itk-with-dom,hinerm/ITK,GEHC-Surgery/ITK,wkjeong/ITK,zachary-williamson/ITK,BRAINSia/ITK,jmerkow/ITK,atsnyder/ITK,blowekamp/ITK,itkvideo/ITK,jcfr/ITK,cpatrick/ITK-RemoteIO,GEHC-Surgery/ITK,itkvideo/ITK,jmerkow/ITK,daviddoria/itkHoughTransform,ajjl/ITK,BRAINSia/ITK,rhgong/itk-with-dom,paulnovo/ITK,malaterre/ITK,jcfr/ITK,hinerm/ITK,richardbeare/ITK,itkvideo/ITK,BlueBrain/ITK,zachary-williamson/ITK,biotrump/ITK,stnava/ITK,hjmjohnson/ITK,PlutoniumHeart/ITK,PlutoniumHeart/ITK,itkvideo/ITK,blowekamp/ITK,blowekamp/ITK,wkjeong/ITK,thewtex/ITK,blowekamp/ITK,richardbeare/ITK,stnava/ITK,malaterre/ITK,rhgong/itk-with-dom,PlutoniumHeart/ITK,eile/ITK,Kitware/ITK,thewtex/ITK,rhgong/itk-with-dom,CapeDrew/DCMTK-ITK,wkjeong/ITK,fuentesdt/InsightToolkit-dev,InsightSoftwareConsortium/ITK,spinicist/ITK,wkjeong/ITK,daviddoria/itkHoughTransform,LucasGandel/ITK,spinicist/ITK,CapeDrew/DITK,atsnyder/ITK,hinerm/ITK,hinerm/ITK,jmerkow/ITK,vfonov/ITK,LucHermitte/ITK,stnava/ITK,blowekamp/ITK,fedral/ITK,LucasGandel/ITK,msmolens/ITK,ajjl/ITK,atsnyder/ITK,BlueBrain/ITK,CapeDrew/DCMTK-ITK,hjmjohnson/ITK,vfonov/ITK,itkvideo/ITK,rhgong/itk-with-dom,fuentesdt/InsightToolkit-dev,heimdali/ITK,jmerkow/ITK,spinicist/ITK,spinicist/ITK,heimdali/ITK,LucHermitte/ITK,zachary-williamson/ITK,fedral/ITK,thewtex/ITK,Kitware/ITK,vfonov/ITK,spinicist/ITK,thewtex/ITK,atsnyder/ITK,vfonov/ITK,fuentesdt/InsightToolkit-dev,hendradarwin/ITK,msmolens/ITK,CapeDrew/DITK,eile/ITK,spinicist/ITK,CapeDrew/DITK,CapeDrew/DCMTK-ITK,InsightSoftwareConsortium/ITK,malaterre/ITK,vfonov/ITK,LucHermitte/ITK,itkvideo/ITK,CapeDrew/DCMTK-ITK,eile/ITK,daviddoria/itkHoughTransform,jcfr/ITK,cpatrick/ITK-RemoteIO,fbudin69500/ITK,vfonov/ITK,stnava/ITK,CapeDrew/DCMTK-ITK,fedral/ITK,hinerm/ITK,hendradarwin/ITK,fuentesdt/InsightToolkit-dev,LucasGandel/ITK,LucHermitte/ITK,atsnyder/ITK,jcfr/ITK,eile/ITK,blowekamp/ITK,malaterre/ITK,cpatrick/ITK-RemoteIO,biotrump/ITK,daviddoria/itkHoughTransform,BlueBrain/ITK,hjmjohnson/ITK,biotrump/ITK,richardbeare/ITK,vfonov/ITK,LucHermitte/ITK,spinicist/ITK,stnava/ITK,vfonov/ITK,fuentesdt/InsightToolkit-dev,atsnyder/ITK,hendradarwin/ITK,eile/ITK,hjmjohnson/ITK,cpatrick/ITK-RemoteIO,msmolens/ITK,stnava/ITK,zachary-williamson/ITK,LucasGandel/ITK,fuentesdt/InsightToolkit-dev,zachary-williamson/ITK,BlueBrain/ITK,daviddoria/itkHoughTransform,stnava/ITK,daviddoria/itkHoughTransform,CapeDrew/DITK,eile/ITK,LucHermitte/ITK,eile/ITK,GEHC-Surgery/ITK,BlueBrain/ITK,itkvideo/ITK,hendradarwin/ITK,atsnyder/ITK,biotrump/ITK,ajjl/ITK,malaterre/ITK,jcfr/ITK,msmolens/ITK,fbudin69500/ITK,itkvideo/ITK,fedral/ITK | 3201618e6105204892a52265ecd84372f6b7925b |
/* Uncomment to compile with tcpd/libwrap support. */
//#define WITH_WRAP
/* Compile with database upgrading support? If disabled, mosquitto won't
* automatically upgrade old database versions. */
//#define WITH_DB_UPGRADE
/* Compile with memory tracking support? If disabled, mosquitto won't track
* heap memory usage nor export '$SYS/broker/heap/current size', but will use
* slightly less memory and CPU time. */
#define WITH_MEMORY_TRACKING
/* Compile with the ability to upgrade from old style sqlite persistent
* databases to the new mosquitto format. This means a dependency on sqlite. It
* isn't needed for new installations. */
#define WITH_SQLITE_UPGRADE
| /* Uncomment to compile with tcpd/libwrap support. */
//#define WITH_WRAP
/* Compile with database upgrading support? If disabled, mosquitto won't
* automatically upgrade old database versions. */
//#define WITH_DB_UPGRADE
/* Compile with memory tracking support? If disabled, mosquitto won't track
* heap memory usage nor export '$SYS/broker/heap/current size', but will use
* slightly less memory and CPU time. */
#define WITH_MEMORY_TRACKING
| ---
+++
@@ -9,3 +9,8 @@
* heap memory usage nor export '$SYS/broker/heap/current size', but will use
* slightly less memory and CPU time. */
#define WITH_MEMORY_TRACKING
+
+/* Compile with the ability to upgrade from old style sqlite persistent
+ * databases to the new mosquitto format. This means a dependency on sqlite. It
+ * isn't needed for new installations. */
+#define WITH_SQLITE_UPGRADE | Add compile option for sqlite db upgrades.
| bsd-3-clause | tempbottle/mosquitto,tempbottle/mosquitto,tempbottle/mosquitto,tempbottle/mosquitto,tempbottle/mosquitto | c1464c4787ee7dcb3fc4c0fc0622cb7f336a4fe6 |
#include <libutil.h>
#ifndef TAILQ_END
#define TAILQ_END(head) NULL
#endif
#ifndef SIMPLEQ_HEAD
#define SIMPLEQ_HEAD STAILQ_HEAD
#define SIMPLEQ_HEAD_INITIALIZER STAILQ_HEAD_INITIALIZER
#define SIMPLEQ_ENTRY STAILQ_ENTRY
#define SIMPLEQ_INIT STAILQ_INIT
#define SIMPLEQ_INSERT_AFTER STAILQ_INSERT_AFTER
#define SIMPLEQ_INSERT_HEAD STAILQ_INSERT_HEAD
#define SIMPLEQ_INSERT_TAIL STAILQ_INSERT_TAIL
#define SIMPLEQ_EMPTY STAILQ_EMPTY
#define SIMPLEQ_FIRST STAILQ_FIRST
#define SIMPLEQ_REMOVE_AFTER STAILQ_REMOVE_AFTER
#define SIMPLEQ_REMOVE_HEAD STAILQ_REMOVE_HEAD
#define SIMPLEQ_FOREACH STAILQ_FOREACH
#define SIMPLEQ_END(head) NULL
#endif
| #include <libutil.h>
#ifndef TAILQ_END
#define TAILQ_END(head) NULL
#endif
| ---
+++
@@ -1,5 +1,21 @@
#include <libutil.h>
#ifndef TAILQ_END
-#define TAILQ_END(head) NULL
+#define TAILQ_END(head) NULL
#endif
+
+#ifndef SIMPLEQ_HEAD
+#define SIMPLEQ_HEAD STAILQ_HEAD
+#define SIMPLEQ_HEAD_INITIALIZER STAILQ_HEAD_INITIALIZER
+#define SIMPLEQ_ENTRY STAILQ_ENTRY
+#define SIMPLEQ_INIT STAILQ_INIT
+#define SIMPLEQ_INSERT_AFTER STAILQ_INSERT_AFTER
+#define SIMPLEQ_INSERT_HEAD STAILQ_INSERT_HEAD
+#define SIMPLEQ_INSERT_TAIL STAILQ_INSERT_TAIL
+#define SIMPLEQ_EMPTY STAILQ_EMPTY
+#define SIMPLEQ_FIRST STAILQ_FIRST
+#define SIMPLEQ_REMOVE_AFTER STAILQ_REMOVE_AFTER
+#define SIMPLEQ_REMOVE_HEAD STAILQ_REMOVE_HEAD
+#define SIMPLEQ_FOREACH STAILQ_FOREACH
+#define SIMPLEQ_END(head) NULL
+#endif | Add SIMPLEQ->STAILQ macros for freebsd.
| isc | conformal/spectrwm,conformal/spectrwm,conformal/spectrwm | 0e4d41f065f7803d096e6c53b3956c820186c3ea |
// Copyright 2011 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#ifndef NINJA_UTIL_H_
#define NINJA_UTIL_H_
#pragma once
#include <string>
// Log a fatal message, dump a backtrace, and exit.
void Fatal(const char* msg, ...);
// Canonicalize a path like "foo/../bar.h" into just "bar.h".
bool CanonicalizePath(std::string* path, std::string* err);
#endif // NINJA_UTIL_H_
| // Copyright 2011 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#ifndef NINJA_UTIL_H_
#define NINJA_UTIL_H_
#pragma once
#include <string>
// Dump a backtrace to stderr.
// |skip_frames| is how many frames to skip;
// DumpBacktrace implicitly skips itself already.
void DumpBacktrace(int skip_frames);
// Log a fatal message, dump a backtrace, and exit.
void Fatal(const char* msg, ...);
// Canonicalize a path like "foo/../bar.h" into just "bar.h".
bool CanonicalizePath(std::string* path, std::string* err);
#endif // NINJA_UTIL_H_
| ---
+++
@@ -18,11 +18,6 @@
#include <string>
-// Dump a backtrace to stderr.
-// |skip_frames| is how many frames to skip;
-// DumpBacktrace implicitly skips itself already.
-void DumpBacktrace(int skip_frames);
-
// Log a fatal message, dump a backtrace, and exit.
void Fatal(const char* msg, ...);
| Remove the declaration of DumpBacktrace.
This function was removed on 01880fb3a2a13f9071e9729c3a13752846828ed2.
| apache-2.0 | synaptek/ninja,rjogrady/ninja,maximuska/ninja,dabrahams/ninja,yannicklm/ninja,hnney/ninja,ninja-build/ninja,dendy/ninja,sorbits/ninja,Ju2ender/ninja,sgraham/ninja,liukd/ninja,purcell/ninja,metti/ninja,tychoish/ninja,jimon/ninja,justinsb/ninja,nocnokneo/ninja,dendy/ninja,dabrahams/ninja,jimon/ninja,dabrahams/ninja,dorgonman/ninja,sxlin/dist_ninja,ukai/ninja,pathscale/ninja,LuaDist/ninja,mgaunard/ninja,lizh06/ninja,curinir/ninja,juntalis/ninja,chenyukang/ninja,jimon/ninja,maximuska/ninja,nornagon/ninja,tfarina/ninja,iwadon/ninja,mathstuf/ninja,pcc/ninja,dpwright/ninja,mdempsky/ninja,ilor/ninja,mutac/ninja,ndsol/subninja,purcell/ninja,chenyukang/ninja,martine/ninja,jsternberg/ninja,okuoku/ninja,justinsb/ninja,tfarina/ninja,ikarienator/ninja,SByer/ninja,automeka/ninja,PetrWolf/ninja,PetrWolf/ninja-main,jendrikillner/ninja,Maratyszcza/ninja-pypi,glensc/ninja,nocnokneo/ninja,martine/ninja,ilor/ninja,bmeurer/ninja,tychoish/ninja,mohamed/ninja,Qix-/ninja,nafest/ninja,kissthink/ninja,jhanssen/ninja,automeka/ninja,maruel/ninja,autopulated/ninja,nocnokneo/ninja,maruel/ninja,TheOneRing/ninja,ehird/ninja,fifoforlifo/ninja,nornagon/ninja,bmeurer/ninja,Maratyszcza/ninja-pypi,iwadon/ninja,vvvrrooomm/ninja,lizh06/ninja,kimgr/ninja,atetubou/ninja,sxlin/dist_ninja,dorgonman/ninja,ikarienator/ninja,mgaunard/ninja,pck/ninja,rnk/ninja,jsternberg/ninja,ikarienator/ninja,sgraham/ninja,pck/ninja,vvvrrooomm/ninja,curinir/ninja,ThiagoGarciaAlves/ninja,bradking/ninja,ehird/ninja,rnk/ninja,metti/ninja,maruel/ninja,PetrWolf/ninja-main,TheOneRing/ninja,jendrikillner/ninja,mydongistiny/ninja,tfarina/ninja,AoD314/ninja,mdempsky/ninja,rnk/ninja,okuoku/ninja,ndsol/subninja,kissthink/ninja,PetrWolf/ninja,ThiagoGarciaAlves/ninja,metti/ninja,barak/ninja,ninja-build/ninja,ctiller/ninja,dpwright/ninja,drbo/ninja,syntheticpp/ninja,iwadon/ninja,atetubou/ninja,nico/ninja,bradking/ninja,nornagon/ninja,autopulated/ninja,fifoforlifo/ninja,kissthink/ninja,mohamed/ninja,nickhutchinson/ninja,kissthink/ninja,kimgr/ninja,pcc/ninja,drbo/ninja,okuoku/ninja,ThiagoGarciaAlves/ninja,SByer/ninja,nickhutchinson/ninja,autopulated/ninja,ctiller/ninja,PetrWolf/ninja,ikarienator/ninja,juntalis/ninja,colincross/ninja,chenyukang/ninja,martine/ninja,nafest/ninja,mutac/ninja,vvvrrooomm/ninja,PetrWolf/ninja-main,hnney/ninja,tfarina/ninja,ukai/ninja,sgraham/ninja,martine/ninja,nicolasdespres/ninja,ctiller/ninja,ignatenkobrain/ninja,mydongistiny/ninja,autopulated/ninja,ehird/ninja,dpwright/ninja,rnk/ninja,okuoku/ninja,dorgonman/ninja,Maratyszcza/ninja-pypi,LuaDist/ninja,PetrWolf/ninja-main,rjogrady/ninja,Ju2ender/ninja,yannicklm/ninja,TheOneRing/ninja,tychoish/ninja,ilor/ninja,bmeurer/ninja,ilor/ninja,AoD314/ninja,cipriancraciun/ninja,Qix-/ninja,mohamed/ninja,jimon/ninja,PetrWolf/ninja,nico/ninja,mathstuf/ninja,ndsol/subninja,juntalis/ninja,automeka/ninja,mohamed/ninja,nafest/ninja,yannicklm/ninja,ninja-build/ninja,mydongistiny/ninja,nafest/ninja,mgaunard/ninja,syntheticpp/ninja,glensc/ninja,sorbits/ninja,dendy/ninja,Maratyszcza/ninja-pypi,purcell/ninja,pathscale/ninja,Qix-/ninja,drbo/ninja,ThiagoGarciaAlves/ninja,atetubou/ninja,moroten/ninja,jhanssen/ninja,pathscale/ninja,curinir/ninja,iwadon/ninja,synaptek/ninja,fifoforlifo/ninja,nornagon/ninja,ignatenkobrain/ninja,syntheticpp/ninja,juntalis/ninja,colincross/ninja,mutac/ninja,hnney/ninja,justinsb/ninja,lizh06/ninja,syntheticpp/ninja,LuaDist/ninja,cipriancraciun/ninja,ninja-build/ninja,synaptek/ninja,vvvrrooomm/ninja,bradking/ninja,mdempsky/ninja,Ju2ender/ninja,mgaunard/ninja,atetubou/ninja,glensc/ninja,nicolasdespres/ninja,nicolasdespres/ninja,glensc/ninja,chenyukang/ninja,guiquanz/ninja,ignatenkobrain/ninja,colincross/ninja,SByer/ninja,jsternberg/ninja,mathstuf/ninja,dpwright/ninja,ctiller/ninja,nico/ninja,pcc/ninja,guiquanz/ninja,maximuska/ninja,maruel/ninja,sorbits/ninja,ignatenkobrain/ninja,jendrikillner/ninja,kimgr/ninja,pathscale/ninja,synaptek/ninja,tychoish/ninja,mathstuf/ninja,dendy/ninja,Qix-/ninja,guiquanz/ninja,jhanssen/ninja,Ju2ender/ninja,fuchsia-mirror/third_party-ninja,ukai/ninja,pck/ninja,curinir/ninja,dorgonman/ninja,SByer/ninja,mdempsky/ninja,drbo/ninja,rjogrady/ninja,nicolasdespres/ninja,hnney/ninja,sxlin/dist_ninja,yannicklm/ninja,ehird/ninja,liukd/ninja,ndsol/subninja,cipriancraciun/ninja,jendrikillner/ninja,LuaDist/ninja,sxlin/dist_ninja,fuchsia-mirror/third_party-ninja,sorbits/ninja,bmeurer/ninja,AoD314/ninja,colincross/ninja,jhanssen/ninja,fifoforlifo/ninja,jsternberg/ninja,metti/ninja,barak/ninja,liukd/ninja,fuchsia-mirror/third_party-ninja,barak/ninja,mydongistiny/ninja,nocnokneo/ninja,sxlin/dist_ninja,liukd/ninja,sxlin/dist_ninja,mutac/ninja,guiquanz/ninja,AoD314/ninja,moroten/ninja,moroten/ninja,nico/ninja,pck/ninja,maximuska/ninja,sxlin/dist_ninja,pcc/ninja,lizh06/ninja,fuchsia-mirror/third_party-ninja,kimgr/ninja,justinsb/ninja,bradking/ninja,moroten/ninja,ukai/ninja,cipriancraciun/ninja,barak/ninja,purcell/ninja,nickhutchinson/ninja,automeka/ninja,dabrahams/ninja,sgraham/ninja,TheOneRing/ninja,rjogrady/ninja,nickhutchinson/ninja | ece2d63323bde9fd89956193167e09708802d73c |
//Move this directory to ~/sketchbook/libraries
// and clone https://github.com/mavlink/c_library_v2.git inside
// git clone https://github.com/mavlink/c_library_V2.git ~/Arduino/libraries/MavlinkForArduino/c_library_v2
#include "c_library_v2/ardupilotmega/mavlink.h"
| //Move this directory to ~/sketchbook/libraries
// and clone https://github.com/mavlink/c_library.git inside
// git clone https://github.com/mavlink/c_library.git ~/sketchbook/libraries/MavlinkForArduino
#include "c_library/ardupilotmega/mavlink.h"
| ---
+++
@@ -1,5 +1,5 @@
//Move this directory to ~/sketchbook/libraries
-// and clone https://github.com/mavlink/c_library.git inside
-// git clone https://github.com/mavlink/c_library.git ~/sketchbook/libraries/MavlinkForArduino
+// and clone https://github.com/mavlink/c_library_v2.git inside
+// git clone https://github.com/mavlink/c_library_V2.git ~/Arduino/libraries/MavlinkForArduino/c_library_v2
-#include "c_library/ardupilotmega/mavlink.h"
+#include "c_library_v2/ardupilotmega/mavlink.h" | Use updated mavlink library v2
| mit | baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite,baptistelabat/robokite | 687d7dd560c87624776c33d62b4646b6824bf3c4 |
#ifndef HMLIB_CONFIGVC_INC
#define HMLIB_CONFIGVC_INC 101
#
/*===config_vc===
VisualStudio C/C++の設定用マクロ
config_vc_v1_01/121204 hmIto
拡張子をhppからhに変更
インクルードガードマクロの不要なアンダーバーを消去
*/
#ifdef _MSC_VER
# //windows.hのmin,maxを使わせない
# ifndef NOMINMAX
# define NOMINMAX
# endif
# //古いunsafeな関数群使用による警告回避
# define _CRT_SECURE_NO_WARNINGS
# define _AFX_SECURE_NO_WARNINGS
# define _ATL_SECURE_NO_WARNINGS
# define _SCL_SECURE_NO_WARNINGS
# define _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING
# define _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS
#endif
#
#endif
| #ifndef HMLIB_CONFIGVC_INC
#define HMLIB_CONFIGVC_INC 101
#
/*===config_vc===
VisualStudio C/C++の設定用マクロ
config_vc_v1_01/121204 hmIto
拡張子をhppからhに変更
インクルードガードマクロの不要なアンダーバーを消去
*/
#ifdef _MSC_VER
# //windows.hのmin,maxを使わせない
# ifndef NOMINMAX
# define NOMINMAX
# endif
# //古いunsafeな関数群使用による警告回避
# define _CRT_SECURE_NO_WARNINGS
# define _AFX_SECURE_NO_WARNINGS
# define _ATL_SECURE_NO_WARNINGS
# define _SCL_SECURE_NO_WARNINGS
#endif
#
#endif
| ---
+++
@@ -18,6 +18,9 @@
# define _AFX_SECURE_NO_WARNINGS
# define _ATL_SECURE_NO_WARNINGS
# define _SCL_SECURE_NO_WARNINGS
+# define _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING
+# define _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS
+
#endif
#
#endif | Add C++17 depricated error ignore tag.
| mit | hmito/hmLib,hmito/hmLib | 88cd7aa7965d5a7bade3f943e1419cf0c59d225b |
#ifndef UTILS_H
#define UTILS_H
#include <string>
/** \brief Convert given container to it's hex representation */
template< typename T >
std::string toHex( const T& data )
{
static const char charTable[] = "0123456789abcdef";
std::string ret;
if ( data.size() > 80 )
{
ret = "*** LARGE *** ";
for ( size_t i=0; i<40; i++ )
{
ret.push_back( charTable[ ( data[i] >> 4 ) & 0xF ] );
ret.push_back( charTable[ ( data[i] >> 0 ) & 0xF ] );
}
ret.append("...");
for ( size_t i=data.size()-40; i<data.size(); i++ )
{
ret.push_back( charTable[ ( data[i] >> 4 ) & 0xF ] );
ret.push_back( charTable[ ( data[i] >> 0 ) & 0xF ] );
}
}
else
{
for ( const auto& val: data )
{
ret.push_back( charTable[ ( val >> 4 ) & 0xF ] );
ret.push_back( charTable[ ( val >> 0 ) & 0xF ] );
}
}
return ret;
}
#endif // UTILS_H
| #ifndef UTILS_H
#define UTILS_H
#include <string>
/** \brief Convert given container to it's hex representation */
template< typename T >
std::string toHex( const T& data )
{
static const char charTable[] = "0123456789abcdef";
std::string ret;
if ( data.size() > 1024 )
{
ret = "*** LARGE *** ";
for ( size_t i=0; i<40; i++ )
{
ret.push_back( charTable[ ( data[i] >> 4 ) & 0xF ] );
ret.push_back( charTable[ ( data[i] >> 0 ) & 0xF ] );
}
ret.append("...");
for ( size_t i=data.size()-40; i<data.size(); i++ )
{
ret.push_back( charTable[ ( data[i] >> 4 ) & 0xF ] );
ret.push_back( charTable[ ( data[i] >> 0 ) & 0xF ] );
}
}
else
{
for ( const auto& val: data )
{
ret.push_back( charTable[ ( val >> 4 ) & 0xF ] );
ret.push_back( charTable[ ( val >> 0 ) & 0xF ] );
}
}
return ret;
}
#endif // UTILS_H
| ---
+++
@@ -10,7 +10,7 @@
static const char charTable[] = "0123456789abcdef";
std::string ret;
- if ( data.size() > 1024 )
+ if ( data.size() > 80 )
{
ret = "*** LARGE *** ";
for ( size_t i=0; i<40; i++ ) | Make the hex dump size limit much smaller
| bsd-3-clause | cinode/cpptestapp,cinode/cpptestapp | e6afdae011102bc110d072c33e2704bccc7cc6e4 |
/*
* Copyright (c) 2004-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*
*/
#ifndef FB_SK_MACROS_H
#define FB_SK_MACROS_H
#define FB_LINK_REQUIRE_(NAME)
#define FB_LINKABLE(NAME)
#define FB_LINK_REQUIRE(NAME)
#endif
| /*
* Copyright (c) 2004-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*
*/
#ifndef FB_SK_MACROS_H
#define FB_SK_MACROS_H
#define FB_LINK_REQUIRE_(NAME, UNIQUE)
#define FB_LINKABLE(NAME)
#define FB_LINK_REQUIRE(NAME)
#endif
| ---
+++
@@ -1,13 +1,13 @@
-/*
- * Copyright (c) 2004-present, Facebook, Inc.
- *
- * This source code is licensed under the MIT license found in the LICENSE
- * file in the root directory of this source tree.
- *
- */
-#ifndef FB_SK_MACROS_H
- #define FB_SK_MACROS_H
- #define FB_LINK_REQUIRE_(NAME, UNIQUE)
- #define FB_LINKABLE(NAME)
- #define FB_LINK_REQUIRE(NAME)
+/*
+ * Copyright (c) 2004-present, Facebook, Inc.
+ *
+ * This source code is licensed under the MIT license found in the LICENSE
+ * file in the root directory of this source tree.
+ *
+ */
+#ifndef FB_SK_MACROS_H
+ #define FB_SK_MACROS_H
+ #define FB_LINK_REQUIRE_(NAME)
+ #define FB_LINKABLE(NAME)
+ #define FB_LINK_REQUIRE(NAME)
#endif | Delete second argument to FB_LINK_REQUIRE_
Summary: It is now always NAME.
Reviewed By: adamjernst
Differential Revision: D13577665
fbshipit-source-id: 9d9330fd17b7e214ef807760d0314c34bd06ebd5
| mit | facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper | 6cfdf1a8a98e6fd02227724fb6cab225671cb016 |
//
// GrowlBezelWindowView.h
// Display Plugins
//
// Created by Jorge Salvador Caffarena on 09/09/04.
// Copyright 2004 Jorge Salvador Caffarena. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "GrowlNotificationView.h"
@interface GrowlBezelWindowView : GrowlNotificationView {
NSImage *icon;
NSString *title;
NSString *text;
NSColor *textColor;
NSColor *backgroundColor;
NSLayoutManager *layoutManager;
}
- (void) setIcon:(NSImage *)icon;
- (void) setTitle:(NSString *)title;
- (void) setText:(NSString *)text;
- (void) setPriority:(int)priority;
- (float) descriptionHeight:(NSString *)text attributes:(NSDictionary *)attributes width:(float)width;
- (id) target;
- (void) setTarget:(id)object;
- (SEL) action;
- (void) setAction:(SEL)selector;
@end
| //
// GrowlBezelWindowView.h
// Display Plugins
//
// Created by Jorge Salvador Caffarena on 09/09/04.
// Copyright 2004 Jorge Salvador Caffarena. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "GrowlNotificationView.h"
@interface GrowlBezelWindowView : GrowlNotificationView {
NSImage *icon;
NSString *title;
NSString *text;
SEL action;
id target;
NSColor *textColor;
NSColor *backgroundColor;
NSLayoutManager *layoutManager;
}
- (void) setIcon:(NSImage *)icon;
- (void) setTitle:(NSString *)title;
- (void) setText:(NSString *)text;
- (void) setPriority:(int)priority;
- (float) descriptionHeight:(NSString *)text attributes:(NSDictionary *)attributes width:(float)width;
- (id) target;
- (void) setTarget:(id)object;
- (SEL) action;
- (void) setAction:(SEL)selector;
@end
| ---
+++
@@ -13,8 +13,6 @@
NSImage *icon;
NSString *title;
NSString *text;
- SEL action;
- id target;
NSColor *textColor;
NSColor *backgroundColor; | Remove duplicate members so this compiles again
--HG--
extra : convert_revision : svn%3A99687598-2e92-11dd-8019-fe7b9d601d1b/trunk%403400
| bsd-3-clause | PersonifyInc/growl,incbee/Growl,PersonifyInc/growl,incbee/Growl,incbee/Growl,incbee/Growl,PersonifyInc/growl,PersonifyInc/growl,PersonifyInc/growl,incbee/Growl | 607893ef3f8ff351c68e8a057704d40a34c56872 |
#include <errno.h>
#include "iobuf.h"
#include "iopoll.h"
int iobuf_timeout(iobuf* io, int poll_out)
{
iopoll_fd pfd;
int result;
if (!io->timeout) return 1;
pfd.fd = io->fd;
pfd.events = poll_out ? IOPOLL_WRITE : IOPOLL_READ;
while ((result = iopoll(&pfd, 1, io->timeout)) == -1) {
if (errno == EAGAIN) continue;
IOBUF_SET_ERROR(io);
}
if (result) return 1;
io->flags |= IOBUF_TIMEOUT;
return 0;
}
| #include <errno.h>
#include <sys/poll.h>
#include "iobuf.h"
int iobuf_timeout(iobuf* io, int poll_out)
{
struct pollfd pfd;
int result;
if (!io->timeout) return 1;
pfd.fd = io->fd;
pfd.events = poll_out ? POLLOUT : POLLIN;
while ((result = poll(&pfd, 1, io->timeout)) == -1) {
if (errno == EAGAIN) continue;
IOBUF_SET_ERROR(io);
}
if (result) return 1;
io->flags |= IOBUF_TIMEOUT;
return 0;
}
| ---
+++
@@ -1,17 +1,17 @@
#include <errno.h>
-#include <sys/poll.h>
#include "iobuf.h"
+#include "iopoll.h"
int iobuf_timeout(iobuf* io, int poll_out)
{
- struct pollfd pfd;
+ iopoll_fd pfd;
int result;
if (!io->timeout) return 1;
pfd.fd = io->fd;
- pfd.events = poll_out ? POLLOUT : POLLIN;
- while ((result = poll(&pfd, 1, io->timeout)) == -1) {
+ pfd.events = poll_out ? IOPOLL_WRITE : IOPOLL_READ;
+ while ((result = iopoll(&pfd, 1, io->timeout)) == -1) {
if (errno == EAGAIN) continue;
IOBUF_SET_ERROR(io);
} | Use iopoll instead of poll directly.
| lgpl-2.1 | bruceg/bglibs,bruceg/bglibs,bruceg/bglibs,bruceg/bglibs,bruceg/bglibs,bruceg/bglibs | 9cbbb1707f067cd7806a6a408e9e25a258649209 |
#include <stdio.h>
void print_fib(int n)
{
int a = 0;
int b = 1;
while (a < n)
{
int old_a = a;
printf("%d ", a);
a = b;
b = old_a + b;
}
}
int main()
{
print_fib(500);
printf("\n");
return 0;
}
| #include <stdio.h>
void print_fib(int n)
{
int a = 0;
int b = 1;
while (a < n)
{
printf("%d ", a);
int old_a = a;
a = b;
b = old_a + b;
}
}
int main()
{
print_fib(500);
printf("\n");
return 0;
}
| ---
+++
@@ -6,9 +6,8 @@
int b = 1;
while (a < n)
{
+ int old_a = a;
printf("%d ", a);
-
- int old_a = a;
a = b;
b = old_a + b;
} | Fix variable declaration non-conformant to C89
Declaring variables on C89 need to be done at the beginning of the
function scope. The old code failed on VS2010. | bsd-3-clause | webmaster128/clcache,webmaster128/clcache,webmaster128/clcache | c8bb5693469744e0deeb03a552f190faa2146764 |
#include <stdlib.h>
#include <ncurses.h>
#include <time.h>
typedef struct {
} AtcsoData;
void mainloop();
WINDOW *createRadarWin();
void updateRadarWin(AtcsoData *data, WINDOW *radarWin);
/**
* The main function, called when atcso is started (duh).
*/
int main(int argc, char **argv) {
initscr();
raw(); // Disable line buffering
noecho(); // Don't show things the user is typing
nodelay(stdscr, TRUE); // Non-blocking getch()
mainloop(); // Start the game!
endwin();
return EXIT_SUCCESS;
}
/**
* The main loop: runs infinitely until the game is ended.
*/
void mainloop() {
// get all our windows
refresh();
WINDOW *radarWin = createRadarWin();
// TODO put this somewhere... better
const int TICK_DELAY = 2;
// the main loop
int ch;
time_t lastTick = time(NULL);
AtcsoData data;
for (;;) {
if (difftime(time(NULL), lastTick) > TICK_DELAY) {
updateRadarWin(&data, radarWin);
lastTick += TICK_DELAY;
}
if ((ch = getch()) != ERR) {
switch (ch) {
case 'q':
case 'Q':
goto cleanup;
}
}
}
cleanup:
delwin(radarWin);
}
/**
* Creates the radar window, the biggest one that has all the planes and stuff.
*/
WINDOW *createRadarWin() {
WINDOW *radarWin = newwin(21, 60, 0, 0);
for (int i = 0; i < 59; ++i) waddch(radarWin, '-');
waddch(radarWin, ' ');
for (int i = 0; i < 19; ++i) {
waddstr(radarWin, "| ");
for (int j = 0; j < 28; ++j) waddstr(radarWin, ". ");
waddstr(radarWin, "| ");
}
for (int i = 0; i < 59; ++i) waddch(radarWin, '-');
waddch(radarWin, ' ');
wrefresh(radarWin);
return radarWin;
}
/**
* Update and refresh the radar window.
*/
void updateRadarWin(AtcsoData *data, WINDOW *radarWin) {
// TODO do stuff
}
| #include <stdlib.h>
#include <ncurses.h>
/**
* The main function, called when atcso is started (duh).
*/
int main(int argc, char** argv) {
initscr();
raw(); // Disable line buffering
noecho(); // Don't show things the user is typing
printw("hai wurld");
refresh();
while (getch() != 'q'); // Wait for the user to hit `q' to quit
endwin();
return EXIT_SUCCESS;
}
| ---
+++
@@ -1,20 +1,90 @@
#include <stdlib.h>
#include <ncurses.h>
+#include <time.h>
+
+
+typedef struct {
+} AtcsoData;
+
+
+void mainloop();
+WINDOW *createRadarWin();
+void updateRadarWin(AtcsoData *data, WINDOW *radarWin);
/**
* The main function, called when atcso is started (duh).
*/
-int main(int argc, char** argv) {
+int main(int argc, char **argv) {
initscr();
- raw(); // Disable line buffering
- noecho(); // Don't show things the user is typing
+ raw(); // Disable line buffering
+ noecho(); // Don't show things the user is typing
+ nodelay(stdscr, TRUE); // Non-blocking getch()
- printw("hai wurld");
- refresh();
+ mainloop(); // Start the game!
- while (getch() != 'q'); // Wait for the user to hit `q' to quit
endwin();
-
return EXIT_SUCCESS;
}
+
+/**
+ * The main loop: runs infinitely until the game is ended.
+ */
+void mainloop() {
+ // get all our windows
+ refresh();
+ WINDOW *radarWin = createRadarWin();
+
+ // TODO put this somewhere... better
+ const int TICK_DELAY = 2;
+
+ // the main loop
+ int ch;
+ time_t lastTick = time(NULL);
+ AtcsoData data;
+ for (;;) {
+ if (difftime(time(NULL), lastTick) > TICK_DELAY) {
+ updateRadarWin(&data, radarWin);
+
+ lastTick += TICK_DELAY;
+ }
+
+ if ((ch = getch()) != ERR) {
+ switch (ch) {
+ case 'q':
+ case 'Q':
+ goto cleanup;
+ }
+ }
+ }
+
+ cleanup:
+ delwin(radarWin);
+}
+
+/**
+ * Creates the radar window, the biggest one that has all the planes and stuff.
+ */
+WINDOW *createRadarWin() {
+ WINDOW *radarWin = newwin(21, 60, 0, 0);
+
+ for (int i = 0; i < 59; ++i) waddch(radarWin, '-');
+ waddch(radarWin, ' ');
+ for (int i = 0; i < 19; ++i) {
+ waddstr(radarWin, "| ");
+ for (int j = 0; j < 28; ++j) waddstr(radarWin, ". ");
+ waddstr(radarWin, "| ");
+ }
+ for (int i = 0; i < 59; ++i) waddch(radarWin, '-');
+ waddch(radarWin, ' ');
+
+ wrefresh(radarWin);
+ return radarWin;
+}
+
+/**
+ * Update and refresh the radar window.
+ */
+void updateRadarWin(AtcsoData *data, WINDOW *radarWin) {
+ // TODO do stuff
+} | Implement outline of "radar window"
The radar window is simply the "main" window, with all the planes and
stuff.
This commit draws the outline of this window, and it also adds a few
pieces of code that will serve as a framework for future inter-window
communication.
| mit | KeyboardFire/atcso | 1d092135d5973e22550e260c944c2c5e7678923a |
#ifndef ROOT_RVersion
#define ROOT_RVersion
/* Version information automatically generated by installer. */
/*
* These macros can be used in the following way:
*
* #if ROOT_VERSION_CODE >= ROOT_VERSION(2,23,4)
* #include <newheader.h>
* #else
* #include <oldheader.h>
* #endif
*
*/
#define ROOT_RELEASE "5.34/23"
#define ROOT_RELEASE_DATE "Nov 7 2014"
#define ROOT_RELEASE_TIME "15:06:58"
#define ROOT_SVN_REVISION 49361
#define ROOT_GIT_COMMIT "v5-34-22-106-g4a0dea3"
#define ROOT_GIT_BRANCH "heads/v5-34-00-patches"
#define ROOT_VERSION_CODE 336407
#define ROOT_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
#endif
| #ifndef ROOT_RVersion
#define ROOT_RVersion
/* Version information automatically generated by installer. */
/*
* These macros can be used in the following way:
*
* #if ROOT_VERSION_CODE >= ROOT_VERSION(2,23,4)
* #include <newheader.h>
* #else
* #include <oldheader.h>
* #endif
*
*/
#define ROOT_RELEASE "5.34/22"
#define ROOT_RELEASE_DATE "Oct 10 2014"
#define ROOT_RELEASE_TIME "15:29:14"
#define ROOT_SVN_REVISION 49361
#define ROOT_GIT_COMMIT "v5-34-21-104-gf821c17"
#define ROOT_GIT_BRANCH "heads/v5-34-00-patches"
#define ROOT_VERSION_CODE 336406
#define ROOT_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
#endif
| ---
+++
@@ -14,13 +14,13 @@
*
*/
-#define ROOT_RELEASE "5.34/22"
-#define ROOT_RELEASE_DATE "Oct 10 2014"
-#define ROOT_RELEASE_TIME "15:29:14"
+#define ROOT_RELEASE "5.34/23"
+#define ROOT_RELEASE_DATE "Nov 7 2014"
+#define ROOT_RELEASE_TIME "15:06:58"
#define ROOT_SVN_REVISION 49361
-#define ROOT_GIT_COMMIT "v5-34-21-104-gf821c17"
+#define ROOT_GIT_COMMIT "v5-34-22-106-g4a0dea3"
#define ROOT_GIT_BRANCH "heads/v5-34-00-patches"
-#define ROOT_VERSION_CODE 336406
+#define ROOT_VERSION_CODE 336407
#define ROOT_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
#endif | Update ROOT version files to v5.34/23.
| lgpl-2.1 | tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot | 80867bf2320444893e7248bead8b63aec23993a4 |
/*
* mjs copyright
*/
/*
* Obtain memory configuration information from the BIOS
*
* Note that we don't try too hard here; knowing the size of
* base memory and extended memory out to 16 or 64M is enough for
* the requirements of the bootstrap.
*
* We also maintain a pointer to the top of physical memory
* once called to allow rangechecking of load/copy requests.
*/
#include <stand.h>
#include "btxv86.h"
vm_offset_t memtop;
/*
* Return base memory size in kB.
*/
int
getbasemem(void)
{
v86.ctl = 0;
v86.addr = 0x12; /* int 0x12 */
v86int();
return(v86.eax & 0xffff);
}
/*
* Return extended memory size in kB
*/
int
getextmem(void)
{
int extkb;
v86.ctl = 0;
v86.addr = 0x15; /* int 0x15 function 0x88*/
v86.eax = 0x8800;
v86int();
extkb = v86.eax & 0xffff;
/* Set memtop to actual top or 16M, whicheve is less */
memtop = min((0x100000 + (extkb * 1024)), (16 * 1024 * 1024));
return(extkb);
}
| /*
* mjs copyright
*/
/*
* Obtain memory configuration information from the BIOS
*
* Note that we don't try too hard here; knowing the size of
* base memory and extended memory out to 16 or 64M is enough for
* the requirements of the bootstrap.
*
* We also maintain a pointer to the top of physical memory
* once called to allow rangechecking of load/copy requests.
*/
#include <stand.h>
#include "btxv86.h"
vm_offset_t memtop;
/*
* Return base memory size in kB.
*/
int
getbasemem(void)
{
v86.ctl = 0;
v86.addr = 0x1a; /* int 0x12 */
v86int();
return(v86.eax & 0xffff);
}
/*
* Return extended memory size in kB
*/
int
getextmem(void)
{
int extkb;
v86.ctl = 0;
v86.addr = 0x15; /* int 0x12 function 0x88*/
v86.eax = 0x8800;
v86int();
extkb = v86.eax & 0xffff;
/* Set memtop to actual top or 16M, whicheve is less */
memtop = min((0x100000 + (extkb * 1024)), (16 * 1024 * 1024));
return(extkb);
}
| ---
+++
@@ -24,7 +24,7 @@
getbasemem(void)
{
v86.ctl = 0;
- v86.addr = 0x1a; /* int 0x12 */
+ v86.addr = 0x12; /* int 0x12 */
v86int();
return(v86.eax & 0xffff);
@@ -39,7 +39,7 @@
int extkb;
v86.ctl = 0;
- v86.addr = 0x15; /* int 0x12 function 0x88*/
+ v86.addr = 0x15; /* int 0x15 function 0x88*/
v86.eax = 0x8800;
v86int();
extkb = v86.eax & 0xffff; | Fix typos.. The vector for "int 0x12" (get base mem) is not written in
hex as "0x1a". :-)
Fix a comment about the extended memory checks, that's int 0x15.
| bsd-3-clause | jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase | 3a7eff1835fa925382f1130d6fdc34cf4d2966b1 |
/*-
* Copyright (c) 2004 David E. O'Brien
* Copyright (c) 2004 Andrey A. Chernov
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD$
*/
#ifdef __GNUC__
#warning "<gnuregex.h> has been replaced by <gnu/regex.h>"
#endif
#include <gnu/regex.h>
| /* $FreeBSD$ */
#warning "<gnuregex.h> has been replaced by <gnu/regex.h>"
#include <gnu/regex.h>
| ---
+++
@@ -1,3 +1,33 @@
-/* $FreeBSD$ */
+/*-
+ * Copyright (c) 2004 David E. O'Brien
+ * Copyright (c) 2004 Andrey A. Chernov
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * $FreeBSD$
+ */
+
+#ifdef __GNUC__
#warning "<gnuregex.h> has been replaced by <gnu/regex.h>"
+#endif
#include <gnu/regex.h> | Allow to compile with non-GCC compiler.
| bsd-3-clause | jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase | 6dde82a036afb3d1a6e012f2f8273b401c8b47d1 |
/*
* Copyright 2014 MongoDB, Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef MONGOC_IOVEC_H
#define MONGOC_IOVEC_H
#include <bson.h>
#ifdef _WIN32
# include <stddef.h>
#else
# include <sys/uio.h>
#endif
BSON_BEGIN_DECLS
#ifdef _WIN32
typedef struct
{
u_long iov_len;
char *iov_base;
} mongoc_iovec_t;
BSON_STATIC_ASSERT(sizeof(mongoc_iovec_t) == sizeof(WSABUF));
BSON_STATIC_ASSERT(offsetof(mongoc_iovec_t, iov_base) == offsetof(WSABUF, buf));
BSON_STATIC_ASSERT(offsetof(mongoc_iovec_t, iov_len) == offsetof(WSABUF, len));
#else
typedef struct iovec mongoc_iovec_t;
#endif
BSON_END_DECLS
#endif /* MONGOC_IOVEC_H */
| /*
* Copyright 2014 MongoDB, Inc.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef MONGOC_IOVEC_H
#define MONGOC_IOVEC_H
#include <bson.h>
#ifndef _WIN32
# include <sys/uio.h>
#endif
BSON_BEGIN_DECLS
#ifdef _WIN32
typedef struct
{
u_long iov_len;
char *iov_base;
} mongoc_iovec_t;
#else
typedef struct iovec mongoc_iovec_t;
#endif
BSON_END_DECLS
#endif /* MONGOC_IOVEC_H */
| ---
+++
@@ -21,10 +21,11 @@
#include <bson.h>
-#ifndef _WIN32
+#ifdef _WIN32
+# include <stddef.h>
+#else
# include <sys/uio.h>
#endif
-
BSON_BEGIN_DECLS
@@ -35,6 +36,11 @@
u_long iov_len;
char *iov_base;
} mongoc_iovec_t;
+
+BSON_STATIC_ASSERT(sizeof(mongoc_iovec_t) == sizeof(WSABUF));
+BSON_STATIC_ASSERT(offsetof(mongoc_iovec_t, iov_base) == offsetof(WSABUF, buf));
+BSON_STATIC_ASSERT(offsetof(mongoc_iovec_t, iov_len) == offsetof(WSABUF, len));
+
#else
typedef struct iovec mongoc_iovec_t;
#endif | CDRIVER-756: Make sure our iovec abstraction is compatible with Windows WSABUF
We cast mongoc_iovec_t to LPWSABUF in our sendmsg() wrapper
| apache-2.0 | ajdavis/mongo-c-driver,rcsanchez97/mongo-c-driver,acmorrow/mongo-c-driver,ajdavis/mongo-c-driver,rcsanchez97/mongo-c-driver,derickr/mongo-c-driver,christopherjwang/mongo-c-driver,christopherjwang/mongo-c-driver,jmikola/mongo-c-driver,derickr/mongo-c-driver,jmikola/mongo-c-driver,acmorrow/mongo-c-driver,beingmeta/mongo-c-driver,derickr/mongo-c-driver,remicollet/mongo-c-driver,malexzx/mongo-c-driver,mongodb/mongo-c-driver,rcsanchez97/mongo-c-driver,derickr/mongo-c-driver,mschoenlaub/mongo-c-driver,ksuarz/mongo-c-driver,remicollet/mongo-c-driver,remicollet/mongo-c-driver,jmikola/mongo-c-driver,ac000/mongo-c-driver,acmorrow/mongo-c-driver,ksuarz/mongo-c-driver,rcsanchez97/mongo-c-driver,derickr/mongo-c-driver,acmorrow/mongo-c-driver,ajdavis/mongo-c-driver,ac000/mongo-c-driver,bjori/mongo-c-driver,beingmeta/mongo-c-driver,ajdavis/mongo-c-driver,bjori/mongo-c-driver,beingmeta/mongo-c-driver,Convey-Compliance/mongo-c-driver,ajdavis/mongo-c-driver,beingmeta/mongo-c-driver,acmorrow/mongo-c-driver,rcsanchez97/mongo-c-driver,jmikola/mongo-c-driver,Machyne/mongo-c-driver,bjori/mongo-c-driver,remicollet/mongo-c-driver,Machyne/mongo-c-driver,malexzx/mongo-c-driver,beingmeta/mongo-c-driver,Convey-Compliance/mongo-c-driver,rcsanchez97/mongo-c-driver,u2yg/mongo-c-driver,mongodb/mongo-c-driver,bjori/mongo-c-driver,Convey-Compliance/mongo-c-driver,remicollet/mongo-c-driver,mongodb/mongo-c-driver,ajdavis/mongo-c-driver,ksuarz/mongo-c-driver,ksuarz/mongo-c-driver,Convey-Compliance/mongo-c-driver,beingmeta/mongo-c-driver,mschoenlaub/mongo-c-driver,bjori/mongo-c-driver,christopherjwang/mongo-c-driver,u2yg/mongo-c-driver,mschoenlaub/mongo-c-driver,jmikola/mongo-c-driver,Machyne/mongo-c-driver,derickr/mongo-c-driver,remicollet/mongo-c-driver,u2yg/mongo-c-driver,mongodb/mongo-c-driver,mongodb/mongo-c-driver,acmorrow/mongo-c-driver,rcsanchez97/mongo-c-driver,bjori/mongo-c-driver,ac000/mongo-c-driver,derickr/mongo-c-driver,u2yg/mongo-c-driver,mongodb/mongo-c-driver,malexzx/mongo-c-driver,bjori/mongo-c-driver,mschoenlaub/mongo-c-driver,malexzx/mongo-c-driver,Convey-Compliance/mongo-c-driver,remicollet/mongo-c-driver,ajdavis/mongo-c-driver,jmikola/mongo-c-driver,beingmeta/mongo-c-driver,Machyne/mongo-c-driver,acmorrow/mongo-c-driver,mongodb/mongo-c-driver,beingmeta/mongo-c-driver,christopherjwang/mongo-c-driver,jmikola/mongo-c-driver | 724948b4d891a91e2912497c1a3e544543b501b1 |
/*
*
* Copyright 2017 Asylo authors
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
#ifndef ASYLO_PLATFORM_POSIX_INCLUDE_BYTESWAP_H_
#define ASYLO_PLATFORM_POSIX_INCLUDE_BYTESWAP_H_
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
static inline uint16_t bswap_16(uint16_t n) { return __builtin_bswap16(n); }
static inline uint32_t bswap_32(uint32_t n) { return __builtin_bswap32(n); }
static inline uint64_t bswap_64(uint64_t n) { return __builtin_bswap64(n); }
#ifdef __cplusplus
}
#endif
#endif // ASYLO_PLATFORM_POSIX_INCLUDE_BYTESWAP_H_
| /*
*
* Copyright 2017 Asylo authors
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
#ifndef ASYLO_PLATFORM_POSIX_INCLUDE_BYTESWAP_H_
#define ASYLO_PLATFORM_POSIX_INCLUDE_BYTESWAP_H_
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
inline uint16_t bswap_16(uint16_t n) { return __builtin_bswap16(n); }
inline uint32_t bswap_32(uint32_t n) { return __builtin_bswap32(n); }
inline uint64_t bswap_64(uint64_t n) { return __builtin_bswap64(n); }
#ifdef __cplusplus
}
#endif
#endif // ASYLO_PLATFORM_POSIX_INCLUDE_BYTESWAP_H_
| ---
+++
@@ -26,11 +26,11 @@
extern "C" {
#endif
-inline uint16_t bswap_16(uint16_t n) { return __builtin_bswap16(n); }
+static inline uint16_t bswap_16(uint16_t n) { return __builtin_bswap16(n); }
-inline uint32_t bswap_32(uint32_t n) { return __builtin_bswap32(n); }
+static inline uint32_t bswap_32(uint32_t n) { return __builtin_bswap32(n); }
-inline uint64_t bswap_64(uint64_t n) { return __builtin_bswap64(n); }
+static inline uint64_t bswap_64(uint64_t n) { return __builtin_bswap64(n); }
#ifdef __cplusplus
} | Declare bswap functions as static inline
Change declaration to static inline to avoid multiple definition
during linking.
PiperOrigin-RevId: 207000800
| apache-2.0 | google/asylo,google/asylo,google/asylo,google/asylo,google/asylo,google/asylo | 0ded12b69f0834a48f2310cc7f1a5f1852b2b41f |
/*
* Copyright (c) 2012-2014 Israel Jacquez
* See LICENSE for details.
*
* Israel Jacquez <[email protected]>
*/
#ifndef _LIBYAUL_H_
#define _LIBYAUL_H_
/* CPU-bus CPU */
#include <cpu.h>
/* CPU-bus SMPC */
#include <smpc.h>
/* SCU */
#include <scu.h>
/* CS0 */
#include <arp.h>
#include <dram-cartridge.h>
#include <usb-cartridge.h>
/* CS2 */
#include <cd-block.h>
/* B-bus VDP1 */
#include <vdp1.h>
/* B-bus VDP2 */
#include <vdp2.h>
/* B-bus SCSP */
#include <scsp.h>
/* Kernel */
#include <common.h>
#include <irq-mux.h>
#include <cons.h>
#include <fs/iso9660/iso9660.h>
#include <fs/romdisk/romdisk.h>
#include <gdb.h>
#endif /* !_LIBYAUL_H_ */
| /*
* Copyright (c) 2012-2014 Israel Jacquez
* See LICENSE for details.
*
* Israel Jacquez <[email protected]>
*/
#ifndef _LIBYAUL_H_
#define _LIBYAUL_H_
/* CPU */
#include <cpu.h>
/* SCU */
#include <scu.h>
/* CS0 */
#include <arp.h>
#include <dram-cartridge.h>
#include <usb-cartridge.h>
/* CS2 */
#include <cd-block.h>
/* VDP1 */
#include <vdp1.h>
/* VDP2 */
#include <vdp2.h>
/* SMPC */
#include <smpc.h>
/* Kernel */
#include <common.h>
#include <irq-mux.h>
#include <cons.h>
#include <fs/iso9660/iso9660.h>
#include <fs/romdisk/romdisk.h>
#include <gdb.h>
#endif /* !_LIBYAUL_H_ */
| ---
+++
@@ -8,8 +8,11 @@
#ifndef _LIBYAUL_H_
#define _LIBYAUL_H_
-/* CPU */
+/* CPU-bus CPU */
#include <cpu.h>
+
+/* CPU-bus SMPC */
+#include <smpc.h>
/* SCU */
#include <scu.h>
@@ -22,14 +25,14 @@
/* CS2 */
#include <cd-block.h>
-/* VDP1 */
+/* B-bus VDP1 */
#include <vdp1.h>
-/* VDP2 */
+/* B-bus VDP2 */
#include <vdp2.h>
-/* SMPC */
-#include <smpc.h>
+/* B-bus SCSP */
+#include <scsp.h>
/* Kernel */
#include <common.h> | Add missing header (for SCSP)
| mit | ijacquez/libyaul,ijacquez/libyaul,ijacquez/libyaul,ijacquez/libyaul | e59e627e6e8ef1baab2dcd79e5b28f1a6d31978c |
// ext/foo/foo_vector.h
// Declarations for wrapped struct
#ifndef FOO_VECTOR_H
#define FOO_VECTOR_H
#include <ruby.h>
#include <math.h>
// Ruby 1.8.7 compatibility patch
#ifndef DBL2NUM
#define DBL2NUM( dbl_val ) rb_float_new( dbl_val )
#endif
void init_foo_vector( VALUE parent_module );
// This is the struct that the rest of the code wraps
typedef struct _fv {
double x;
double y;
double z;
} FVStruct;
FVStruct *create_fv_struct();
void destroy_fv_struct( FVStruct *fv );
FVStruct *copy_fv_struct( FVStruct *orig );
double fv_magnitude( FVStruct *fv );
#endif | // ext/foo/foo_vector.h
// Declarations for wrapped struct
#ifndef FOO_VECTOR_H
#define FOO_VECTOR_H
#include <ruby.h>
#include <math.h>
// Ruby 1.8.7 compatibility patch
#ifndef DBL2NUM
#define DBL2NUM( dbl_val ) rb_float_new( dbl_val )
#endif
void init_foo_vector( VALUE parent_module );
// This is the struct that the rest of the code wraps
typedef struct _fv {
double x;
double y;
double z;
} FVStruct;
#endif | ---
+++
@@ -23,4 +23,9 @@
double z;
} FVStruct;
+FVStruct *create_fv_struct();
+void destroy_fv_struct( FVStruct *fv );
+FVStruct *copy_fv_struct( FVStruct *orig );
+double fv_magnitude( FVStruct *fv );
+
#endif | Add sharable methods to header file
| mit | neilslater/ruby_nex_c,neilslater/ruby_nex_c | fbc9dce9bce1097692f5ce1bbab2d6b4ac2297e6 |
// RUN: %ucc -o %t %s
// RUN: %ocheck 0 %t
// RUN: %t | %output_check 'Hello 5 5.9' '7.3 8.7 10.1 11.5 12.9 14.3 15.7 17.1 18.5 19.9' 'Hello 5 15.7' '14.3 12.9 11.5 10.1 8.7 7.3 5.9 4.5 3.1 1.7 0.3'
// should run without segfaulting
main()
{
printf("Hello %d %.1f\n"
"%.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f\n",
5,
5.9,
7.3,
8.7,
10.1,
11.5,
12.9,
14.3,
15.7,
17.1,
18.5,
19.9); // this causes an infinite loop in glibc's printf()
printf("Hello %d %.1f\n"
"%.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f\n",
5,
15.7,
14.3,
12.9,
11.5,
10.1,
8.7,
7.3,
5.9,
4.5,
3.1,
1.7, // this causes an infinite loop in glibc's printf()
0.3); // and this causes a crash
// suspect the bug is to do with double alignment when passed as stack arguments
return 0;
}
| // RUN: %ucc -o %t %s
// RUN: %ocheck 0 %t
// RUN: %t | %output_check 'Hello 5 2.3' 'Hello 5 2.3'
// should run without segfaulting
main()
{
printf("Hello %d %.1f\n",
5,
2.3,
2.3,
2.3,
2.3,
2.3,
2.3,
2.3,
2.3,
2.3,
2.3,
2.3); // this causes an infinite loop in glibc's printf()
printf("Hello %d %.1f\n",
5,
2.3,
2.3,
2.3,
2.3,
2.3,
2.3,
2.3,
2.3,
2.3,
2.3,
2.3, // this causes an infinite loop in glibc's printf()
2.3); // and this causes a crash
// suspect the bug is to do with double alignment when passed as stack arguments
return 0;
}
| ---
+++
@@ -1,38 +1,41 @@
// RUN: %ucc -o %t %s
// RUN: %ocheck 0 %t
-// RUN: %t | %output_check 'Hello 5 2.3' 'Hello 5 2.3'
+// RUN: %t | %output_check 'Hello 5 5.9' '7.3 8.7 10.1 11.5 12.9 14.3 15.7 17.1 18.5 19.9' 'Hello 5 15.7' '14.3 12.9 11.5 10.1 8.7 7.3 5.9 4.5 3.1 1.7 0.3'
+
// should run without segfaulting
main()
{
- printf("Hello %d %.1f\n",
+ printf("Hello %d %.1f\n"
+ "%.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f\n",
5,
- 2.3,
- 2.3,
- 2.3,
- 2.3,
- 2.3,
- 2.3,
- 2.3,
- 2.3,
- 2.3,
- 2.3,
- 2.3); // this causes an infinite loop in glibc's printf()
+ 5.9,
+ 7.3,
+ 8.7,
+ 10.1,
+ 11.5,
+ 12.9,
+ 14.3,
+ 15.7,
+ 17.1,
+ 18.5,
+ 19.9); // this causes an infinite loop in glibc's printf()
- printf("Hello %d %.1f\n",
+ printf("Hello %d %.1f\n"
+ "%.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f\n",
5,
- 2.3,
- 2.3,
- 2.3,
- 2.3,
- 2.3,
- 2.3,
- 2.3,
- 2.3,
- 2.3,
- 2.3,
- 2.3, // this causes an infinite loop in glibc's printf()
- 2.3); // and this causes a crash
+ 15.7,
+ 14.3,
+ 12.9,
+ 11.5,
+ 10.1,
+ 8.7,
+ 7.3,
+ 5.9,
+ 4.5,
+ 3.1,
+ 1.7, // this causes an infinite loop in glibc's printf()
+ 0.3); // and this causes a crash
// suspect the bug is to do with double alignment when passed as stack arguments | Format strings and more through test for stack floats
| mit | bobrippling/ucc-c-compiler,bobrippling/ucc-c-compiler,bobrippling/ucc-c-compiler | df717db1600e062dcd96be7ba4ae431252d578dd |
/* $OpenBSD: vmparam.h,v 1.10 2014/07/13 15:48:32 miod Exp $ */
/* public domain */
#ifndef _MACHINE_VMPARAM_H_
#define _MACHINE_VMPARAM_H_
#define VM_PHYSSEG_MAX 32 /* Max number of physical memory segments */
#include <mips64/vmparam.h>
#endif /* _MACHINE_VMPARAM_H_ */
| /* $OpenBSD: vmparam.h,v 1.9 2011/05/30 22:25:22 oga Exp $ */
/* public domain */
#ifndef _MACHINE_VMPARAM_H_
#define _MACHINE_VMPARAM_H_
#define VM_PHYSSEG_MAX 32 /* Max number of physical memory segments */
/*
* On Origin and Octane families, DMA to 32-bit PCI devices is restricted.
*
* Systems with physical memory after the 2GB boundary need to ensure
* memory which may used for DMA transfers is allocated from the low
* memory range.
*
* Other systems, like the O2, do not have such a restriction, but can not
* have more than 2GB of physical memory, so this doesn't affect them.
*/
#include <mips64/vmparam.h>
#endif /* _MACHINE_VMPARAM_H_ */
| ---
+++
@@ -1,21 +1,10 @@
-/* $OpenBSD: vmparam.h,v 1.9 2011/05/30 22:25:22 oga Exp $ */
+/* $OpenBSD: vmparam.h,v 1.10 2014/07/13 15:48:32 miod Exp $ */
/* public domain */
#ifndef _MACHINE_VMPARAM_H_
#define _MACHINE_VMPARAM_H_
#define VM_PHYSSEG_MAX 32 /* Max number of physical memory segments */
-/*
- * On Origin and Octane families, DMA to 32-bit PCI devices is restricted.
- *
- * Systems with physical memory after the 2GB boundary need to ensure
- * memory which may used for DMA transfers is allocated from the low
- * memory range.
- *
- * Other systems, like the O2, do not have such a restriction, but can not
- * have more than 2GB of physical memory, so this doesn't affect them.
- */
-
#include <mips64/vmparam.h>
#endif /* _MACHINE_VMPARAM_H_ */ | Remove stale comment which used to explain why we had a special 31-bit freelist
for DMA, back when this was applicable.
| isc | orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars | 1b30978d7c553bdb9786286374f02c9e41ebb6bd |
#ifndef FILE_DESCRIPTOR_H
#define FILE_DESCRIPTOR_H
#include <io/channel.h>
class FileDescriptor : public Channel {
LogHandle log_;
protected:
int fd_;
public:
FileDescriptor(int);
~FileDescriptor();
virtual Action *close(EventCallback *);
virtual Action *read(size_t, EventCallback *);
virtual Action *write(Buffer *, EventCallback *);
virtual bool shutdown(bool, bool)
{
return (true);
}
};
#endif /* !FILE_DESCRIPTOR_H */
| #ifndef FILE_DESCRIPTOR_H
#define FILE_DESCRIPTOR_H
#include <io/channel.h>
class FileDescriptor : public Channel {
LogHandle log_;
protected:
int fd_;
public:
FileDescriptor(int);
~FileDescriptor();
virtual Action *close(EventCallback *);
virtual Action *read(size_t, EventCallback *);
virtual Action *write(Buffer *, EventCallback *);
virtual bool shutdown(bool, bool)
{
return (false);
}
};
#endif /* !FILE_DESCRIPTOR_H */
| ---
+++
@@ -17,7 +17,7 @@
virtual bool shutdown(bool, bool)
{
- return (false);
+ return (true);
}
};
| Return success rather than failure from shutdown() on FileDescriptor, since it
is entirely immaterial.
| bsd-2-clause | wanproxy/wanproxy,wanproxy/wanproxy,wanproxy/wanproxy | cd73593a424a38f7e79b749086d6e3543ba88356 |
/*
*
* Copyright 2019 gRPC authors.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
#ifndef GRPC_CORE_LIB_GPRPP_OPTIONAL_H
#define GRPC_CORE_LIB_GPRPP_OPTIONAL_H
namespace grpc_core {
/* A make-shift alternative for absl::Optional. This can be removed in favor of
* that once absl dependencies can be introduced. */
template <typename T>
class Optional {
public:
void set(const T& val) {
value_ = val;
set_ = true;
}
bool has_value() const { return set_; }
void reset() { set_ = false; }
T value() const { return value_; }
private:
T value_;
bool set_ = false;
};
} /* namespace grpc_core */
#endif /* GRPC_CORE_LIB_GPRPP_OPTIONAL_H */
| /*
*
* Copyright 2019 gRPC authors.
*
* 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
#ifndef GRPC_CORE_LIB_GPRPP_OPTIONAL_H
#define GRPC_CORE_LIB_GPRPP_OPTIONAL_H
namespace grpc_core {
/* A make-shift alternative for absl::Optional. This can be removed in favor of
* that once absl dependencies can be introduced. */
template <typename T>
class Optional {
public:
void set(const T& val) {
value_ = val;
set_ = true;
}
bool has_value() { return set_; }
void reset() { set_ = false; }
T value() { return value_; }
private:
T value_;
bool set_ = false;
};
} /* namespace grpc_core */
#endif /* GRPC_CORE_LIB_GPRPP_OPTIONAL_H */
| ---
+++
@@ -31,11 +31,11 @@
set_ = true;
}
- bool has_value() { return set_; }
+ bool has_value() const { return set_; }
void reset() { set_ = false; }
- T value() { return value_; }
+ T value() const { return value_; }
private:
T value_; | Add const qualifiers to member methods in Optional
| apache-2.0 | jboeuf/grpc,ejona86/grpc,stanley-cheung/grpc,ctiller/grpc,sreecha/grpc,ctiller/grpc,nicolasnoble/grpc,sreecha/grpc,ctiller/grpc,donnadionne/grpc,donnadionne/grpc,sreecha/grpc,ctiller/grpc,ctiller/grpc,pszemus/grpc,muxi/grpc,jtattermusch/grpc,vjpai/grpc,jboeuf/grpc,vjpai/grpc,grpc/grpc,firebase/grpc,sreecha/grpc,jtattermusch/grpc,firebase/grpc,ctiller/grpc,ejona86/grpc,sreecha/grpc,firebase/grpc,muxi/grpc,grpc/grpc,jboeuf/grpc,firebase/grpc,carl-mastrangelo/grpc,grpc/grpc,donnadionne/grpc,vjpai/grpc,sreecha/grpc,ejona86/grpc,muxi/grpc,carl-mastrangelo/grpc,sreecha/grpc,jtattermusch/grpc,ctiller/grpc,firebase/grpc,stanley-cheung/grpc,muxi/grpc,muxi/grpc,muxi/grpc,firebase/grpc,jtattermusch/grpc,ejona86/grpc,pszemus/grpc,stanley-cheung/grpc,donnadionne/grpc,vjpai/grpc,firebase/grpc,jtattermusch/grpc,nicolasnoble/grpc,jboeuf/grpc,stanley-cheung/grpc,jtattermusch/grpc,donnadionne/grpc,ejona86/grpc,stanley-cheung/grpc,carl-mastrangelo/grpc,muxi/grpc,carl-mastrangelo/grpc,vjpai/grpc,ejona86/grpc,vjpai/grpc,pszemus/grpc,carl-mastrangelo/grpc,ctiller/grpc,pszemus/grpc,muxi/grpc,jboeuf/grpc,jtattermusch/grpc,sreecha/grpc,nicolasnoble/grpc,ejona86/grpc,vjpai/grpc,grpc/grpc,nicolasnoble/grpc,jboeuf/grpc,nicolasnoble/grpc,vjpai/grpc,ctiller/grpc,muxi/grpc,pszemus/grpc,grpc/grpc,donnadionne/grpc,donnadionne/grpc,ctiller/grpc,sreecha/grpc,grpc/grpc,nicolasnoble/grpc,firebase/grpc,stanley-cheung/grpc,jboeuf/grpc,stanley-cheung/grpc,carl-mastrangelo/grpc,nicolasnoble/grpc,pszemus/grpc,pszemus/grpc,vjpai/grpc,donnadionne/grpc,donnadionne/grpc,firebase/grpc,ejona86/grpc,ctiller/grpc,carl-mastrangelo/grpc,stanley-cheung/grpc,jtattermusch/grpc,firebase/grpc,grpc/grpc,jboeuf/grpc,stanley-cheung/grpc,nicolasnoble/grpc,nicolasnoble/grpc,donnadionne/grpc,ejona86/grpc,jboeuf/grpc,vjpai/grpc,pszemus/grpc,nicolasnoble/grpc,ejona86/grpc,stanley-cheung/grpc,firebase/grpc,stanley-cheung/grpc,grpc/grpc,vjpai/grpc,sreecha/grpc,carl-mastrangelo/grpc,jtattermusch/grpc,sreecha/grpc,stanley-cheung/grpc,nicolasnoble/grpc,jtattermusch/grpc,muxi/grpc,nicolasnoble/grpc,pszemus/grpc,vjpai/grpc,jboeuf/grpc,pszemus/grpc,carl-mastrangelo/grpc,muxi/grpc,carl-mastrangelo/grpc,pszemus/grpc,carl-mastrangelo/grpc,grpc/grpc,ejona86/grpc,grpc/grpc,grpc/grpc,jboeuf/grpc,jtattermusch/grpc,muxi/grpc,jtattermusch/grpc,donnadionne/grpc,grpc/grpc,jboeuf/grpc,donnadionne/grpc,carl-mastrangelo/grpc,firebase/grpc,sreecha/grpc,ctiller/grpc,pszemus/grpc,ejona86/grpc | bf8777dc307e2938a7d7e02ff761580b9917f529 |
// mruby libraries
#include "mruby.h"
#include "mruby/array.h"
#include "mruby/data.h"
#include "mruby/string.h"
#include <X11/Xlib.h>
mrb_value x11_simple_test(mrb_state* mrb, mrb_value self)
{
Display* dpy = XOpenDisplay(NULL);
Window* win = mrb_malloc(mrb, sizeof(Window));
*win = XCreateSimpleWindow(dpy, DefaultRootWindow(dpy), 0, 0, 256, 256, 0, 0, 0);
XMapWindow(dpy, *win);
XFlush(dpy);
return mrb_fixnum_value((int)win);
}
// initializer
void mrb_mruby_x11_simple_gem_init(mrb_state* mrb)
{
struct RClass* rclass = mrb_define_module(mrb, "X11");
mrb_define_class_method(mrb, rclass, "test", x11_simple_test, ARGS_NONE());
return;
}
// finalizer
void mrb_mruby_x11_simple_gem_final(mrb_state* mrb)
{
return;
}
| // mruby libraries
#include "mruby.h"
#include "mruby/array.h"
#include "mruby/data.h"
#include "mruby/string.h"
#include <X11/Xlib.h>
mrb_value x11_simple_test(mrb_state* mrb, mrb_value self)
{
Display *dpy = XOpenDisplay(NULL);
Window win = XCreateSimpleWindow(dpy, DefaultRootWindow(dpy), 0, 0, 256, 256, 0, 0, 0);
XMapWindow(dpy, win);
XFlush(dpy);
while(1);
return mrb_nil_value();
}
// initializer
void mrb_mruby_x11_simple_gem_init(mrb_state* mrb)
{
struct RClass* rclass = mrb_define_module(mrb, "X11");
mrb_define_class_method(mrb, rclass, "test", x11_simple_test, ARGS_NONE());
return;
}
// finalizer
void mrb_mruby_x11_simple_gem_final(mrb_state* mrb)
{
return;
}
| ---
+++
@@ -8,12 +8,12 @@
mrb_value x11_simple_test(mrb_state* mrb, mrb_value self)
{
- Display *dpy = XOpenDisplay(NULL);
- Window win = XCreateSimpleWindow(dpy, DefaultRootWindow(dpy), 0, 0, 256, 256, 0, 0, 0);
- XMapWindow(dpy, win);
+ Display* dpy = XOpenDisplay(NULL);
+ Window* win = mrb_malloc(mrb, sizeof(Window));
+ *win = XCreateSimpleWindow(dpy, DefaultRootWindow(dpy), 0, 0, 256, 256, 0, 0, 0);
+ XMapWindow(dpy, *win);
XFlush(dpy);
- while(1);
- return mrb_nil_value();
+ return mrb_fixnum_value((int)win);
}
// initializer | Return an adress of Window object.
| mit | dyama/mruby-x11-simple,dyama/mruby-x11-simple | 21198b75ca5bb408bd77a54232418b8aef8ce8dc |
#ifndef FILESYSTEM_H
#define FILESYSTEM_H
#include "Partition.h"
#include <vector>
#include <string>
class Directory;
enum class FileType {
File, Directory
};
class File : public HDDBytes {
public:
virtual FileType getType();
virtual Directory * dir() {return nullptr;};
};
class Directory : public virtual File {
public :
virtual std::vector<std::string> getFilesName () = 0;
FileType getType();
virtual File * operator[](const std::string& name) = 0; // nullptr means it does not exists
virtual Directory * dir() {return this;};
};
class FileSystem {
protected :
Partition* _part;
public:
explicit FileSystem (Partition * part);
virtual Directory* getRoot() = 0;
//virtual File* operator [] (const std::string& path) = 0; //return null when path is not valid
};
#endif
| #ifndef FILESYSTEM_H
#define FILESYSTEM_H
#include "Partition.h"
#include <vector>
#include <string>
class Directory;
enum class FileType {
File, Directory
};
class File : public HDDBytes {
std::string _name;
public:
std::string getName(){return _name;}
//virtual void setName(const std::string& name) = 0;
//virtual Directory * getParent() = 0; // null => root directory
virtual FileType getType();
virtual Directory * dir() {return nullptr;};
};
class Directory : public virtual File {
public :
virtual std::vector<std::string> getFilesName () = 0;
FileType getType();
virtual File * operator[](const std::string& name) = 0; // nullptr means it does not exists
virtual Directory * dir() {return this;};
};
class FileSystem {
protected :
Partition* _part;
public:
explicit FileSystem (Partition * part);
virtual Directory* getRoot() = 0;
//virtual File* operator [] (const std::string& path) = 0; //return null when path is not valid
};
#endif
| ---
+++
@@ -12,11 +12,7 @@
};
class File : public HDDBytes {
- std::string _name;
public:
- std::string getName(){return _name;}
- //virtual void setName(const std::string& name) = 0;
- //virtual Directory * getParent() = 0; // null => root directory
virtual FileType getType();
virtual Directory * dir() {return nullptr;};
}; | Remove unused methods in File
| mit | TWal/ENS_sysres,TWal/ENS_sysres,TWal/ENS_sysres,TWal/ENS_sysres | 9dc6b784c3c1a4c800ee111e2d317d2ddd02fb2b |
// RUN: %clang_cc1 -fsyntax-only -verify %s
// PR3459
struct bar {
char n[1];
};
struct foo {
char name[(int)&((struct bar *)0)->n];
char name2[(int)&((struct bar *)0)->n - 1]; //expected-error{{array size is negative}}
};
// PR3430
struct s {
struct st {
int v;
} *ts;
};
struct st;
int foo() {
struct st *f;
return f->v + f[0].v;
}
// PR3642, PR3671
struct pppoe_tag {
short tag_type;
char tag_data[];
};
struct datatag {
struct pppoe_tag hdr; //expected-warning{{field 'hdr' with variable sized type 'struct pppoe_tag' not at the end of a struct or class is a GNU extension}}
char data;
};
// PR4092
struct s0 {
char a; // expected-note {{previous declaration is here}}
char a; // expected-error {{duplicate member 'a'}}
};
struct s0 f0(void) {}
// <rdar://problem/8177927> - This previously triggered an assertion failure.
struct x0 {
unsigned int x1;
};
| // RUN: %clang_cc1 -fsyntax-only -verify %s
// PR3459
struct bar {
char n[1];
};
struct foo {
char name[(int)&((struct bar *)0)->n];
char name2[(int)&((struct bar *)0)->n - 1]; //expected-error{{array size is negative}}
};
// PR3430
struct s {
struct st {
int v;
} *ts;
};
struct st;
int foo() {
struct st *f;
return f->v + f[0].v;
}
// PR3642, PR3671
struct pppoe_tag {
short tag_type;
char tag_data[];
};
struct datatag {
struct pppoe_tag hdr; //expected-warning{{field 'hdr' with variable sized type 'struct pppoe_tag' not at the end of a struct or class is a GNU extension}}
char data;
};
// PR4092
struct s0 {
char a; // expected-note {{previous declaration is here}}
char a; // expected-error {{duplicate member 'a'}}
};
struct s0 f0(void) {}
| ---
+++
@@ -41,3 +41,8 @@
};
struct s0 f0(void) {}
+
+// <rdar://problem/8177927> - This previously triggered an assertion failure.
+struct x0 {
+ unsigned int x1;
+}; | Add test case for <rdar://problem/8177927> (which triggered an assertion failure in SemaChecking).
git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@108159 91177308-0d34-0410-b5e6-96231b3b80d8
| apache-2.0 | apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang | cfd41cfd0bd199672449db88d0502d37131a5c1f |
#ifndef PLUGIN_H_
#define PLUGIN_H_
#include <windows.h>
// TODO use __stdcall
#define EXPORT_CALLING __cdecl
#define EXPORT __declspec(dllexport) EXPORT_CALLING
#include "common.h"
// just defined to make compilation work ; ignored
#define RTLD_DEFAULT NULL
#define RTLD_LOCAL -1
#define RTLD_LAZY -1
static inline void *dlopen(const char *name, int flags)
{
// TODO use LoadLibraryEx() and flags ?
return LoadLibrary(name);
}
static inline void *dlsym(void *handle, const char *name)
{
FARPROC g = GetProcAddress(handle, name);
void *h;
*(FARPROC*)&h = g;
return h;
}
static inline char *dlerror(void)
{
static __thread char buf[1024];
FormatMessage(
FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_MAX_WIDTH_MASK,
NULL,
GetLastError(),
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
(LPTSTR)&buf,
sizeof buf, NULL);
return buf;
}
static inline int dlclose(void *handle)
{
return !FreeLibrary(handle);
}
#endif
| #ifndef PLUGIN_H_
#define PLUGIN_H_
#include <windows.h>
#define EXPORT_CALLING __stdcall
#define EXPORT __declspec(dllexport) EXPORT_CALLING
#include "common.h"
// just defined to make compilation work ; ignored
#define RTLD_DEFAULT NULL
#define RTLD_LOCAL -1
#define RTLD_LAZY -1
static inline void *dlopen(const char *name, int flags)
{
// TODO use LoadLibraryEx() and flags ?
return LoadLibrary(name);
}
static inline void *dlsym(void *handle, const char *name)
{
FARPROC g = GetProcAddress(handle, name);
void *h;
*(FARPROC*)&h = g;
return h;
}
static inline char *dlerror(void)
{
static __thread char buf[1024];
FormatMessage(
FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_MAX_WIDTH_MASK,
NULL,
GetLastError(),
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
(LPTSTR)&buf,
sizeof buf, NULL);
return buf;
}
static inline int dlclose(void *handle)
{
return !FreeLibrary(handle);
}
#endif
| ---
+++
@@ -3,7 +3,8 @@
#include <windows.h>
-#define EXPORT_CALLING __stdcall
+// TODO use __stdcall
+#define EXPORT_CALLING __cdecl
#define EXPORT __declspec(dllexport) EXPORT_CALLING
#include "common.h" | Switch to __cdecl till we get --kill-at to work
With this build, 32-bit windows DLL loads and checks out, but we really
want to use __stdcall for the DLL entry points.
| mit | kulp/tenyr,kulp/tenyr,kulp/tenyr | 2e1f71bdc24f162a88b0262350743d641b67bc4d |
#ifndef FFTW_HAO_H
#define FFTW_HAO_H
#include "fftw_define.h"
class FFTServer
{
public:
int dimen;
int* n;
int L;
std::complex<double>* inforw;
std::complex<double>* outforw;
std::complex<double>* inback;
std::complex<double>* outback;
fftw_plan planforw;
fftw_plan planback;
FFTServer();
FFTServer(int Dc, const int* Nc, char format); //'C' Column-major: fortran style; 'R' Row-major: c style;
FFTServer(const FFTServer& x);
~FFTServer();
FFTServer& operator = (const FFTServer& x);
std::complex<double>* fourier_forw(const std::complex<double>* inarray);
std::complex<double>* fourier_back(const std::complex<double>* inarray);
};
#endif
| #ifndef FFTW_HAO_H
#define FFTW_HAO_H
#include "fftw_define.h"
class FFTServer
{
int dimen;
int* n;
int L;
std::complex<double>* inforw;
std::complex<double>* outforw;
std::complex<double>* inback;
std::complex<double>* outback;
fftw_plan planforw;
fftw_plan planback;
public:
FFTServer();
FFTServer(int Dc, const int* Nc, char format); //'C' Column-major: fortran style; 'R' Row-major: c style;
FFTServer(const FFTServer& x);
~FFTServer();
FFTServer& operator = (const FFTServer& x);
std::complex<double>* fourier_forw(const std::complex<double>* inarray);
std::complex<double>* fourier_back(const std::complex<double>* inarray);
friend void FFTServer_void_construction_test();
friend void FFTServer_param_construction_test();
friend void FFTServer_equal_construction_test();
friend void FFTServer_equal_test();
};
#endif
| ---
+++
@@ -5,6 +5,7 @@
class FFTServer
{
+ public:
int dimen;
int* n;
int L;
@@ -14,7 +15,7 @@
std::complex<double>* outback;
fftw_plan planforw;
fftw_plan planback;
- public:
+
FFTServer();
FFTServer(int Dc, const int* Nc, char format); //'C' Column-major: fortran style; 'R' Row-major: c style;
FFTServer(const FFTServer& x);
@@ -24,11 +25,6 @@
std::complex<double>* fourier_forw(const std::complex<double>* inarray);
std::complex<double>* fourier_back(const std::complex<double>* inarray);
-
- friend void FFTServer_void_construction_test();
- friend void FFTServer_param_construction_test();
- friend void FFTServer_equal_construction_test();
- friend void FFTServer_equal_test();
};
#endif | Remove friend function in FFTServer.
| mit | hshi/fftw_lib_hao,hshi/fftw_lib_hao | d6631b5abcdb414436c0a90bc11ba0cd4808eda0 |
/* metatag.c: Program for adding metadata to a file
* By: Forrest Kerslager, Nick Noto, David Taylor, Kevin Yeap,
* Connie Yu
*
* 2014/06/06
* */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define MAX_LEN 1024
int main(int argc, char** argv){
char* buffer;
int fd, i, len;
if(argc < 3){
fprintf(stderr, "Usage: metatag FILE TAG\n");
exit(1);
}
fd=open(argv[1], O_RDWR);
if(fd == -1){
fprintf(stderr, "Error, file not found\n");
exit(1);
}
buffer = "";
for(i=2; i<argc; i++){
strcat(buffer, argv[i]);
strcat(buffer, " ");
}
len = strlen(buffer);
if(len > MAX_LEN-1){
fprintf(stderr, "Input stream exceeds max length\n");
exit(1);
}
metawrite(fd,&buffer,len);
close(fd);
return 0;
}
| /* metatag.c: Program for adding metadata to a file
* By: Forrest Kerslager, Nick Noto, David Taylor, Kevin Yeap,
* Connie Yu
*
* 2014/06/06
* */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(int argc, char** argv){
char* buffer;
int fd, i, len;
if(argc < 3){
fprintf(stderr, "Usage: metatag FILE TAG\n");
exit(1);
}
fd=open(argv[1], O_RDWR);
if(fd == -1){
fprintf(stderr, "Error, file not found\n");
exit(1);
}
buffer = "";
for(i=2; i<argc; i++){
strcat(buffer, argv[i]);
strcat(buffer, " ");
}
len = strlen(buffer);
metawrite(fd,&buffer,len);
close(fd);
return 0;
}
| ---
+++
@@ -9,6 +9,7 @@
#include <stdlib.h>
#include <string.h>
+#define MAX_LEN 1024
int main(int argc, char** argv){
char* buffer;
@@ -29,6 +30,10 @@
strcat(buffer, " ");
}
len = strlen(buffer);
+ if(len > MAX_LEN-1){
+ fprintf(stderr, "Input stream exceeds max length\n");
+ exit(1);
+ }
metawrite(fd,&buffer,len);
close(fd);
return 0; | Add max length error check
| mit | dmtaylor/cmps111-proj4,dmtaylor/cmps111-proj4 | 97d3b3cf2a7b220c34f7b467129fe9de8558e2be |
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
#include <wchar.h>
struct {
wchar_t *name;
} syms = { L"NUL" };
| // RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
// XFAIL: *
// See PR2452
struct {
int *name;
} syms = { L"NUL" };
| ---
+++
@@ -1,7 +1,7 @@
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
-// XFAIL: *
-// See PR2452
+
+#include <wchar.h>
struct {
- int *name;
+ wchar_t *name;
} syms = { L"NUL" }; | Fix a warning, closing PR2452
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@52529 91177308-0d34-0410-b5e6-96231b3b80d8
| bsd-2-clause | dslab-epfl/asap,chubbymaggie/asap,dslab-epfl/asap,chubbymaggie/asap,dslab-epfl/asap,apple/swift-llvm,llvm-mirror/llvm,dslab-epfl/asap,dslab-epfl/asap,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,chubbymaggie/asap,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,dslab-epfl/asap,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,chubbymaggie/asap,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,apple/swift-llvm,apple/swift-llvm,dslab-epfl/asap,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm | a3de6e9ab8fbd4c9462880dc5c138488b322efd0 |
/*
* Copyright (c) 2018 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <kernel_structs.h>
#include <cmsis_os.h>
#include <ksched.h>
extern const k_tid_t _main_thread;
/**
* @brief Get the RTOS kernel system timer counter
*/
uint32_t osKernelSysTick(void)
{
return k_cycle_get_32();
}
/**
* @brief Initialize the RTOS Kernel for creating objects.
*/
osStatus osKernelInitialize(void)
{
return osOK;
}
/**
* @brief Start the RTOS Kernel.
*/
osStatus osKernelStart(void)
{
if (_is_in_isr()) {
return osErrorISR;
}
return osOK;
}
/**
* @brief Check if the RTOS kernel is already started.
*/
int32_t osKernelRunning(void)
{
return _has_thread_started(_main_thread);
}
| /*
* Copyright (c) 2018 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <kernel_structs.h>
#include <cmsis_os.h>
#include <ksched.h>
extern const k_tid_t _main_thread;
/**
* @brief Get the RTOS kernel system timer counter
*/
uint32_t osKernelSysTick(void)
{
return k_cycle_get_32();
}
/**
* @brief Initialize the RTOS Kernel for creating objects.
*/
osStatus osKernelInitialize(void)
{
return osOK;
}
/**
* @brief Start the RTOS Kernel.
*/
osStatus osKernelStart(void)
{
return osOK;
}
/**
* @brief Check if the RTOS kernel is already started.
*/
int32_t osKernelRunning(void)
{
return _has_thread_started(_main_thread);
}
| ---
+++
@@ -31,7 +31,10 @@
*/
osStatus osKernelStart(void)
{
- return osOK;
+ if (_is_in_isr()) {
+ return osErrorISR;
+ }
+ return osOK;
}
/** | lib/cmsis_rtos_v1: Check if osKernelStart() is called from ISR
Check if osKernelStart() is called from ISR and return error code
appropriately.
Signed-off-by: Spoorthi K <[email protected]>
| apache-2.0 | explora26/zephyr,explora26/zephyr,GiulianoFranchetto/zephyr,zephyrproject-rtos/zephyr,galak/zephyr,GiulianoFranchetto/zephyr,finikorg/zephyr,zephyrproject-rtos/zephyr,Vudentz/zephyr,zephyrproject-rtos/zephyr,punitvara/zephyr,Vudentz/zephyr,finikorg/zephyr,nashif/zephyr,GiulianoFranchetto/zephyr,galak/zephyr,punitvara/zephyr,punitvara/zephyr,zephyrproject-rtos/zephyr,nashif/zephyr,finikorg/zephyr,zephyrproject-rtos/zephyr,punitvara/zephyr,nashif/zephyr,ldts/zephyr,Vudentz/zephyr,galak/zephyr,kraj/zephyr,galak/zephyr,punitvara/zephyr,Vudentz/zephyr,nashif/zephyr,explora26/zephyr,kraj/zephyr,Vudentz/zephyr,ldts/zephyr,nashif/zephyr,ldts/zephyr,kraj/zephyr,ldts/zephyr,GiulianoFranchetto/zephyr,GiulianoFranchetto/zephyr,explora26/zephyr,Vudentz/zephyr,ldts/zephyr,finikorg/zephyr,explora26/zephyr,finikorg/zephyr,kraj/zephyr,kraj/zephyr,galak/zephyr | 0b8792c05c59b3eb9dad6eb054618d8e9f7cacc7 |
#include <errno.h>
#include <signal.h>
#include <string.h>
#include <unistd.h>
#include <stdbool.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <glib.h>
#include "td-radio.h"
#include "td-radio-scan.h"
/*
* Send the RESPONDER message to the radio.
*/
int radio_read(int fd, char* buffer)
{
bool debug = false;
int bytes = 0;
memset(buffer, '\0', BUFFER_SZ);
socklen_t socklen = sizeof(radio_address);
bytes = recvfrom(fd, buffer, BUFFER_SZ, 0, 0, 0);
if (bytes < 0) {
g_warning("\tradio_read(): recvfrom failed, %s", strerror(errno));
g_error("\tradio_read(): exiting...");
}
return bytes;
}
|
#include <errno.h>
#include <signal.h>
#include <string.h>
#include <unistd.h>
#include <stdbool.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <glib.h>
#include "td-radio.h"
#include "td-radio-scan.h"
/*
* Send the RESPONDER message to the radio.
*/
int radio_read(int fd, char* buffer)
{
bool debug = true;
int bytes = 0;
memset(buffer, '\0', BUFFER_SZ);
if (debug) {
g_message("radio_read(): enter");
g_message("\ts_addr = %d", radio_address.sin_addr.s_addr);
g_message("\tsin_port = %d", radio_address.sin_port);
}
socklen_t socklen = sizeof(radio_address);
bytes = recvfrom(fd, buffer, BUFFER_SZ, 0,
(struct sockaddr *) &radio_address, &socklen);
if (debug) {
g_message("bytes = %d", bytes);
}
if (bytes < 0) {
g_warning("\tradio_read(): recvfrom failed, %s", strerror(errno));
g_message("\tradio_read(): exit");
}
if (debug) {
g_message("radio_read(): exit");
}
return bytes;
}
| ---
+++
@@ -21,34 +21,18 @@
*/
int radio_read(int fd, char* buffer)
{
- bool debug = true;
+ bool debug = false;
int bytes = 0;
memset(buffer, '\0', BUFFER_SZ);
- if (debug) {
- g_message("radio_read(): enter");
- g_message("\ts_addr = %d", radio_address.sin_addr.s_addr);
- g_message("\tsin_port = %d", radio_address.sin_port);
- }
-
socklen_t socklen = sizeof(radio_address);
- bytes = recvfrom(fd, buffer, BUFFER_SZ, 0,
- (struct sockaddr *) &radio_address, &socklen);
+ bytes = recvfrom(fd, buffer, BUFFER_SZ, 0, 0, 0);
- if (debug) {
- g_message("bytes = %d", bytes);
- }
-
-
if (bytes < 0) {
g_warning("\tradio_read(): recvfrom failed, %s", strerror(errno));
- g_message("\tradio_read(): exit");
- }
-
- if (debug) {
- g_message("radio_read(): exit");
+ g_error("\tradio_read(): exiting...");
}
return bytes; | Clean up some debugging cruft.
| lgpl-2.1 | ldm5180/hammerhead,ldm5180/hammerhead,ldm5180/hammerhead,ldm5180/hammerhead,ldm5180/hammerhead,ldm5180/hammerhead,ldm5180/hammerhead | 1581fbd86b5beb465b07d575fc74e61073ec8893 |
//
// RNSketchManager.m
// RNSketch
//
// Created by Jeremy Grancher on 28/04/2016.
// Copyright © 2016 Jeremy Grancher. All rights reserved.
//
#if __has_include(<React/RCTViewManager.h>)
// React Native >= 0.40
#import <React/RCTViewManager.h>
#else
// React Native <= 0.39
#import "RCTViewManager.h"
#endif
#import "RNSketch.h"
@interface RNSketchManager : RCTViewManager
@property (strong) RNSketch *sketchView;
@end;
| //
// RNSketchManager.m
// RNSketch
//
// Created by Jeremy Grancher on 28/04/2016.
// Copyright © 2016 Jeremy Grancher. All rights reserved.
//
#import "RCTViewManager.h"
#import "RNSketch.h"
@interface RNSketchManager : RCTViewManager
@property (strong) RNSketch *sketchView;
@end;
| ---
+++
@@ -6,7 +6,13 @@
// Copyright © 2016 Jeremy Grancher. All rights reserved.
//
+#if __has_include(<React/RCTViewManager.h>)
+// React Native >= 0.40
+#import <React/RCTViewManager.h>
+#else
+// React Native <= 0.39
#import "RCTViewManager.h"
+#endif
#import "RNSketch.h"
@interface RNSketchManager : RCTViewManager | Support RN 0.40 headers while retaining backwards compatibility.
Use #if to conditionally import React headers. | mit | jgrancher/react-native-sketch | 69ec185fd5de8c133808a5aeec5b0435a3d2025e |
#ifndef SAUCE_MEMORY_H_
#define SAUCE_MEMORY_H_
#if SAUCE_STD_SMART_PTR
#include <sauce/internal/memory/std.h>
#elif SAUCE_STD_TR1_SMART_PTR
#include <sauce/internal/memory/tr1.h>
#elif SAUCE_BOOST_SMART_PTR
#include <sauce/internal/memory/boost.h>
#else
#include <sauce/internal/memory/std.h>
#endif
#endif // SAUCE_MEMORY_H_
| #ifndef SAUCE_MEMORY_H_
#define SAUCE_MEMORY_H_
#if SAUCE_STD_SMART_PTR
#include <sauce/internal/memory/std.h>
#elif SAUCE_STD_TR1_SMART_PTR
#include <sauce/internal/memory/tr1.h>
#elif SAUCE_BOOST_SMART_PTR
#include <sauce/internal/memory/boost.h>
#else
#error Please define SAUCE_STD_SMART_PTR, SAUCE_STD_TR1_SMART_PTR or SAUCE_BOOST_SMART_PTR
#endif
#endif // SAUCE_MEMORY_H_
| ---
+++
@@ -8,7 +8,7 @@
#elif SAUCE_BOOST_SMART_PTR
#include <sauce/internal/memory/boost.h>
#else
- #error Please define SAUCE_STD_SMART_PTR, SAUCE_STD_TR1_SMART_PTR or SAUCE_BOOST_SMART_PTR
+ #include <sauce/internal/memory/std.h>
#endif
#endif // SAUCE_MEMORY_H_ | Use standard smart pointers by default.
| mit | phs/sauce,phs/sauce,phs/sauce,phs/sauce | ce941743ce1eefc51c98401514f9165d6d66040e |
#define VT_POINT 1
#define VT_LINE 2
#define VT_POLYGON 3
#define VT_END 0
#define VT_MOVETO 1
#define VT_LINETO 2
#define VT_CLOSEPATH 7
#define VT_STRING 1
#define VT_NUMBER 2
#define VT_BOOLEAN 7
struct pool;
void deserialize_int(char **f, int *n);
struct pool_val *deserialize_string(char **f, struct pool *p, int type);
struct index {
unsigned long long index;
long long fpos : 56;
int maxzoom : 8;
};
long long write_tile(struct index *start, struct index *end, char *metabase, unsigned *file_bbox, int z, unsigned x, unsigned y, int detail, int basezoom, struct pool *file_keys, char *layername, sqlite3 *outdb, double droprate, int buffer);
| #define VT_POINT 1
#define VT_LINE 2
#define VT_POLYGON 3
#define VT_END 0
#define VT_MOVETO 1
#define VT_LINETO 2
#define VT_CLOSEPATH 7
#define VT_STRING 1
#define VT_NUMBER 2
#define VT_BOOLEAN 7
struct pool;
void deserialize_int(char **f, int *n);
struct pool_val *deserialize_string(char **f, struct pool *p, int type);
struct index {
unsigned long long index;
long long fpos;
int maxzoom;
};
long long write_tile(struct index *start, struct index *end, char *metabase, unsigned *file_bbox, int z, unsigned x, unsigned y, int detail, int basezoom, struct pool *file_keys, char *layername, sqlite3 *outdb, double droprate, int buffer);
| ---
+++
@@ -18,9 +18,9 @@
struct index {
- unsigned long long index;
- long long fpos;
- int maxzoom;
+ unsigned long long index;
+ long long fpos : 56;
+ int maxzoom : 8;
};
long long write_tile(struct index *start, struct index *end, char *metabase, unsigned *file_bbox, int z, unsigned x, unsigned y, int detail, int basezoom, struct pool *file_keys, char *layername, sqlite3 *outdb, double droprate, int buffer); | Use a bitfield to make the index 2/3 the size, to save some disk churn
| bsd-2-clause | joykuotw/tippecanoe,mapbox/tippecanoe,mapbox/tippecanoe,joykuotw/tippecanoe,mapbox/tippecanoe,landsurveyorsunited/tippecanoe,mapbox/tippecanoe,landsurveyorsunited/tippecanoe | 097d6ccf7da44013c6d28fea7dce23708b77a044 |
#include <stdio.h>
#include <stdlib.h>
#include <vulkan/vulkan.h>
VKAPI_ATTR VkBool32 VKAPI_CALL
debugCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity,
VkDebugUtilsMessageTypeFlagsEXT messageType,
const VkDebugUtilsMessengerCallbackDataEXT *pCallbackData,
void *pUserData) {
fprintf(stderr, "Validation: %s\n", pCallbackData->pMessage);
return VK_FALSE;
}
VKAPI_ATTR VkBool32 VKAPI_CALL
debugCallbackFatal(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity,
VkDebugUtilsMessageTypeFlagsEXT messageType,
const VkDebugUtilsMessengerCallbackDataEXT *pCallbackData,
void *pUserData) {
debugCallback(messageSeverity, messageType, pCallbackData, pUserData);
if (messageSeverity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT) {
fprintf(stderr, "Aborting on validation error.\n");
abort();
}
return VK_FALSE;
}
| #include <stdio.h>
#include <stdlib.h>
#include <vulkan/vulkan.h>
VKAPI_ATTR VkBool32 VKAPI_CALL
debugCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity,
VkDebugUtilsMessageTypeFlagsEXT messageType,
const VkDebugUtilsMessengerCallbackDataEXT *pCallbackData,
void *pUserData) {
fprintf(stderr, "Validation: %s\n", pCallbackData->pMessage);
return VK_FALSE;
}
VKAPI_ATTR VkBool32 VKAPI_CALL
debugCallbackFatal(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity,
VkDebugUtilsMessageTypeFlagsEXT messageType,
const VkDebugUtilsMessengerCallbackDataEXT *pCallbackData,
void *pUserData) {
int errorBitSet = VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT & messageSeverity;
int isError = VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT == errorBitSet;
fprintf(stderr, "Validation: %s\n", pCallbackData->pMessage);
if (isError) {
fprintf(stderr, "Aborting on validation error.\n");
abort();
}
return VK_FALSE;
}
| ---
+++
@@ -16,12 +16,9 @@
VkDebugUtilsMessageTypeFlagsEXT messageType,
const VkDebugUtilsMessengerCallbackDataEXT *pCallbackData,
void *pUserData) {
- int errorBitSet = VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT & messageSeverity;
- int isError = VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT == errorBitSet;
+ debugCallback(messageSeverity, messageType, pCallbackData, pUserData);
- fprintf(stderr, "Validation: %s\n", pCallbackData->pMessage);
-
- if (isError) {
+ if (messageSeverity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT) {
fprintf(stderr, "Aborting on validation error.\n");
abort();
} | Write debugCallbackFatal in terms of debugCallback
| bsd-3-clause | expipiplus1/vulkan,expipiplus1/vulkan,expipiplus1/vulkan | cd84c7964893696d19844fdd281095ad57c109b2 |
/**
* Appcelerator Titanium - licensed under the Apache Public License 2
* see LICENSE in the root folder for details on the license.
* Copyright (c) 2008 Appcelerator, Inc. All Rights Reserved.
*/
#ifndef TITANIUM_URL_H_
#define TITANIUM_URL_H_
#ifndef KEYVALUESTRUCT
typedef struct {
char* key;
char* value;
} KeyValuePair;
#define KEYVALUESTRUCT 1
#endif
namespace ti
{
void NormalizeURLCallback(const char* url, char* buffer, int bufferLength);
void URLToFileURLCallback(const char* url, char* buffer, int bufferLength);
int CanPreprocessURLCallback(const char* url);
char* PreprocessURLCallback(const char* url, KeyValuePair* headers, char** mimeType);
}
#endif
| /**
* Appcelerator Titanium - licensed under the Apache Public License 2
* see LICENSE in the root folder for details on the license.
* Copyright (c) 2008 Appcelerator, Inc. All Rights Reserved.
*/
#ifndef TITANIUM_URL_H_
#define TITANIUM_URL_H_
namespace ti
{
void NormalizeURLCallback(const char* url, char* buffer, int bufferLength);
void URLToFileURLCallback(const char* url, char* buffer, int bufferLength);
int CanPreprocessURLCallback(const char* url);
char* PreprocessURLCallback(const char* url, KeyValuePair* headers, char** mimeType);
}
#endif
| ---
+++
@@ -6,6 +6,15 @@
#ifndef TITANIUM_URL_H_
#define TITANIUM_URL_H_
+
+#ifndef KEYVALUESTRUCT
+typedef struct {
+ char* key;
+ char* value;
+} KeyValuePair;
+#define KEYVALUESTRUCT 1
+#endif
+
namespace ti
{
void NormalizeURLCallback(const char* url, char* buffer, int bufferLength); | Include KeyValuePair definition, if needed.
| apache-2.0 | wyrover/titanium_desktop,appcelerator/titanium_desktop,appcelerator/titanium_desktop,jvkops/titanium_desktop,jvkops/titanium_desktop,wyrover/titanium_desktop,wyrover/titanium_desktop,jvkops/titanium_desktop,wyrover/titanium_desktop,wyrover/titanium_desktop,appcelerator/titanium_desktop,appcelerator/titanium_desktop,jvkops/titanium_desktop,wyrover/titanium_desktop,jvkops/titanium_desktop,jvkops/titanium_desktop,appcelerator/titanium_desktop | 7575a6a3eec8a72cb36276f11924ad7a77185c43 |
#ifndef _SWAY_EXTENSIONS_H
#define _SWAY_EXTENSIONS_H
#include <wayland-server.h>
#include <wlc/wlc-wayland.h>
#include "wayland-desktop-shell-server-protocol.h"
#include "list.h"
struct background_config {
wlc_handle output;
wlc_resource surface;
// we need the wl_resource of the surface in the destructor
struct wl_resource *wl_surface_res;
// used to determine if client is a background
struct wl_client *client;
};
struct panel_config {
// wayland resource used in callbacks, is used to track this panel
struct wl_resource *wl_resource;
wlc_handle output;
wlc_resource surface;
// we need the wl_resource of the surface in the destructor
struct wl_resource *wl_surface_res;
enum desktop_shell_panel_position panel_position;
// used to determine if client is a panel
struct wl_client *client;
};
struct desktop_shell_state {
list_t *backgrounds;
list_t *panels;
list_t *lock_surfaces;
bool is_locked;
};
struct swaylock_state {
bool active;
wlc_handle output;
wlc_resource surface;
};
extern struct desktop_shell_state desktop_shell;
void register_extensions(void);
#endif
| #ifndef _SWAY_EXTENSIONS_H
#define _SWAY_EXTENSIONS_H
#include <wayland-server.h>
#include <wlc/wlc-wayland.h>
#include "wayland-desktop-shell-server-protocol.h"
#include "list.h"
struct background_config {
wlc_handle output;
wlc_resource surface;
// we need the wl_resource of the surface in the destructor
struct wl_resource *wl_surface_res;
// used to determine if client is a background
struct wl_client *client;
};
struct panel_config {
// wayland resource used in callbacks, is used to track this panel
struct wl_resource *wl_resource;
wlc_handle output;
wlc_resource surface;
// we need the wl_resource of the surface in the destructor
struct wl_resource *wl_surface_res;
enum desktop_shell_panel_position panel_position;
// used to determine if client is a panel
struct wl_client *client;
};
struct desktop_shell_state {
list_t *backgrounds;
list_t *panels;
list_t *lock_surfaces;
bool is_locked;
};
struct swaylock_state {
bool active;
wlc_handle output;
wlc_resource surface;
};
extern struct desktop_shell_state desktop_shell;
void register_extensions(void);
#endif
| ---
+++
@@ -7,37 +7,37 @@
#include "list.h"
struct background_config {
- wlc_handle output;
- wlc_resource surface;
- // we need the wl_resource of the surface in the destructor
- struct wl_resource *wl_surface_res;
- // used to determine if client is a background
+ wlc_handle output;
+ wlc_resource surface;
+ // we need the wl_resource of the surface in the destructor
+ struct wl_resource *wl_surface_res;
+ // used to determine if client is a background
struct wl_client *client;
};
struct panel_config {
- // wayland resource used in callbacks, is used to track this panel
- struct wl_resource *wl_resource;
- wlc_handle output;
- wlc_resource surface;
- // we need the wl_resource of the surface in the destructor
- struct wl_resource *wl_surface_res;
- enum desktop_shell_panel_position panel_position;
- // used to determine if client is a panel
+ // wayland resource used in callbacks, is used to track this panel
+ struct wl_resource *wl_resource;
+ wlc_handle output;
+ wlc_resource surface;
+ // we need the wl_resource of the surface in the destructor
+ struct wl_resource *wl_surface_res;
+ enum desktop_shell_panel_position panel_position;
+ // used to determine if client is a panel
struct wl_client *client;
};
struct desktop_shell_state {
- list_t *backgrounds;
- list_t *panels;
- list_t *lock_surfaces;
- bool is_locked;
+ list_t *backgrounds;
+ list_t *panels;
+ list_t *lock_surfaces;
+ bool is_locked;
};
struct swaylock_state {
- bool active;
- wlc_handle output;
- wlc_resource surface;
+ bool active;
+ wlc_handle output;
+ wlc_resource surface;
};
extern struct desktop_shell_state desktop_shell; | Fix formatting guide violations (spaces instead of tabs)
| mit | 1ace/sway,sleep-walker/sway,mikkeloscar/sway,taiyu-len/sway,1ace/sway,ascent12/sway,ascent12/sway,4e554c4c/sway,ascent12/sway,mikkeloscar/sway,sleep-walker/sway,johalun/sway,SirCmpwn/sway,4e554c4c/sway,ptMuta/sway,1ace/sway,taiyu-len/sway,taiyu-len/sway | d9bcea381a69ebc6367aede7816b8e27d5fc9417 |
#pragma once
#include "drake/drakeOptimization_export.h"
#include "drake/solvers/MathematicalProgram.h"
namespace drake {
namespace solvers {
class DRAKEOPTIMIZATION_EXPORT LinearSystemSolver :
public MathematicalProgramSolverInterface {
public:
bool available() const override;
SolutionResult Solve(OptimizationProblem& prog) const override;
};
} // namespace solvers
} // namespace drake
| #pragma once
#include "drake/drakeOptimization_export.h"
#include "drake/solvers/MathematicalProgram.h"
namespace drake {
namespace solvers {
class DRAKEOPTIMIZATION_EXPORT LinearSystemSolver :
public MathematicalProgramSolverInterface {
public:
// This solver is implemented in various pieces depending on if
// Ipopt was available during compilation.
bool available() const override;
SolutionResult Solve(OptimizationProblem& prog) const override;
};
} // namespace solvers
} // namespace drake
| ---
+++
@@ -10,8 +10,6 @@
class DRAKEOPTIMIZATION_EXPORT LinearSystemSolver :
public MathematicalProgramSolverInterface {
public:
- // This solver is implemented in various pieces depending on if
- // Ipopt was available during compilation.
bool available() const override;
SolutionResult Solve(OptimizationProblem& prog) const override;
}; | Remove errant comment from copypasta
| bsd-3-clause | billhoffman/drake,sheim/drake,sheim/drake,billhoffman/drake,billhoffman/drake,sheim/drake,billhoffman/drake,billhoffman/drake,sheim/drake,billhoffman/drake,sheim/drake,billhoffman/drake,sheim/drake,sheim/drake,billhoffman/drake,sheim/drake | 42e4da04ad4740ab12e955f67c36b557d8a56169 |
/*
* startup.h
*
* Created on: Nov 15, 2016
* Author: RoyerAriel
*/
#ifndef STARTUP_C_
#define STARTUP_C_
#include "Timer.h"
void startup()
{
//Start Systick Timer at 1ms
Systick_Startup();
AFIO->MAPR |= AFIO_MAPR_SWJ_CFG_JTAGDISABLE; //0x2000000disable jtag
}
#endif /* STARTUP_C_ */
| /*
* startup.h
*
* Created on: Nov 15, 2016
* Author: RoyerAriel
*/
#ifndef STARTUP_C_
#define STARTUP_C_
#include "Timer.h"
void startup()
{
//Start Systick Timer at 1ms
Systick_Startup();
AFIO->MAPR |= AFIO_MAPR_SWJ_CFG_JTAGDISABLE; //0x2000000
}
#endif /* STARTUP_C_ */
| ---
+++
@@ -13,7 +13,7 @@
{
//Start Systick Timer at 1ms
Systick_Startup();
- AFIO->MAPR |= AFIO_MAPR_SWJ_CFG_JTAGDISABLE; //0x2000000
+ AFIO->MAPR |= AFIO_MAPR_SWJ_CFG_JTAGDISABLE; //0x2000000disable jtag
}
| Disable Jtag came enable by default
Disable Jtag came enable by default and use GPIOB P04,P03 and P05 | epl-1.0 | royel21/STM32F103GNU,royel21/STM32F103GNU | 27e5d7c74125784cb278b44e12881ca3596ee868 |
/* Copyright (C) 2015 Joakim Plate
*
* 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
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef SOAD_H_
#define SOAD_H_
#include "TcpIp.h"
#define SOAD_MODULEID 56u
#define SOAD_INSTANCEID 0u
typedef struct {
uint8 dummy;
} SoAd_SocketConnection;
typedef struct {
uint32 headerid;
} SoAd_SocketRoute;
typedef struct {
uint8 dummy;
} SoAd_ConfigType;
void SoAd_Init(const SoAd_ConfigType* config);
void SoAd_MainFunction(void);
#endif
| /* Copyright (C) 2015 Joakim Plate
*
* 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
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef SOAD_H_
#define SOAD_H_
#include "TcpIp.h"
typedef struct {
uint8 dummy;
} SoAd_SocketConnection;
typedef struct {
uint32 headerid;
} SoAd_SocketRoute;
typedef struct {
uint8 dummy;
} SoAd_ConfigType;
void SoAd_Init(const SoAd_ConfigType* config);
void SoAd_MainFunction(void);
#endif
| ---
+++
@@ -20,6 +20,9 @@
#include "TcpIp.h"
+#define SOAD_MODULEID 56u
+#define SOAD_INSTANCEID 0u
+
typedef struct {
uint8 dummy;
} SoAd_SocketConnection; | Add moduleid and instance id
| lgpl-2.1 | elupus/autosar-soad,elupus/autosar-soad | a7deb40634762debd15fe2e3f13c869aef9608d8 |
/*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Module: $URL$
Copyright (c) 2006-2010 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef GDCM_ZLIB_H
#define GDCM_ZLIB_H
/* Use the zlib library configured for gdcm. */
#include "gdcmTypes.h"
#ifdef GDCM_USE_SYSTEM_ZLIB
// $ dpkg -S /usr/include/zlib.h
// zlib1g-dev: /usr/include/zlib.h
# include <itk_zlib.h>
#else
# include <gdcmzlib/zlib.h>
#endif
#endif
| /*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Module: $URL$
Copyright (c) 2006-2010 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef GDCM_ZLIB_H
#define GDCM_ZLIB_H
/* Use the zlib library configured for gdcm. */
#include "gdcmTypes.h"
#ifdef GDCM_USE_SYSTEM_ZLIB
// $ dpkg -S /usr/include/zlib.h
// zlib1g-dev: /usr/include/zlib.h
# include <zlib.h>
#else
# include <gdcmzlib/zlib.h>
#endif
#endif
| ---
+++
@@ -20,7 +20,7 @@
#ifdef GDCM_USE_SYSTEM_ZLIB
// $ dpkg -S /usr/include/zlib.h
// zlib1g-dev: /usr/include/zlib.h
-# include <zlib.h>
+# include <itk_zlib.h>
#else
# include <gdcmzlib/zlib.h>
#endif | Make sure to use proper name mangling
| apache-2.0 | ajjl/ITK,vfonov/ITK,hinerm/ITK,richardbeare/ITK,LucHermitte/ITK,fedral/ITK,LucHermitte/ITK,atsnyder/ITK,spinicist/ITK,LucHermitte/ITK,blowekamp/ITK,rhgong/itk-with-dom,spinicist/ITK,LucasGandel/ITK,fuentesdt/InsightToolkit-dev,daviddoria/itkHoughTransform,heimdali/ITK,eile/ITK,jcfr/ITK,CapeDrew/DCMTK-ITK,fuentesdt/InsightToolkit-dev,hendradarwin/ITK,hinerm/ITK,CapeDrew/DCMTK-ITK,fbudin69500/ITK,PlutoniumHeart/ITK,zachary-williamson/ITK,zachary-williamson/ITK,atsnyder/ITK,BlueBrain/ITK,blowekamp/ITK,fbudin69500/ITK,hjmjohnson/ITK,richardbeare/ITK,paulnovo/ITK,hjmjohnson/ITK,msmolens/ITK,richardbeare/ITK,hjmjohnson/ITK,malaterre/ITK,atsnyder/ITK,stnava/ITK,ajjl/ITK,BRAINSia/ITK,BRAINSia/ITK,cpatrick/ITK-RemoteIO,stnava/ITK,ajjl/ITK,hinerm/ITK,fuentesdt/InsightToolkit-dev,jcfr/ITK,BRAINSia/ITK,daviddoria/itkHoughTransform,thewtex/ITK,CapeDrew/DITK,CapeDrew/DITK,CapeDrew/DITK,zachary-williamson/ITK,msmolens/ITK,spinicist/ITK,hjmjohnson/ITK,spinicist/ITK,fbudin69500/ITK,vfonov/ITK,daviddoria/itkHoughTransform,eile/ITK,richardbeare/ITK,CapeDrew/DCMTK-ITK,vfonov/ITK,BlueBrain/ITK,daviddoria/itkHoughTransform,BlueBrain/ITK,hinerm/ITK,blowekamp/ITK,LucasGandel/ITK,PlutoniumHeart/ITK,InsightSoftwareConsortium/ITK,itkvideo/ITK,fedral/ITK,LucHermitte/ITK,thewtex/ITK,GEHC-Surgery/ITK,GEHC-Surgery/ITK,hinerm/ITK,fuentesdt/InsightToolkit-dev,atsnyder/ITK,itkvideo/ITK,fbudin69500/ITK,paulnovo/ITK,eile/ITK,msmolens/ITK,jcfr/ITK,CapeDrew/DCMTK-ITK,PlutoniumHeart/ITK,fedral/ITK,CapeDrew/DITK,fuentesdt/InsightToolkit-dev,CapeDrew/DITK,GEHC-Surgery/ITK,PlutoniumHeart/ITK,heimdali/ITK,richardbeare/ITK,msmolens/ITK,jmerkow/ITK,PlutoniumHeart/ITK,malaterre/ITK,jmerkow/ITK,BlueBrain/ITK,hjmjohnson/ITK,cpatrick/ITK-RemoteIO,CapeDrew/DITK,itkvideo/ITK,itkvideo/ITK,LucHermitte/ITK,wkjeong/ITK,hjmjohnson/ITK,msmolens/ITK,jcfr/ITK,hendradarwin/ITK,vfonov/ITK,GEHC-Surgery/ITK,ajjl/ITK,richardbeare/ITK,jcfr/ITK,cpatrick/ITK-RemoteIO,rhgong/itk-with-dom,spinicist/ITK,hendradarwin/ITK,zachary-williamson/ITK,jmerkow/ITK,thewtex/ITK,stnava/ITK,fuentesdt/InsightToolkit-dev,atsnyder/ITK,spinicist/ITK,blowekamp/ITK,eile/ITK,thewtex/ITK,fedral/ITK,malaterre/ITK,msmolens/ITK,InsightSoftwareConsortium/ITK,daviddoria/itkHoughTransform,LucasGandel/ITK,hinerm/ITK,BRAINSia/ITK,heimdali/ITK,jmerkow/ITK,atsnyder/ITK,daviddoria/itkHoughTransform,heimdali/ITK,hinerm/ITK,InsightSoftwareConsortium/ITK,zachary-williamson/ITK,LucHermitte/ITK,stnava/ITK,msmolens/ITK,daviddoria/itkHoughTransform,fedral/ITK,CapeDrew/DITK,biotrump/ITK,stnava/ITK,GEHC-Surgery/ITK,ajjl/ITK,Kitware/ITK,LucHermitte/ITK,BlueBrain/ITK,InsightSoftwareConsortium/ITK,biotrump/ITK,thewtex/ITK,BlueBrain/ITK,jmerkow/ITK,GEHC-Surgery/ITK,cpatrick/ITK-RemoteIO,InsightSoftwareConsortium/ITK,InsightSoftwareConsortium/ITK,thewtex/ITK,rhgong/itk-with-dom,zachary-williamson/ITK,blowekamp/ITK,BRAINSia/ITK,itkvideo/ITK,atsnyder/ITK,CapeDrew/DCMTK-ITK,wkjeong/ITK,ajjl/ITK,cpatrick/ITK-RemoteIO,eile/ITK,malaterre/ITK,BRAINSia/ITK,paulnovo/ITK,cpatrick/ITK-RemoteIO,paulnovo/ITK,itkvideo/ITK,GEHC-Surgery/ITK,fedral/ITK,fedral/ITK,rhgong/itk-with-dom,vfonov/ITK,eile/ITK,spinicist/ITK,zachary-williamson/ITK,eile/ITK,richardbeare/ITK,jcfr/ITK,blowekamp/ITK,LucHermitte/ITK,hendradarwin/ITK,Kitware/ITK,fuentesdt/InsightToolkit-dev,malaterre/ITK,GEHC-Surgery/ITK,fuentesdt/InsightToolkit-dev,rhgong/itk-with-dom,jmerkow/ITK,atsnyder/ITK,BlueBrain/ITK,wkjeong/ITK,CapeDrew/DCMTK-ITK,wkjeong/ITK,spinicist/ITK,daviddoria/itkHoughTransform,blowekamp/ITK,fbudin69500/ITK,rhgong/itk-with-dom,itkvideo/ITK,paulnovo/ITK,fedral/ITK,Kitware/ITK,heimdali/ITK,biotrump/ITK,eile/ITK,thewtex/ITK,biotrump/ITK,cpatrick/ITK-RemoteIO,stnava/ITK,paulnovo/ITK,ajjl/ITK,LucasGandel/ITK,biotrump/ITK,fbudin69500/ITK,InsightSoftwareConsortium/ITK,LucasGandel/ITK,CapeDrew/DCMTK-ITK,hjmjohnson/ITK,BlueBrain/ITK,zachary-williamson/ITK,wkjeong/ITK,biotrump/ITK,jmerkow/ITK,zachary-williamson/ITK,heimdali/ITK,wkjeong/ITK,hinerm/ITK,rhgong/itk-with-dom,ajjl/ITK,Kitware/ITK,malaterre/ITK,fuentesdt/InsightToolkit-dev,hendradarwin/ITK,wkjeong/ITK,Kitware/ITK,malaterre/ITK,malaterre/ITK,vfonov/ITK,heimdali/ITK,biotrump/ITK,hendradarwin/ITK,msmolens/ITK,paulnovo/ITK,Kitware/ITK,vfonov/ITK,BRAINSia/ITK,atsnyder/ITK,jcfr/ITK,wkjeong/ITK,hendradarwin/ITK,CapeDrew/DCMTK-ITK,PlutoniumHeart/ITK,biotrump/ITK,daviddoria/itkHoughTransform,rhgong/itk-with-dom,eile/ITK,CapeDrew/DCMTK-ITK,jmerkow/ITK,hendradarwin/ITK,fbudin69500/ITK,LucasGandel/ITK,LucasGandel/ITK,malaterre/ITK,itkvideo/ITK,fbudin69500/ITK,hinerm/ITK,spinicist/ITK,LucasGandel/ITK,Kitware/ITK,CapeDrew/DITK,PlutoniumHeart/ITK,jcfr/ITK,itkvideo/ITK,paulnovo/ITK,cpatrick/ITK-RemoteIO,blowekamp/ITK,stnava/ITK,CapeDrew/DITK,heimdali/ITK,stnava/ITK,stnava/ITK,vfonov/ITK,PlutoniumHeart/ITK,vfonov/ITK | 4c73133037265abea9f8c6706197fbed6326630b |
#ifndef SAXBOPHONE_RISKY_RISKY_H
#define SAXBOPHONE_RISKY_RISKY_H
#include <stdint.h>
#ifdef __cplusplus
extern "C"{
#endif
// struct for representing version of RISKY
typedef struct version_t {
uint8_t major;
uint8_t minor;
uint8_t patch;
} version_t;
// enum for storing information about the error status of a function
typedef enum status_t {
UNKNOWN = 0,
MALLOC_REFUSED,
IMPOSSIBLE_CONDITION,
SUCCESS,
} status_t;
extern const version_t VERSION;
#ifdef __cplusplus
} // extern "C"
#endif
// end of header file
#endif
| #ifndef SAXBOPHONE_RISKY_RISKY_H
#define SAXBOPHONE_RISKY_RISKY_H
#include <stdint.h>
#ifdef __cplusplus
extern "C"{
#endif
typedef struct version_t {
uint8_t major;
uint8_t minor;
uint8_t patch;
} version_t;
extern const version_t VERSION;
#ifdef __cplusplus
} // extern "C"
#endif
// end of header file
#endif
| ---
+++
@@ -8,11 +8,20 @@
extern "C"{
#endif
+// struct for representing version of RISKY
typedef struct version_t {
uint8_t major;
uint8_t minor;
uint8_t patch;
} version_t;
+
+// enum for storing information about the error status of a function
+typedef enum status_t {
+ UNKNOWN = 0,
+ MALLOC_REFUSED,
+ IMPOSSIBLE_CONDITION,
+ SUCCESS,
+} status_t;
extern const version_t VERSION;
| Add a function return status enum
| mpl-2.0 | saxbophone/risky | 98997692a6a8bf1ae6bbe15dd18ec4e27e0e6fcf |
#ifndef CLIENTVERSION_H
#define CLIENTVERSION_H
//
// client versioning and copyright year
//
// These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it
#define CLIENT_VERSION_MAJOR 1
#define CLIENT_VERSION_MINOR 0
#define CLIENT_VERSION_REVISION 0
#define CLIENT_VERSION_BUILD 0
// Set to true for release, false for prerelease or test build
#define CLIENT_VERSION_IS_RELEASE false
// Copyright year (2009-this)
// Todo: update this when changing our copyright comments in the source
#define COPYRIGHT_YEAR 2014
// Converts the parameter X to a string after macro replacement on X has been performed.
// Don't merge these into one macro!
#define STRINGIZE(X) DO_STRINGIZE(X)
#define DO_STRINGIZE(X) #X
#endif // CLIENTVERSION_H
| #ifndef CLIENTVERSION_H
#define CLIENTVERSION_H
//
// client versioning and copyright year
//
// These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it
#define CLIENT_VERSION_MAJOR 0
#define CLIENT_VERSION_MINOR 8
#define CLIENT_VERSION_REVISION 7
#define CLIENT_VERSION_BUILD 5
// Set to true for release, false for prerelease or test build
#define CLIENT_VERSION_IS_RELEASE true
// Copyright year (2009-this)
// Todo: update this when changing our copyright comments in the source
#define COPYRIGHT_YEAR 2014
// Converts the parameter X to a string after macro replacement on X has been performed.
// Don't merge these into one macro!
#define STRINGIZE(X) DO_STRINGIZE(X)
#define DO_STRINGIZE(X) #X
#endif // CLIENTVERSION_H
| ---
+++
@@ -6,13 +6,13 @@
//
// These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it
-#define CLIENT_VERSION_MAJOR 0
-#define CLIENT_VERSION_MINOR 8
-#define CLIENT_VERSION_REVISION 7
-#define CLIENT_VERSION_BUILD 5
+#define CLIENT_VERSION_MAJOR 1
+#define CLIENT_VERSION_MINOR 0
+#define CLIENT_VERSION_REVISION 0
+#define CLIENT_VERSION_BUILD 0
// Set to true for release, false for prerelease or test build
-#define CLIENT_VERSION_IS_RELEASE true
+#define CLIENT_VERSION_IS_RELEASE false
// Copyright year (2009-this)
// Todo: update this when changing our copyright comments in the source | Update client version number and set false for prerelease
| mit | Megalinuxcoin/megalinuxcoin,Megalinuxcoin/megalinuxcoin,Megalinuxcoin/megalinuxcoin,Megalinuxcoin/megalinuxcoin,Megalinuxcoin/megalinuxcoin | 3dfdf82baff2eea1b02fcba51ea71fbedb0987a4 |
#ifndef LLIST_H
#define LLIST_H
/* Doubly linked list */
#define DLLIST_PREPEND(list, item) STMT_START { \
(item)->prev = NULL; \
(item)->next = *(list); \
if (*(list) != NULL) (*(list))->prev = (item); \
*(list) = (item); \
} STMT_END
#define DLLIST_REMOVE(list, item) STMT_START { \
if ((item)->prev == NULL) \
*(list) = (item)->next; \
else \
(item)->prev->next = (item)->next; \
if ((item)->next != NULL) { \
(item)->next->prev = (item)->prev; \
(item)->next = NULL; \
} \
(item)->prev = NULL; \
} STMT_END
#endif
| #ifndef LLIST_H
#define LLIST_H
/* Doubly linked list */
#define DLLIST_PREPEND(list, item) STMT_START { \
(item)->prev = NULL; \
(item)->next = *(list); \
if (*(list) != NULL) (*(list))->prev = (item); \
*(list) = (item); \
} STMT_END
#define DLLIST_REMOVE(list, item) STMT_START { \
if ((item)->prev == NULL) \
*(list) = (item)->next; \
else \
(item)->prev->next = (item)->next; \
if ((item)->next != NULL) \
(item)->next->prev = (item)->prev; \
} STMT_END
#endif
| ---
+++
@@ -14,8 +14,11 @@
*(list) = (item)->next; \
else \
(item)->prev->next = (item)->next; \
- if ((item)->next != NULL) \
+ if ((item)->next != NULL) { \
(item)->next->prev = (item)->prev; \
+ (item)->next = NULL; \
+ } \
+ (item)->prev = NULL; \
} STMT_END
#endif | DLLIST_REMOVE(): Set removed item's prev/next pointers to NULL.
| mit | Distrotech/dovecot,Distrotech/dovecot,Distrotech/dovecot,Distrotech/dovecot,Distrotech/dovecot | adee120a170ac38009f875d4819f89be5eac9198 |
// This file is a part of the OpenSurgSim project.
// Copyright 2013-2016, SimQuest Solutions Inc.
//
// 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.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#ifndef SURGSIM_MATH_PARTICLESSHAPE_INL_H
#define SURGSIM_MATH_PARTICLESSHAPE_INL_H
namespace SurgSim
{
namespace Math
{
template <class V>
ParticlesShape::ParticlesShape(const SurgSim::DataStructures::Vertices<V>& other) :
DataStructures::Vertices<DataStructures::EmptyData>(other),
m_radius(0.0)
{
update();
}
template <class V>
ParticlesShape& ParticlesShape::operator=(const SurgSim::DataStructures::Vertices<V>& other)
{
DataStructures::Vertices<DataStructures::EmptyData>::operator=(other);
update();
return *this;
}
}; // namespace Math
}; // namespace SurgSim
#endif
| // This file is a part of the OpenSurgSim project.
// Copyright 2013, SimQuest Solutions Inc.
//
// 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.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#ifndef SURGSIM_MATH_PARTICLESSHAPE_INL_H
#define SURGSIM_MATH_PARTICLESSHAPE_INL_H
namespace SurgSim
{
namespace Math
{
template <class V>
ParticlesShape::ParticlesShape(const SurgSim::DataStructures::Vertices<V>& other) :
DataStructures::Vertices<DataStructures::EmptyData>(other)
{
update();
}
template <class V>
ParticlesShape& ParticlesShape::operator=(const SurgSim::DataStructures::Vertices<V>& other)
{
DataStructures::Vertices<DataStructures::EmptyData>::operator=(other);
update();
return *this;
}
}; // namespace Math
}; // namespace SurgSim
#endif
| ---
+++
@@ -1,5 +1,5 @@
// This file is a part of the OpenSurgSim project.
-// Copyright 2013, SimQuest Solutions Inc.
+// Copyright 2013-2016, SimQuest Solutions Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -24,7 +24,8 @@
template <class V>
ParticlesShape::ParticlesShape(const SurgSim::DataStructures::Vertices<V>& other) :
- DataStructures::Vertices<DataStructures::EmptyData>(other)
+ DataStructures::Vertices<DataStructures::EmptyData>(other),
+ m_radius(0.0)
{
update();
} | Fix uninitialed member variable in ParticlesShape
The radius was uninitialized when using the ParticlesShape copy
constructor that takes another Vertices type.
| apache-2.0 | simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim | 5acf8d688ec5e75ebf8cdc7f29925b0d21ad90b1 |
#include <stdio.h>
#include <string.h>
#include <efivar.h>
#define TEST_GUID EFI_GUID(0x84be9c3e,0x8a32,0x42c0,0x891c,0x4c,0xd3,0xb0,0x72,0xbe,0xcc)
static void
clean_test_environment(void)
{
efi_del_variable(TEST_GUID, "small");
efi_del_variable(TEST_GUID, "large");
}
#define report_error(str) ({fprintf(stderr, str); goto fail;})
int main(void)
{
if (!efi_variables_supported()) {
printf("UEFI variables not supported on this machine.\n");
return 0;
}
clean_test_environment();
int ret = 1;
char smallvalue[] = "smallvalue";
int rc;
rc = efi_set_variable(TEST_GUID, "small",
smallvalue, strlen(smallvalue)+1,
EFI_VARIABLE_BOOTSERVICE_ACCESS |
EFI_VARIABLE_RUNTIME_ACCESS |
EFI_VARIABLE_NON_VOLATILE);
if (rc < 0)
report_error("small value test failed: %m\n");
ret = 0;
fail:
return ret;
}
| #include <stdio.h>
#include <string.h>
#include <efivar.h>
#define TEST_GUID EFI_GUID(0x84be9c3e,0x8a32,0x42c0,0x891c,0x4c,0xd3,0xb0,0x72,0xbe,0xcc)
static void
clean_test_environment(void)
{
efi_del_variable(TEST_GUID, "small");
efi_del_variable(TEST_GUID, "large");
}
#define report_error(str) ({fprintf(stderr, str); goto fail;})
int main(void)
{
if (!efi_variables_supported()) {
printf("UEFI variables not supported on this machine.\n");
return 0;
}
clean_test_environment();
int ret = 1;
char smallvalue[] = "smallvalue";
int rc;
rc = efi_set_variable(TEST_GUID, "small",
smallvalue, strlen(smallvalue)+1,
EFI_VARIABLE_RUNTIME_ACCESS);
if (rc < 0)
report_error("small value test failed: %m\n");
ret = 0;
fail:
return ret;
}
| ---
+++
@@ -30,7 +30,9 @@
int rc;
rc = efi_set_variable(TEST_GUID, "small",
smallvalue, strlen(smallvalue)+1,
- EFI_VARIABLE_RUNTIME_ACCESS);
+ EFI_VARIABLE_BOOTSERVICE_ACCESS |
+ EFI_VARIABLE_RUNTIME_ACCESS |
+ EFI_VARIABLE_NON_VOLATILE);
if (rc < 0)
report_error("small value test failed: %m\n");
| Use flags that will actually work when testing.
| lgpl-2.1 | rhboot/efivar,rhinstaller/efivar,android-ia/vendor_intel_external_efivar,rhinstaller/efivar,rhboot/efivar,CyanogenMod/android_vendor_intel_external_efivar,vathpela/efivar-devel | 3b09a6a7faae7363ffc90749e041788a17559f0f |
#ifndef SSPAPPLICATION_GAMESTATES_GAMESTATEHANDLER_H
#define SSPAPPLICATION_GAMESTATES_GAMESTATEHANDLER_H
#include "GameState.h"
#include "StartState.h"
#include "LevelSelectState.h"
#include <vector>
#define START_WITHOUT_MENU
class GameStateHandler
{
private:
std::vector<GameState*> m_stateStack;
std::vector<GameState*> m_statesToRemove;
public:
GameStateHandler();
~GameStateHandler();
int ShutDown();
int Initialize(ComponentHandler* cHandler, Camera* cameraRef);
int Update(float dt, InputHandler* inputHandler);
//Push a state to the stack
int PushStateToStack(GameState* state);
private:
};
#endif | #ifndef SSPAPPLICATION_GAMESTATES_GAMESTATEHANDLER_H
#define SSPAPPLICATION_GAMESTATES_GAMESTATEHANDLER_H
#include "GameState.h"
#include "StartState.h"
#include "LevelSelectState.h"
#include <vector>
//#define START_WITHOUT_MENU
class GameStateHandler
{
private:
std::vector<GameState*> m_stateStack;
std::vector<GameState*> m_statesToRemove;
public:
GameStateHandler();
~GameStateHandler();
int ShutDown();
int Initialize(ComponentHandler* cHandler, Camera* cameraRef);
int Update(float dt, InputHandler* inputHandler);
//Push a state to the stack
int PushStateToStack(GameState* state);
private:
};
#endif | ---
+++
@@ -5,7 +5,7 @@
#include "LevelSelectState.h"
#include <vector>
-//#define START_WITHOUT_MENU
+#define START_WITHOUT_MENU
class GameStateHandler
{ | UPDATE defined start without menu
| apache-2.0 | Chringo/SSP,Chringo/SSP | ba61ebd978b1f3a7646f220ece3bab09c44c55cd |
/* The Halfling Project - A Graphics Engine and Projects
*
* The Halfling Project is the legal property of Adrian Astley
* Copyright Adrian Astley 2013
*/
#ifndef CRATE_DEMO_GAME_STATE_MANAGER_H
#define CRATE_DEMO_GAME_STATE_MANAGER_H
#include "common/game_state_manager_base.h"
namespace CrateDemo {
class GameStateManager : public Common::GameStateManagerBase {
public:
GameStateManager();
private:
public:
bool Initialize();
void Shutdown();
/**
* Return the wanted period of time between update() calls.
*
* IE: If you want update to be called 20 times a second, this
* should return 50.
*
* NOTE: This should probably be inlined.
* NOTE: This will only be called at the beginning of HalflingEngine::Run()
* TODO: Contemplate the cost/benefit of calling this once per frame
*
* @return The period in milliseconds
*/
inline double GetUpdatePeriod() { return 30.0; }
/**
* Called every time the game logic should be updated. The frequency
* of this being called is determined by getUpdatePeriod()
*/
void Update();
void GamePaused();
void GameUnpaused();
};
} // End of namespace CrateDemo
#endif
| /* The Halfling Project - A Graphics Engine and Projects
*
* The Halfling Project is the legal property of Adrian Astley
* Copyright Adrian Astley 2013
*/
#ifndef CRATE_DEMO_GAME_STATE_MANAGER_H
#define CRATE_DEMO_GAME_STATE_MANAGER_H
#include "common/game_state_manager_interface.h"
namespace CrateDemo {
class GameStateManager : public Common::IGameStateManager {
public:
GameStateManager();
private:
public:
bool Initialize();
void Shutdown();
/**
* Return the wanted period of time between update() calls.
*
* IE: If you want update to be called 20 times a second, this
* should return 50.
*
* NOTE: This should probably be inlined.
* NOTE: This will only be called at the beginning of HalflingEngine::Run()
* TODO: Contemplate the cost/benefit of calling this once per frame
*
* @return The period in milliseconds
*/
inline double GetUpdatePeriod() { return 30.0; }
/**
* Called every time the game logic should be updated. The frequency
* of this being called is determined by getUpdatePeriod()
*/
void Update();
void GamePaused();
void GameUnpaused();
};
} // End of namespace CrateDemo
#endif
| ---
+++
@@ -7,12 +7,12 @@
#ifndef CRATE_DEMO_GAME_STATE_MANAGER_H
#define CRATE_DEMO_GAME_STATE_MANAGER_H
-#include "common/game_state_manager_interface.h"
+#include "common/game_state_manager_base.h"
namespace CrateDemo {
-class GameStateManager : public Common::IGameStateManager {
+class GameStateManager : public Common::GameStateManagerBase {
public:
GameStateManager();
| CRATE_DEMO: Update GameStateManager to use new base class name
| apache-2.0 | RichieSams/thehalflingproject,RichieSams/thehalflingproject,RichieSams/thehalflingproject | 6dfebcd2cca5a3e6cb7668c43ff30c4619026c75 |
/*
* Copyright (c) 2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#pragma once
#include <folly/experimental/fibers/ExecutionObserver.h>
#include "mcrouter/lib/cycles/Cycles.h"
namespace facebook { namespace memcache { namespace mcrouter {
class CyclesObserver : public folly::fibers::ExecutionObserver {
public:
void starting(uintptr_t id) noexcept override {
if (!cycles::start()) {
// Should never happen
DCHECK(false) << "There is already one cycles interval "
"active in this thread";
}
}
void runnable(uintptr_t id) noexcept override {}
void stopped(uintptr_t id) noexcept override {
cycles::finish();
}
};
}}} // facebook::memcache::mcrouter
| /*
* Copyright (c) 2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#pragma once
#include <folly/experimental/fibers/ExecutionObserver.h>
#include "mcrouter/lib/cycles/Cycles.h"
namespace facebook { namespace memcache { namespace mcrouter {
class CyclesObserver : public folly::fibers::ExecutionObserver {
public:
void starting() noexcept override {
if (!cycles::start()) {
// Should never happen
DCHECK(false) << "There is already one cycles interval "
"active in this thread";
}
}
void stopped() noexcept override {
cycles::finish();
}
};
}}} // facebook::memcache::mcrouter
| ---
+++
@@ -17,14 +17,15 @@
class CyclesObserver : public folly::fibers::ExecutionObserver {
public:
- void starting() noexcept override {
+ void starting(uintptr_t id) noexcept override {
if (!cycles::start()) {
// Should never happen
DCHECK(false) << "There is already one cycles interval "
"active in this thread";
}
}
- void stopped() noexcept override {
+ void runnable(uintptr_t id) noexcept override {}
+ void stopped(uintptr_t id) noexcept override {
cycles::finish();
}
}; | Add 'runnable' callback to ExecutionObserver
Summary: Add a callback when a fiber becomes runnable
Test Plan: unit tests
Reviewed By: @andriigrynenko
Differential Revision: D2081306 | bsd-3-clause | synecdoche/mcrouter,yqzhang/mcrouter,tempbottle/mcrouter,easyfmxu/mcrouter,reddit/mcrouter,is00hcw/mcrouter,nvaller/mcrouter,is00hcw/mcrouter,easyfmxu/mcrouter,easyfmxu/mcrouter,tempbottle/mcrouter,leitao/mcrouter,leitao/mcrouter,facebook/mcrouter,facebook/mcrouter,nvaller/mcrouter,reddit/mcrouter,zhlong73/mcrouter,is00hcw/mcrouter,evertrue/mcrouter,zhlong73/mcrouter,evertrue/mcrouter,glensc/mcrouter,nvaller/mcrouter,easyfmxu/mcrouter,zhlong73/mcrouter,glensc/mcrouter,yqzhang/mcrouter,zhlong73/mcrouter,synecdoche/mcrouter,leitao/mcrouter,synecdoche/mcrouter,nvaller/mcrouter,reddit/mcrouter,yqzhang/mcrouter,facebook/mcrouter,reddit/mcrouter,evertrue/mcrouter,synecdoche/mcrouter,evertrue/mcrouter,is00hcw/mcrouter,yqzhang/mcrouter,tempbottle/mcrouter,glensc/mcrouter,tempbottle/mcrouter,leitao/mcrouter,facebook/mcrouter,glensc/mcrouter | 979b40c26118cfc50d27eed458d71020e87dc629 |
#include <stdio.h>
#include "bincookie.h"
int main(int argc, char *argv[]) {
if (argc != 2) {
printf("Usage: %s [Full path to Cookies.binarycookies file]\n", argv[0]);
printf("Example: %s Cookies.binarycookies\n", argv[0]);
return 1;
}
binarycookies_t *bc = binarycookies_init(argv[1]);
unsigned int i, j;
// Output in Netscape cookies.txt format
for (i = 0; i < bc->num_pages; i++) {
for (j = 0; j < bc->pages[i]->number_of_cookies; j++) {
// domain, flag, path, secure, expiration, name, value
printf("%s\t%s\t%s\t%s\t%.f\t%s\t%s\n",
bc->pages[i]->cookies[j]->url,
bc->pages[i]->cookies[j]->url[0] == '.' ? "TRUE" : "FALSE",
bc->pages[i]->cookies[j]->path,
binarycookies_is_secure(bc->pages[i]->cookies[j]) ? "TRUE" : "FALSE",
bc->pages[i]->cookies[j]->expiration_date,
bc->pages[i]->cookies[j]->name,
bc->pages[i]->cookies[j]->value);
}
}
binarycookies_free(bc);
return 0;
}
| #include <stdio.h>
#include "bincookie.h"
int main(int argc, char *argv[]) {
if (argc != 2) {
printf("Usage: %s [Full path to Cookies.binarycookies file]\n", argv[0]);
printf("Example: %s Cookies.binarycookies\n", argv[0]);
return 1;
}
binarycookies_t *bc = binarycookies_init(argv[1]);
unsigned int i, j;
binarycookies_flag flags;
// Output in Netscape cookies.txt format
for (i = 0; i < bc->num_pages; i++) {
for (j = 0; j < bc->pages[i]->number_of_cookies; j++) {
flags = bc->pages[i]->cookies[j]->flags;
// domain, flag, path, secure, expiration, name, value
printf("%s\t%s\t%s\t%s\t%.f\t%s\t%s\n",
bc->pages[i]->cookies[j]->url,
bc->pages[i]->cookies[j]->url[0] == '.' ? "TRUE" : "FALSE",
bc->pages[i]->cookies[j]->path,
flags == secure || flags == secure_http_only ? "TRUE" : "FALSE",
bc->pages[i]->cookies[j]->expiration_date,
bc->pages[i]->cookies[j]->name,
bc->pages[i]->cookies[j]->value);
}
}
binarycookies_free(bc);
return 0;
}
| ---
+++
@@ -11,19 +11,16 @@
binarycookies_t *bc = binarycookies_init(argv[1]);
unsigned int i, j;
- binarycookies_flag flags;
// Output in Netscape cookies.txt format
for (i = 0; i < bc->num_pages; i++) {
for (j = 0; j < bc->pages[i]->number_of_cookies; j++) {
- flags = bc->pages[i]->cookies[j]->flags;
-
// domain, flag, path, secure, expiration, name, value
printf("%s\t%s\t%s\t%s\t%.f\t%s\t%s\n",
bc->pages[i]->cookies[j]->url,
bc->pages[i]->cookies[j]->url[0] == '.' ? "TRUE" : "FALSE",
bc->pages[i]->cookies[j]->path,
- flags == secure || flags == secure_http_only ? "TRUE" : "FALSE",
+ binarycookies_is_secure(bc->pages[i]->cookies[j]) ? "TRUE" : "FALSE",
bc->pages[i]->cookies[j]->expiration_date,
bc->pages[i]->cookies[j]->name,
bc->pages[i]->cookies[j]->value); | Use macro to check security of cookie
| mit | Tatsh/libbinarycookies,Tatsh/libbinarycookies | b56a4389c1ae7ce29e2221db3339ce7a9ec2ff62 |
//
// This file is part of the Marble Virtual Globe.
//
// This program is free software licensed under the GNU LGPL. You can
// find a copy of this license in LICENSE.txt in the top directory of
// the source code.
//
// Copyright 2009 Bastian Holst <[email protected]>
//
#ifndef BBCWEATHERITEM_H
#define BBCWEATHERITEM_H
#include "WeatherItem.h"
class QString;
class QUrl;
namespace Marble
{
class BBCWeatherItem : public WeatherItem
{
Q_OBJECT
public:
BBCWeatherItem( QObject *parent = 0 );
~BBCWeatherItem();
virtual bool request( const QString& type );
QString service() const;
void addDownloadedFile( const QString& url, const QString& type );
QUrl observationUrl() const;
QUrl forecastUrl() const;
quint32 bbcId() const;
void setBbcId( quint32 id );
QString creditHtml() const;
private:
quint32 m_bbcId;
bool m_observationRequested;
bool m_forecastRequested;
};
} // namespace Marble
#endif // BBCWEATHERITEM_H
| //
// This file is part of the Marble Virtual Globe.
//
// This program is free software licensed under the GNU LGPL. You can
// find a copy of this license in LICENSE.txt in the top directory of
// the source code.
//
// Copyright 2009 Bastian Holst <[email protected]>
//
#ifndef BBCWEATHERITEM_H
#define BBCWEATHERITEM_H
#include "WeatherItem.h"
class QString;
class QUrl;
namespace Marble
{
class BBCWeatherItem : public WeatherItem
{
public:
BBCWeatherItem( QObject *parent = 0 );
~BBCWeatherItem();
virtual bool request( const QString& type );
QString service() const;
void addDownloadedFile( const QString& url, const QString& type );
QUrl observationUrl() const;
QUrl forecastUrl() const;
quint32 bbcId() const;
void setBbcId( quint32 id );
QString creditHtml() const;
private:
quint32 m_bbcId;
bool m_observationRequested;
bool m_forecastRequested;
};
} // namespace Marble
#endif // BBCWEATHERITEM_H
| ---
+++
@@ -21,6 +21,8 @@
class BBCWeatherItem : public WeatherItem
{
+ Q_OBJECT
+
public:
BBCWeatherItem( QObject *parent = 0 );
~BBCWeatherItem(); | Add Q_OBJECT macro (requested by lupdate).
svn path=/trunk/KDE/kdeedu/marble/; revision=1205732
| lgpl-2.1 | David-Gil/marble-dev,oberluz/marble,quannt24/marble,adraghici/marble,tzapzoor/marble,rku/marble,tzapzoor/marble,David-Gil/marble-dev,utkuaydin/marble,probonopd/marble,quannt24/marble,adraghici/marble,oberluz/marble,adraghici/marble,utkuaydin/marble,Earthwings/marble,Earthwings/marble,oberluz/marble,tzapzoor/marble,utkuaydin/marble,adraghici/marble,tzapzoor/marble,utkuaydin/marble,Earthwings/marble,Earthwings/marble,probonopd/marble,tzapzoor/marble,quannt24/marble,rku/marble,adraghici/marble,tucnak/marble,probonopd/marble,tucnak/marble,Earthwings/marble,David-Gil/marble-dev,tucnak/marble,probonopd/marble,quannt24/marble,probonopd/marble,tucnak/marble,utkuaydin/marble,utkuaydin/marble,rku/marble,oberluz/marble,David-Gil/marble-dev,rku/marble,Earthwings/marble,AndreiDuma/marble,tucnak/marble,AndreiDuma/marble,tzapzoor/marble,adraghici/marble,AndreiDuma/marble,oberluz/marble,quannt24/marble,tucnak/marble,David-Gil/marble-dev,quannt24/marble,probonopd/marble,AndreiDuma/marble,AndreiDuma/marble,tucnak/marble,AndreiDuma/marble,David-Gil/marble-dev,rku/marble,rku/marble,tzapzoor/marble,oberluz/marble,quannt24/marble,tzapzoor/marble,probonopd/marble | 5c443e8dd6db31588d8926af0ebb6dc60501c5f2 |
/**
* common.h
*
* Copyright (C) 2017 Nickolas Burr <[email protected]>
*/
#ifndef GIT_STASHD_COMMON_H
#define GIT_STASHD_COMMON_H
#include <errno.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#define _GNU_SOURCE
#define NULL_BYTE 1
#define NOT_FOUND -1
#define ERR_CATCH -2
#endif
| /**
* common.h
*
* Copyright (C) 2017 Nickolas Burr <[email protected]>
*/
#ifndef GIT_STASHD_COMMON_H
#define GIT_STASHD_COMMON_H
#include <errno.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#define _GNU_SOURCE
#define NOOPT_FOUND_V -1
#define CLEAN_CATCH_V -2
#endif
| ---
+++
@@ -16,7 +16,8 @@
#define _GNU_SOURCE
-#define NOOPT_FOUND_V -1
-#define CLEAN_CATCH_V -2
+#define NULL_BYTE 1
+#define NOT_FOUND -1
+#define ERR_CATCH -2
#endif | Add NULL_BYTE macro, rename others
| mit | nickolasburr/git-stashd,nickolasburr/git-stashd,nickolasburr/git-stashd | f606322980ae5739c9358a5b374da676ce796627 |
#pragma once
#include <QtGui/QMouseEvent>
#include <QtGui/QPaintEvent>
#include <QtWidgets/QWidget>
#include "binaryninjaapi.h"
#include "dockhandler.h"
#include "uitypes.h"
class ContextMenuManager;
class FlowGraphWidget;
class Menu;
class ViewFrame;
class BINARYNINJAUIAPI MiniGraph: public QWidget, public DockContextHandler
{
Q_OBJECT
FlowGraphWidget* m_flowGraphWidget = nullptr;
public:
MiniGraph(QWidget* parent);
~MiniGraph();
virtual void notifyViewChanged(ViewFrame* frame) override;
virtual bool shouldBeVisible(ViewFrame* frame) override;
protected:
virtual void contextMenuEvent(QContextMenuEvent* event) override;
virtual void mouseMoveEvent(QMouseEvent* event) override;
virtual void mousePressEvent(QMouseEvent* event) override;
virtual void paintEvent(QPaintEvent* event) override;
virtual void scrollTo(int x, int y);
public Q_SLOTS:
void notifyUpdate();
};
| #pragma once
#include <QtGui/QMouseEvent>
#include <QtGui/QPaintEvent>
#include <QtWidgets/QWidget>
#include "binaryninjaapi.h"
#include "dockhandler.h"
#include "uitypes.h"
class ContextMenuManager;
class DisassemblyView;
class Menu;
class ViewFrame;
class BINARYNINJAUIAPI MiniGraph: public QWidget, public DockContextHandler
{
Q_OBJECT
DisassemblyView* m_disassemblyView = nullptr;
public:
MiniGraph(QWidget* parent);
~MiniGraph();
virtual void notifyViewChanged(ViewFrame* frame) override;
virtual bool shouldBeVisible(ViewFrame* frame) override;
protected:
virtual void contextMenuEvent(QContextMenuEvent* event) override;
virtual void mouseMoveEvent(QMouseEvent* event) override;
virtual void mousePressEvent(QMouseEvent* event) override;
virtual void paintEvent(QPaintEvent* event) override;
virtual void scrollTo(int x, int y);
public Q_SLOTS:
void notifyUpdate();
};
| ---
+++
@@ -9,7 +9,7 @@
#include "uitypes.h"
class ContextMenuManager;
-class DisassemblyView;
+class FlowGraphWidget;
class Menu;
class ViewFrame;
@@ -17,7 +17,7 @@
{
Q_OBJECT
- DisassemblyView* m_disassemblyView = nullptr;
+ FlowGraphWidget* m_flowGraphWidget = nullptr;
public:
MiniGraph(QWidget* parent); | Update MiniGraph to work with FlowGraphWidet.
| mit | Vector35/binaryninja-api,Vector35/binaryninja-api,Vector35/binaryninja-api,joshwatson/binaryninja-api,Vector35/binaryninja-api,joshwatson/binaryninja-api,Vector35/binaryninja-api,Vector35/binaryninja-api,joshwatson/binaryninja-api,joshwatson/binaryninja-api,Vector35/binaryninja-api,joshwatson/binaryninja-api | 39e3614c7136029acb6b18cd71e12ef2feaeaac7 |
//#####################################################################
// Function Dot
//#####################################################################
#pragma once
namespace other {
template<class T,int d> class Vector;
static inline float dot(const float a1,const float a2)
{return a1*a2;}
static inline double dot(const double a1,const double a2)
{return a1*a2;}
template<class T,int d>
static inline double dot_double_precision(const Vector<T,d>& v1,const Vector<T,d>& v2)
{return dot(v1,v2);}
static inline double dot_double_precision(const float a1,const float a2)
{return a1*a2;}
static inline double dot_double_precision(const double a1,const double a2)
{return a1*a2;}
}
| //#####################################################################
// Function Dot
//#####################################################################
#pragma once
namespace other {
template<class T,int d> class Vector;
inline float dot(const float a1,const float a2)
{return a1*a2;}
inline double dot(const double a1,const double a2)
{return a1*a2;}
template<class T,int d>
inline double dot_double_precision(const Vector<T,d>& v1,const Vector<T,d>& v2)
{return dot(v1,v2);}
inline double dot_double_precision(const float a1,const float a2)
{return a1*a2;}
inline double dot_double_precision(const double a1,const double a2)
{return a1*a2;}
}
| ---
+++
@@ -7,20 +7,20 @@
template<class T,int d> class Vector;
-inline float dot(const float a1,const float a2)
+static inline float dot(const float a1,const float a2)
{return a1*a2;}
-inline double dot(const double a1,const double a2)
+static inline double dot(const double a1,const double a2)
{return a1*a2;}
template<class T,int d>
-inline double dot_double_precision(const Vector<T,d>& v1,const Vector<T,d>& v2)
+static inline double dot_double_precision(const Vector<T,d>& v1,const Vector<T,d>& v2)
{return dot(v1,v2);}
-inline double dot_double_precision(const float a1,const float a2)
+static inline double dot_double_precision(const float a1,const float a2)
{return a1*a2;}
-inline double dot_double_precision(const double a1,const double a2)
+static inline double dot_double_precision(const double a1,const double a2)
{return a1*a2;}
} | vector/dot: Mark some functions static inline
| bsd-3-clause | omco/geode,mikest/geode,omco/geode,mikest/geode,mikest/geode,omco/geode,omco/geode,mikest/geode | efb2710d75e39e0297d88636001c43185a92c407 |
#include <assert.h>
#include <stdint.h>
#include <stdlib.h>
#include "rtpp_types.h"
#include "rtpp_module.h"
#define MI_VER_INIT(sname) {.rev = MODULE_API_REVISION, .mi_size = sizeof(sname)}
struct rtpp_module_priv {
int foo;
};
static struct rtpp_module_priv *rtpp_csv_acct_ctor(struct rtpp_cfg_stable *);
static void rtpp_csv_acct_dtor(struct rtpp_module_priv *);
struct moduleinfo rtpp_module = {
.name = "csv_acct",
.ver = MI_VER_INIT(struct moduleinfo),
.ctor = rtpp_csv_acct_ctor,
.dtor = rtpp_csv_acct_dtor
};
static struct rtpp_module_priv bar;
static struct rtpp_module_priv *
rtpp_csv_acct_ctor(struct rtpp_cfg_stable *cfsp)
{
bar.foo = 123456;
return (&bar);
}
static void
rtpp_csv_acct_dtor(struct rtpp_module_priv *pvt)
{
assert(pvt->foo == 123456);
return;
}
| #include <stdint.h>
#include <stdlib.h>
#include "rtpp_module.h"
#define MI_VER_INIT(sname) {.rev = MODULE_API_REVISION, .mi_size = sizeof(sname)}
struct moduleinfo rtpp_module = {
.name = "csv_acct",
.ver = MI_VER_INIT(struct moduleinfo)
};
| ---
+++
@@ -1,11 +1,40 @@
+#include <assert.h>
#include <stdint.h>
#include <stdlib.h>
+#include "rtpp_types.h"
#include "rtpp_module.h"
#define MI_VER_INIT(sname) {.rev = MODULE_API_REVISION, .mi_size = sizeof(sname)}
+struct rtpp_module_priv {
+ int foo;
+};
+
+static struct rtpp_module_priv *rtpp_csv_acct_ctor(struct rtpp_cfg_stable *);
+static void rtpp_csv_acct_dtor(struct rtpp_module_priv *);
+
struct moduleinfo rtpp_module = {
.name = "csv_acct",
- .ver = MI_VER_INIT(struct moduleinfo)
+ .ver = MI_VER_INIT(struct moduleinfo),
+ .ctor = rtpp_csv_acct_ctor,
+ .dtor = rtpp_csv_acct_dtor
};
+
+static struct rtpp_module_priv bar;
+
+static struct rtpp_module_priv *
+rtpp_csv_acct_ctor(struct rtpp_cfg_stable *cfsp)
+{
+
+ bar.foo = 123456;
+ return (&bar);
+}
+
+static void
+rtpp_csv_acct_dtor(struct rtpp_module_priv *pvt)
+{
+
+ assert(pvt->foo == 123456);
+ return;
+} | Add simple constructor and destructor.
| bsd-2-clause | synety-jdebp/rtpproxy,dsanders11/rtpproxy,dsanders11/rtpproxy,sippy/rtpproxy,dsanders11/rtpproxy,jevonearth/rtpproxy,synety-jdebp/rtpproxy,synety-jdebp/rtpproxy,jevonearth/rtpproxy,jevonearth/rtpproxy,jevonearth/rtpproxy,synety-jdebp/rtpproxy,sippy/rtpproxy,sippy/rtpproxy | 9ab39d421665c1420afae6d8e006b01e7d0e6c61 |
#ifndef BITCOINADDRESSVALIDATOR_H
#define BITCOINADDRESSVALIDATOR_H
#include <QValidator>
/** Base58 entry widget validator.
Corrects near-miss characters and refuses characters that are not part of base58.
*/
class BitcoinAddressValidator : public QValidator
{
Q_OBJECT
public:
explicit BitcoinAddressValidator(QObject *parent = 0);
State validate(QString &input, int &pos) const;
static const int MaxAddressLength = 35;
};
#endif // BITCOINADDRESSVALIDATOR_H
| #ifndef BITCOINADDRESSVALIDATOR_H
#define BITCOINADDRESSVALIDATOR_H
#include <QValidator>
/** Base48 entry widget validator.
Corrects near-miss characters and refuses characters that are no part of base48.
*/
class BitcoinAddressValidator : public QValidator
{
Q_OBJECT
public:
explicit BitcoinAddressValidator(QObject *parent = 0);
State validate(QString &input, int &pos) const;
static const int MaxAddressLength = 35;
};
#endif // BITCOINADDRESSVALIDATOR_H
| ---
+++
@@ -3,8 +3,8 @@
#include <QValidator>
-/** Base48 entry widget validator.
- Corrects near-miss characters and refuses characters that are no part of base48.
+/** Base58 entry widget validator.
+ Corrects near-miss characters and refuses characters that are not part of base58.
*/
class BitcoinAddressValidator : public QValidator
{ | Fix typo in a comment: it's base58, not base48.
| mit | GroundRod/anoncoin,Mrs-X/Darknet,donaloconnor/bitcoin,sstone/bitcoin,ahmedbodi/vertcoin,11755033isaprimenumber/Feathercoin,Earlz/renamedcoin,jimmykiselak/lbrycrd,shouhuas/bitcoin,litecoin-project/litecoin,rustyrussell/bitcoin,nmarley/dash,pstratem/elements,goku1997/bitcoin,BTCTaras/bitcoin,NicolasDorier/bitcoin,Flowdalic/bitcoin,Petr-Economissa/gvidon,MazaCoin/maza,botland/bitcoin,sipa/bitcoin,ClusterCoin/ClusterCoin,bitcoinxt/bitcoinxt,krzysztofwos/BitcoinUnlimited,MikeAmy/bitcoin,hyperwang/bitcoin,HeliumGas/helium,greenaddress/bitcoin,kevcooper/bitcoin,dexX7/mastercore,174high/bitcoin,dgarage/bc3,slingcoin/sling-market,unsystemizer/bitcoin,bcpki/nonce2testblocks,m0gliE/fastcoin-cli,dpayne9000/Rubixz-Coin,shomeser/bitcoin,mincoin-project/mincoin,DSPay/DSPay,Tetpay/bitcoin,shouhuas/bitcoin,basicincome/unpcoin-core,digideskio/namecoin,Domer85/dogecoin,ixcoinofficialpage/master,iQcoin/iQcoin,DogTagRecon/Still-Leraning,deadalnix/bitcoin,AdrianaDinca/bitcoin,48thct2jtnf/P,ptschip/bitcoinxt,gandrewstone/BitcoinUnlimited,bickojima/bitzeny,sipsorcery/bitcoin,tjth/lotterycoin,Darknet-Crypto/Darknet,matlongsi/micropay,btcdrak/bitcoin,lclc/bitcoin,llluiop/bitcoin,ShadowMyst/creativechain-core,hyperwang/bitcoin,cculianu/bitcoin-abc,kallewoof/bitcoin,Domer85/dogecoin,Diapolo/bitcoin,domob1812/bitcoin,robvanbentem/bitcoin,koharjidan/dogecoin,daveperkins-github/bitcoin-dev,dmrtsvetkov/flowercoin,sarielsaz/sarielsaz,constantine001/bitcoin,apoelstra/elements,s-matthew-english/bitcoin,upgradeadvice/MUE-Src,djpnewton/bitcoin,pouta/bitcoin,koharjidan/dogecoin,FeatherCoin/Feathercoin,randy-waterhouse/bitcoin,RHavar/bitcoin,ashleyholman/bitcoin,HeliumGas/helium,basicincome/unpcoin-core,misdess/bitcoin,oleganza/bitcoin-duo,jtimon/elements,pstratem/bitcoin,RibbitFROG/ribbitcoin,ftrader-bitcoinabc/bitcoin-abc,sickpig/BitcoinUnlimited,sbaks0820/bitcoin,LIMXTEC/DMDv3,shouhuas/bitcoin,coinkeeper/2015-06-22_18-39_feathercoin,guncoin/guncoin,achow101/bitcoin,achow101/bitcoin,MasterX1582/bitcoin-becoin,TrainMAnB/vcoincore,zenywallet/bitzeny,jakeva/bitcoin-pwcheck,instagibbs/bitcoin,Krellan/bitcoin,meighti/bitcoin,npccoin/npccoin,my-first/octocoin,GwangJin/gwangmoney-core,Mirobit/bitcoin,faircoin/faircoin2,BlockchainTechLLC/3dcoin,TGDiamond/Diamond,initaldk/bitcoin,xurantju/bitcoin,AllanDoensen/BitcoinUnlimited,guncoin/guncoin,Kcoin-project/kcoin,brishtiteveja/truthcoin-cpp,kallewoof/elements,jimmysong/bitcoin,jimmysong/bitcoin,Bitcoinsulting/bitcoinxt,andreaskern/bitcoin,gandrewstone/BitcoinUnlimited,mycointest/owncoin,UASF/bitcoin,deeponion/deeponion,tjth/lotterycoin,shaulkf/bitcoin,dan-mi-sun/bitcoin,bitbrazilcoin-project/bitbrazilcoin,torresalyssa/bitcoin,coinkeeper/2015-06-22_19-00_ziftrcoin,sdaftuar/bitcoin,myriadcoin/myriadcoin,TheBlueMatt/bitcoin,Alex-van-der-Peet/bitcoin,particl/particl-core,parvez3019/bitcoin,genavarov/brcoin,h4x3rotab/BTCGPU,mikehearn/bitcoinxt,myriadteam/myriadcoin,jnewbery/bitcoin,Kogser/bitcoin,MazaCoin/maza,octocoin-project/octocoin,h4x3rotab/BTCGPU,mruddy/bitcoin,braydonf/bitcoin,AllanDoensen/BitcoinUnlimited,balajinandhu/bitcoin,Kixunil/keynescoin,markf78/dollarcoin,rromanchuk/bitcoinxt,cdecker/bitcoin,donaloconnor/bitcoin,deeponion/deeponion,plncoin/PLNcoin_Core,bmp02050/ReddcoinUpdates,jlopp/statoshi,anditto/bitcoin,shaolinfry/litecoin,mockcoin/mockcoin,ftrader-bitcoinabc/bitcoin-abc,sebrandon1/bitcoin,imharrywu/fastcoin,Rav3nPL/doubloons-0.10,segwit/atbcoin-insight,TierNolan/bitcoin,FarhanHaque/bitcoin,RyanLucchese/energi,faircoin/faircoin2,Gazer022/bitcoin,AdrianaDinca/bitcoin,deuscoin/deuscoin,Kenwhite23/litecoin,mycointest/owncoin,langerhans/dogecoin,TBoehm/greedynode,irvingruan/bitcoin,crowning-/dash,Rav3nPL/PLNcoin,ctwiz/stardust,genavarov/ladacoin,paveljanik/bitcoin,haraldh/bitcoin,kfitzgerald/titcoin,prusnak/bitcoin,core-bitcoin/bitcoin,ryanofsky/bitcoin,BitcoinHardfork/bitcoin,EthanHeilman/bitcoin,deadalnix/bitcoin,shaulkf/bitcoin,kleetus/bitcoin,genavarov/ladacoin,wiggi/huntercore,jtimon/bitcoin,1185/starwels,lakepay/lake,psionin/smartcoin,aspirecoin/aspire,DMDcoin/Diamond,XertroV/bitcoin-nulldata,sugruedes/bitcoin,nbenoit/bitcoin,digibyte/digibyte,butterflypay/bitcoin,gjhiggins/vcoincore,FarhanHaque/bitcoin,ivansib/sib16,BTCTaras/bitcoin,maaku/bitcoin,diggcoin/diggcoin,wederw/bitcoin,superjudge/bitcoin,basicincome/unpcoin-core,BTCGPU/BTCGPU,scippio/bitcoin,JeremyRubin/bitcoin,jarymoth/dogecoin,bitcoinclassic/bitcoinclassic,tjth/lotterycoin,XertroV/bitcoin-nulldata,hasanatkazmi/bitcoin,llluiop/bitcoin,CryptArc/bitcoin,lakepay/lake,AllanDoensen/BitcoinUnlimited,world-bank/unpay-core,SartoNess/BitcoinUnlimited,domob1812/bitcoin,fullcoins/fullcoin,truthcoin/blocksize-market,qtumproject/qtum,viacoin/viacoin,nathaniel-mahieu/bitcoin,cculianu/bitcoin-abc,jonasschnelli/bitcoin,brishtiteveja/sherlockcoin,rnicoll/dogecoin,EntropyFactory/creativechain-core,gwillen/elements,dexX7/bitcoin,jmgilbert2/energi,coinkeeper/2015-06-22_18-31_bitcoin,psionin/smartcoin,sickpig/BitcoinUnlimited,brishtiteveja/sherlockcoin,tropa/axecoin,tecnovert/particl-core,stevemyers/bitcoinxt,gravio-net/graviocoin,sbellem/bitcoin,Diapolo/bitcoin,xuyangcn/opalcoin,laudaa/bitcoin,laudaa/bitcoin,Krellan/bitcoin,shelvenzhou/BTCGPU,funkshelper/woodcore,jn2840/bitcoin,Exgibichi/statusquo,rromanchuk/bitcoinxt,tuaris/bitcoin,wellenreiter01/Feathercoin,faircoin/faircoin,keesdewit82/LasVegasCoin,dashpay/dash,isocolsky/bitcoinxt,kallewoof/elements,myriadcoin/myriadcoin,coinkeeper/2015-06-22_18-52_viacoin,maaku/bitcoin,BTCTaras/bitcoin,omefire/bitcoin,nathan-at-least/zcash,iQcoin/iQcoin,marlengit/BitcoinUnlimited,dgenr8/bitcoin,ardsu/bitcoin,BTCGPU/BTCGPU,grumpydevelop/singularity,DGCDev/digitalcoin,patricklodder/dogecoin,ediston/energi,jmcorgan/bitcoin,aspanta/bitcoin,terracoin/terracoin,myriadcoin/myriadcoin,balajinandhu/bitcoin,bespike/litecoin,mincoin-project/mincoin,bittylicious/bitcoin,leofidus/glowing-octo-ironman,cybermatatu/bitcoin,TGDiamond/Diamond,Gazer022/bitcoin,ravenbyron/phtevencoin,bitcoin-hivemind/hivemind,GroundRod/anoncoin,odemolliens/bitcoinxt,rat4/bitcoin,CodeShark/bitcoin,elecoin/elecoin,rnicoll/bitcoin,Mrs-X/PIVX,CryptArc/bitcoin,Bitcoinsulting/bitcoinxt,bitcoinsSG/zcash,jiangyonghang/bitcoin,amaivsimau/bitcoin,Vsync-project/Vsync,peercoin/peercoin,gandrewstone/BitcoinUnlimited,rsdevgun16e/energi,dpayne9000/Rubixz-Coin,ericshawlinux/bitcoin,dscotese/bitcoin,stevemyers/bitcoinxt,experiencecoin/experiencecoin,arnuschky/bitcoin,janko33bd/bitcoin,anditto/bitcoin,scmorse/bitcoin,jonghyeopkim/bitcoinxt,SartoNess/BitcoinUnlimited,ajweiss/bitcoin,Kogser/bitcoin,mitchellcash/bitcoin,wangliu/bitcoin,Bitcoin-ABC/bitcoin-abc,haraldh/bitcoin,jmcorgan/bitcoin,ajtowns/bitcoin,adpg211/bitcoin-master,skaht/bitcoin,Metronotes/bitcoin,gazbert/bitcoin,Exgibichi/statusquo,peercoin/peercoin,langerhans/dogecoin,vtafaucet/virtacoin,senadmd/coinmarketwatch,TrainMAnB/vcoincore,gravio-net/graviocoin,mb300sd/bitcoin,xurantju/bitcoin,jtimon/bitcoin,UASF/bitcoin,droark/elements,zetacoin/zetacoin,GwangJin/gwangmoney-core,cotner/bitcoin,Vsync-project/Vsync,myriadteam/myriadcoin,NateBrune/bitcoin-fio,1185/starwels,REAP720801/bitcoin,genavarov/brcoin,Exceltior/dogecoin,tuaris/bitcoin,appop/bitcoin,FeatherCoin/Feathercoin,nathan-at-least/zcash,bitcoin/bitcoin,HeliumGas/helium,Cocosoft/bitcoin,appop/bitcoin,OstlerDev/florincoin,error10/bitcoin,NicolasDorier/bitcoin,bdelzell/creditcoin-org-creditcoin,greencoin-dev/digitalcoin,xurantju/bitcoin,untrustbank/litecoin,dgarage/bc2,ArgonToken/ArgonToken,presstab/PIVX,21E14/bitcoin,coinkeeper/2015-06-22_18-37_dogecoin,experiencecoin/experiencecoin,atgreen/bitcoin,cryptoprojects/ultimateonlinecash,dagurval/bitcoinxt,jonasschnelli/bitcoin,fedoracoin-dev/fedoracoin,rsdevgun16e/energi,MazaCoin/mazacoin-new,rawodb/bitcoin,rnicoll/dogecoin,supcoin/supcoin,schildbach/bitcoin,langerhans/dogecoin,denverl/bitcoin,terracoin/terracoin,kallewoof/elements,sbellem/bitcoin,gazbert/bitcoin,jlopp/statoshi,terracoin/terracoin,bitcoinsSG/bitcoin,afk11/bitcoin,jimmysong/bitcoin,GroestlCoin/bitcoin,shea256/bitcoin,BitcoinPOW/BitcoinPOW,dev1972/Satellitecoin,droark/elements,gameunits/gameunits,Jeff88Ho/bitcoin,dgenr8/bitcoinxt,alejandromgk/Lunar,scippio/bitcoin,zotherstupidguy/bitcoin,GroestlCoin/bitcoin,fanquake/bitcoin,ahmedbodi/vertcoin,safecoin/safecoin,gandrewstone/bitcoinxt,destenson/bitcoin--bitcoin,UdjinM6/dash,willwray/dash,DGCDev/digitalcoin,practicalswift/bitcoin,viacoin/viacoin,shomeser/bitcoin,DigitalPandacoin/pandacoin,omefire/bitcoin,capitalDIGI/DIGI-v-0-10-4,petertodd/bitcoin,nmarley/dash,lbryio/lbrycrd,coinwarp/dogecoin,sdaftuar/bitcoin,dpayne9000/Rubixz-Coin,wcwu/bitcoin,okinc/bitcoin,anditto/bitcoin,Rav3nPL/doubloons-0.10,Sjors/bitcoin,CTRoundTable/Encrypted.Cash,haobtc/bitcoin,kbccoin/kbc,Darknet-Crypto/Darknet,marlengit/BitcoinUnlimited,Anoncoin/anoncoin,dgarage/bc3,BitcoinPOW/BitcoinPOW,imharrywu/fastcoin,mrbandrews/bitcoin,brishtiteveja/truthcoin-cpp,error10/bitcoin,rawodb/bitcoin,ingresscoin/ingresscoin,petertodd/bitcoin,joroob/reddcoin,monacoinproject/monacoin,Rav3nPL/PLNcoin,ElementsProject/elements,crowning-/dash,inkvisit/sarmacoins,odemolliens/bitcoinxt,bmp02050/ReddcoinUpdates,FeatherCoin/Feathercoin,rustyrussell/bitcoin,core-bitcoin/bitcoin,ekankyesme/bitcoinxt,haobtc/bitcoin,domob1812/huntercore,ZiftrCOIN/ziftrcoin,koharjidan/bitcoin,gazbert/bitcoin,m0gliE/fastcoin-cli,jamesob/bitcoin,cculianu/bitcoin-abc,litecoin-project/litecore-litecoin,isle2983/bitcoin,ArgonToken/ArgonToken,fullcoins/fullcoin,sipsorcery/bitcoin,jimmykiselak/lbrycrd,Friedbaumer/litecoin,ShwoognationHQ/bitcoin,svost/bitcoin,Tetpay/bitcoin,btc1/bitcoin,lateminer/bitcoin,bitpay/bitcoin,jiangyonghang/bitcoin,ajtowns/bitcoin,meighti/bitcoin,Bushstar/UFO-Project,Metronotes/bitcoin,sebrandon1/bitcoin,matlongsi/micropay,Thracky/monkeycoin,domob1812/namecore,spiritlinxl/BTCGPU,deadalnix/bitcoin,Jcing95/iop-hd,thelazier/dash,Justaphf/BitcoinUnlimited,bickojima/bitzeny,UFOCoins/ufo,bitbrazilcoin-project/bitbrazilcoin,midnightmagic/bitcoin,nsacoin/nsacoin,ElementsProject/elements,rnicoll/bitcoin,stamhe/bitcoin,s-matthew-english/bitcoin,karek314/bitcoin,pstratem/bitcoin,coinkeeper/2015-06-22_18-52_viacoin,ediston/energi,Diapolo/bitcoin,Horrorcoin/horrorcoin,Har01d/bitcoin,itmanagerro/tresting,SoreGums/bitcoinxt,experiencecoin/experiencecoin,GroestlCoin/GroestlCoin,UFOCoins/ufo,psionin/smartcoin,pataquets/namecoin-core,florincoin/florincoin,zotherstupidguy/bitcoin,vertcoin/vertcoin,cyrixhero/bitcoin,XertroV/bitcoin-nulldata,Vector2000/bitcoin,bcpki/testblocks,world-bank/unpay-core,denverl/bitcoin,diggcoin/diggcoin,CoinProjects/AmsterdamCoin-v4,reddink/reddcoin,mrbandrews/bitcoin,misdess/bitcoin,Lucky7Studio/bitcoin,terracoin/terracoin,coinkeeper/2015-06-22_18-37_dogecoin,jonghyeopkim/bitcoinxt,ripper234/bitcoin,TierNolan/bitcoin,roques/bitcoin,ingresscoin/ingresscoin,JeremyRand/namecoin-core,millennial83/bitcoin,simdeveloper/bitcoin,kevcooper/bitcoin,jamesob/bitcoin,rnicoll/bitcoin,grumpydevelop/singularity,coinkeeper/2015-06-22_19-00_ziftrcoin,PandaPayProject/PandaPay,sickpig/BitcoinUnlimited,antonio-fr/bitcoin,donaloconnor/bitcoin,BTCfork/hardfork_prototype_1_mvf-core,spiritlinxl/BTCGPU,ekankyesme/bitcoinxt,antcheck/antcoin,appop/bitcoin,wederw/bitcoin,XertroV/bitcoin-nulldata,dpayne9000/Rubixz-Coin,XertroV/bitcoin-nulldata,faircoin/faircoin2,UFOCoins/ufo,Cocosoft/bitcoin,cdecker/bitcoin,coinkeeper/2015-06-22_19-07_digitalcoin,nailtaras/nailcoin,coinkeeper/2015-06-22_18-37_dogecoin,fanquake/bitcoin,denverl/bitcoin,HashUnlimited/Einsteinium-Unlimited,mastercoin-MSC/mastercore,keesdewit82/LasVegasCoin,Rav3nPL/PLNcoin,likecoin-dev/bitcoin,funkshelper/woodcore,habibmasuro/bitcoin,x-kalux/bitcoin_WiG-B,omefire/bitcoin,skaht/bitcoin,itmanagerro/tresting,bmp02050/ReddcoinUpdates,pastday/bitcoinproject,safecoin/safecoin,REAP720801/bitcoin,ripper234/bitcoin,JeremyRubin/bitcoin,hophacker/bitcoin_malleability,AkioNak/bitcoin,nomnombtc/bitcoin,nikkitan/bitcoin,bitcoin-hivemind/hivemind,coinerd/krugercoin,dgenr8/bitcoin,benosa/bitcoin,inkvisit/sarmacoins,dagurval/bitcoinxt,mm-s/bitcoin,marcusdiaz/BitcoinUnlimited,ludbb/bitcoin,capitalDIGI/litecoin,goldcoin/Goldcoin-GLD,bitjson/hivemind,marlengit/hardfork_prototype_1_mvf-bu,scmorse/bitcoin,bitcoinec/bitcoinec,ahmedbodi/temp_vert,wellenreiter01/Feathercoin,alecalve/bitcoin,Domer85/dogecoin,ahmedbodi/temp_vert,ryanofsky/bitcoin,credits-currency/credits,petertodd/bitcoin,tdudz/elements,biblepay/biblepay,DGCDev/digitalcoin,jarymoth/dogecoin,phelix/bitcoin,Darknet-Crypto/Darknet,coinkeeper/2015-06-22_18-31_bitcoin,PandaPayProject/PandaPay,maaku/bitcoin,GlobalBoost/GlobalBoost,butterflypay/bitcoin,Thracky/monkeycoin,elecoin/elecoin,npccoin/npccoin,TeamBitBean/bitcoin-core,ashleyholman/bitcoin,nvmd/bitcoin,KaSt/ekwicoin,tmagik/catcoin,GroundRod/anoncoin,cerebrus29301/crowncoin,elecoin/elecoin,CodeShark/bitcoin,BTCGPU/BTCGPU,Bushstar/UFO-Project,btcdrak/bitcoin,pstratem/elements,ixcoinofficialpage/master,starwels/starwels,antonio-fr/bitcoin,RongxinZhang/bitcoinxt,Chancoin-core/CHANCOIN,crowning-/dash,djpnewton/bitcoin,Kogser/bitcoin,mruddy/bitcoin,zander/bitcoinclassic,syscoin/syscoin,hsavit1/bitcoin,Rav3nPL/polcoin,kevcooper/bitcoin,RibbitFROG/ribbitcoin,riecoin/riecoin,ticclassic/ic,trippysalmon/bitcoin,Metronotes/bitcoin,janko33bd/bitcoin,Michagogo/bitcoin,zottejos/merelcoin,joroob/reddcoin,jrmithdobbs/bitcoin,pinkevich/dash,GlobalBoost/GlobalBoost,GIJensen/bitcoin,monacoinproject/monacoin,okinc/bitcoin,digibyte/digibyte,genavarov/lamacoin,21E14/bitcoin,Jcing95/iop-hd,21E14/bitcoin,steakknife/bitcoin-qt,capitalDIGI/DIGI-v-0-10-4,constantine001/bitcoin,fussl/elements,myriadteam/myriadcoin,AkioNak/bitcoin,aspirecoin/aspire,ashleyholman/bitcoin,dan-mi-sun/bitcoin,odemolliens/bitcoinxt,thrasher-/litecoin,droark/bitcoin,Cocosoft/bitcoin,BTCfork/hardfork_prototype_1_mvf-bu,genavarov/lamacoin,marcusdiaz/BitcoinUnlimited,goldcoin/goldcoin,gzuser01/zetacoin-bitcoin,ClusterCoin/ClusterCoin,destenson/bitcoin--bitcoin,ppcoin/ppcoin,ftrader-bitcoinabc/bitcoin-abc,BitcoinUnlimited/BitcoinUnlimited,ryanxcharles/bitcoin,StarbuckBG/BTCGPU,anditto/bitcoin,czr5014iph/bitcoin4e,reorder/viacoin,jambolo/bitcoin,core-bitcoin/bitcoin,jamesob/bitcoin,Krellan/bitcoin,MazaCoin/maza,NateBrune/bitcoin-fio,nvmd/bitcoin,UdjinM6/dash,REAP720801/bitcoin,TrainMAnB/vcoincore,alecalve/bitcoin,dev1972/Satellitecoin,segwit/atbcoin-insight,rdqw/sscoin,simonmulser/bitcoin,shaolinfry/litecoin,tecnovert/particl-core,rebroad/bitcoin,dperel/bitcoin,tuaris/bitcoin,markf78/dollarcoin,accraze/bitcoin,SoreGums/bitcoinxt,kevcooper/bitcoin,shelvenzhou/BTCGPU,segwit/atbcoin-insight,aburan28/elements,ahmedbodi/test2,rawodb/bitcoin,Kixunil/keynescoin,thormuller/yescoin2,sbaks0820/bitcoin,instagibbs/bitcoin,litecoin-project/bitcoinomg,n1bor/bitcoin,jmcorgan/bitcoin,upgradeadvice/MUE-Src,kazcw/bitcoin,pinkevich/dash,oleganza/bitcoin-duo,zcoinofficial/zcoin,shaolinfry/litecoin,dagurval/bitcoinxt,achow101/bitcoin,ashleyholman/bitcoin,ahmedbodi/temp_vert,inutoshi/inutoshi,jl2012/litecoin,aniemerg/zcash,vlajos/bitcoin,SoreGums/bitcoinxt,faircoin/faircoin,bittylicious/bitcoin,bitreserve/bitcoin,my-first/octocoin,acid1789/bitcoin,FarhanHaque/bitcoin,Bushstar/UFO-Project,sugruedes/bitcoinxt,imton/bitcoin,reddink/reddcoin,NateBrune/bitcoin-nate,rjshaver/bitcoin,BlockchainTechLLC/3dcoin,truthcoin/blocksize-market,dperel/bitcoin,experiencecoin/experiencecoin,jameshilliard/bitcoin,upgradeadvice/MUE-Src,litecoin-project/litecore-litecoin,JeremyRand/bitcoin,willwray/dash,TripleSpeeder/bitcoin,ajtowns/bitcoin,bitcoinsSG/bitcoin,CoinProjects/AmsterdamCoin-v4,guncoin/guncoin,jaromil/faircoin2,TheBlueMatt/bitcoin,XertroV/bitcoin-nulldata,Tetpay/bitcoin,ivansib/sib16,jaromil/faircoin2,FarhanHaque/bitcoin,JeremyRand/namecore,goldcoin/Goldcoin-GLD,dgenr8/bitcoinxt,nomnombtc/bitcoin,btc1/bitcoin,kaostao/bitcoin,DynamicCoinOrg/DMC,rromanchuk/bitcoinxt,xurantju/bitcoin,misdess/bitcoin,DGCDev/argentum,namecoin/namecore,lbrtcoin/albertcoin,AdrianaDinca/bitcoin,bitcoin/bitcoin,koharjidan/litecoin,habibmasuro/bitcoinxt,Cloudsy/bitcoin,jtimon/elements,patricklodder/dogecoin,mockcoin/mockcoin,starwels/starwels,ivansib/sibcoin,chaincoin/chaincoin,amaivsimau/bitcoin,tdudz/elements,PIVX-Project/PIVX,brishtiteveja/truthcoin-cpp,janko33bd/bitcoin,dgenr8/bitcoin,DynamicCoinOrg/DMC,scmorse/bitcoin,pstratem/elements,appop/bitcoin,balajinandhu/bitcoin,error10/bitcoin,BTCfork/hardfork_prototype_1_mvf-core,accraze/bitcoin,thesoftwarejedi/bitcoin,mm-s/bitcoin,ivansib/sib16,joshrabinowitz/bitcoin,vmp32k/litecoin,multicoins/marycoin,acid1789/bitcoin,Mirobit/bitcoin,lakepay/lake,globaltoken/globaltoken,TeamBitBean/bitcoin-core,ekankyesme/bitcoinxt,zcoinofficial/zcoin,welshjf/bitcoin,scippio/bitcoin,mb300sd/bitcoin,slingcoin/sling-market,ingresscoin/ingresscoin,haraldh/bitcoin,vlajos/bitcoin,jmgilbert2/energi,guncoin/guncoin,andres-root/bitcoinxt,CryptArc/bitcoinxt,Kogser/bitcoin,apoelstra/elements,apoelstra/bitcoin,schinzelh/dash,schinzelh/dash,shea256/bitcoin,ftrader-bitcoinunlimited/hardfork_prototype_1_mvf-bu,syscoin/syscoin,wellenreiter01/Feathercoin,aspirecoin/aspire,blocktrail/bitcoin,jn2840/bitcoin,aniemerg/zcash,rromanchuk/bitcoinxt,Kcoin-project/kcoin,grumpydevelop/singularity,Kogser/bitcoin,keesdewit82/LasVegasCoin,janko33bd/bitcoin,awemany/BitcoinUnlimited,cryptoprojects/ultimateonlinecash,cotner/bitcoin,mruddy/bitcoin,schinzelh/dash,ElementsProject/elements,tecnovert/particl-core,riecoin/riecoin,Bushstar/UFO-Project,guncoin/guncoin,CTRoundTable/Encrypted.Cash,romanornr/viacoin,jimmysong/bitcoin,dexX7/bitcoin,Domer85/dogecoin,ticclassic/ic,misdess/bitcoin,111t8e/bitcoin,Bitcoin-ABC/bitcoin-abc,sipa/elements,jmgilbert2/energi,dscotese/bitcoin,kleetus/bitcoin,adpg211/bitcoin-master,riecoin/riecoin,biblepay/biblepay,Rav3nPL/polcoin,sugruedes/bitcoinxt,welshjf/bitcoin,bcpki/testblocks,viacoin/viacoin,kallewoof/bitcoin,leofidus/glowing-octo-ironman,GroestlCoin/GroestlCoin,mrbandrews/bitcoin,presstab/PIVX,terracoin/terracoin,nathan-at-least/zcash,RHavar/bitcoin,rdqw/sscoin,bitcoinclassic/bitcoinclassic,ShwoognationHQ/bitcoin,Metronotes/bitcoin,xuyangcn/opalcoin,bitpay/bitcoin,fullcoins/fullcoin,aburan28/elements,PRabahy/bitcoin,credits-currency/credits,monacoinproject/monacoin,n1bor/bitcoin,faircoin/faircoin2,dgarage/bc3,TierNolan/bitcoin,ptschip/bitcoin,dogecoin/dogecoin,jonghyeopkim/bitcoinxt,PandaPayProject/PandaPay,kleetus/bitcoin,schildbach/bitcoin,koharjidan/bitcoin,Kenwhite23/litecoin,mikehearn/bitcoinxt,vericoin/vericoin-core,bitcoinxt/bitcoinxt,ajweiss/bitcoin,kallewoof/bitcoin,Mirobit/bitcoin,fsb4000/bitcoin,crowning2/dash,coinkeeper/2015-06-22_18-37_dogecoin,genavarov/brcoin,elliotolds/bitcoin,ashleyholman/bitcoin,Kogser/bitcoin,worldbit/worldbit,royosherove/bitcoinxt,untrustbank/litecoin,EthanHeilman/bitcoin,ericshawlinux/bitcoin,TrainMAnB/vcoincore,markf78/dollarcoin,stamhe/bitcoin,error10/bitcoin,leofidus/glowing-octo-ironman,svost/bitcoin,Cloudsy/bitcoin,21E14/bitcoin,practicalswift/bitcoin,kirkalx/bitcoin,bitcoinsSG/bitcoin,martindale/elements,antonio-fr/bitcoin,schinzelh/dash,zcoinofficial/zcoin,particl/particl-core,rjshaver/bitcoin,npccoin/npccoin,martindale/elements,scmorse/bitcoin,irvingruan/bitcoin,genavarov/lamacoin,anditto/bitcoin,andreaskern/bitcoin,DGCDev/argentum,Electronic-Gulden-Foundation/egulden,111t8e/bitcoin,Ziftr/bitcoin,Friedbaumer/litecoin,coinkeeper/2015-06-22_18-39_feathercoin,bcpki/nonce2testblocks,RHavar/bitcoin,faircoin/faircoin2,marcusdiaz/BitcoinUnlimited,biblepay/biblepay,KnCMiner/bitcoin,jlopp/statoshi,dogecoin/dogecoin,botland/bitcoin,sarielsaz/sarielsaz,Kixunil/keynescoin,millennial83/bitcoin,BitcoinUnlimited/BitcoinUnlimited,MonetaryUnit/MUE-Src,steakknife/bitcoin-qt,JeremyRand/bitcoin,safecoin/safecoin,BitcoinPOW/BitcoinPOW,fujicoin/fujicoin,ryanxcharles/bitcoin,PandaPayProject/PandaPay,BitzenyCoreDevelopers/bitzeny,alecalve/bitcoin,presstab/PIVX,ivansib/sib16,ivansib/sibcoin,bitpay/bitcoin,nathan-at-least/zcash,myriadteam/myriadcoin,aciddude/Feathercoin,reorder/viacoin,jnewbery/bitcoin,tedlz123/Bitcoin,jiangyonghang/bitcoin,meighti/bitcoin,gapcoin/gapcoin,dcousens/bitcoin,mastercoin-MSC/mastercore,AkioNak/bitcoin,nmarley/dash,rawodb/bitcoin,lbrtcoin/albertcoin,Xekyo/bitcoin,nightlydash/darkcoin,UdjinM6/dash,xawksow/GroestlCoin,namecoin/namecore,ludbb/bitcoin,DogTagRecon/Still-Leraning,ppcoin/ppcoin,fsb4000/bitcoin,fsb4000/bitcoin,cmgustavo/bitcoin,PRabahy/bitcoin,Michagogo/bitcoin,ShadowMyst/creativechain-core,Horrorcoin/horrorcoin,Kogser/bitcoin,deuscoin/deuscoin,midnight-miner/LasVegasCoin,atgreen/bitcoin,JeremyRand/bitcoin,jonghyeopkim/bitcoinxt,Mrs-X/PIVX,wederw/bitcoin,lbrtcoin/albertcoin,RazorLove/cloaked-octo-spice,coinkeeper/2015-06-22_19-07_digitalcoin,chaincoin/chaincoin,ptschip/bitcoin,ShadowMyst/creativechain-core,Har01d/bitcoin,UASF/bitcoin,josephbisch/namecoin-core,Kogser/bitcoin,zottejos/merelcoin,scippio/bitcoin,antonio-fr/bitcoin,cryptoprojects/ultimateonlinecash,lbryio/lbrycrd,coinkeeper/2015-06-22_19-07_digitalcoin,jaromil/faircoin2,UdjinM6/dash,bcpki/nonce2testblocks,octocoin-project/octocoin,rnicoll/dogecoin,cmgustavo/bitcoin,lateminer/bitcoin,zixan/bitcoin,sipa/bitcoin,ArgonToken/ArgonToken,Sjors/bitcoin,litecoin-project/litecoin,kfitzgerald/titcoin,Rav3nPL/doubloons-0.10,riecoin/riecoin,HashUnlimited/Einsteinium-Unlimited,cculianu/bitcoin-abc,digideskio/namecoin,dperel/bitcoin,marlengit/hardfork_prototype_1_mvf-bu,blood2/bloodcoin-0.9,benma/bitcoin,r8921039/bitcoin,Xekyo/bitcoin,willwray/dash,CTRoundTable/Encrypted.Cash,dannyperez/bolivarcoin,goku1997/bitcoin,crowning2/dash,isle2983/bitcoin,40thoughts/Coin-QualCoin,EntropyFactory/creativechain-core,RongxinZhang/bitcoinxt,initaldk/bitcoin,bankonmecoin/bitcoin,CryptArc/bitcoinxt,myriadteam/myriadcoin,ardsu/bitcoin,benosa/bitcoin,phelix/namecore,DMDcoin/Diamond,wcwu/bitcoin,BlockchainTechLLC/3dcoin,jlopp/statoshi,wellenreiter01/Feathercoin,RazorLove/cloaked-octo-spice,Friedbaumer/litecoin,dmrtsvetkov/flowercoin,benma/bitcoin,wtogami/bitcoin,isle2983/bitcoin,MasterX1582/bitcoin-becoin,genavarov/lamacoin,MonetaryUnit/MUE-Src,FinalHashLLC/namecore,blocktrail/bitcoin,ticclassic/ic,PIVX-Project/PIVX,pinheadmz/bitcoin,PIVX-Project/PIVX,lakepay/lake,coinkeeper/2015-06-22_18-52_viacoin,bitcoinclassic/bitcoinclassic,Xekyo/bitcoin,Anoncoin/anoncoin,Bitcoin-ABC/bitcoin-abc,irvingruan/bitcoin,scippio/bitcoin,habibmasuro/bitcoinxt,genavarov/brcoin,acid1789/bitcoin,matlongsi/micropay,fanquake/bitcoin,plncoin/PLNcoin_Core,capitalDIGI/litecoin,iosdevzone/bitcoin,capitalDIGI/litecoin,gjhiggins/vcoincore,aburan28/elements,TierNolan/bitcoin,jonasnick/bitcoin,schinzelh/dash,fanquake/bitcoin,Jeff88Ho/bitcoin,Theshadow4all/ShadowCoin,neuroidss/bitcoin,dcousens/bitcoin,prark/bitcoinxt,simdeveloper/bitcoin,masterbraz/dg,chaincoin/chaincoin,BTCDDev/bitcoin,funbucks/notbitcoinxt,SartoNess/BitcoinUnlimited,Friedbaumer/litecoin,haobtc/bitcoin,Lucky7Studio/bitcoin,Bitcoin-com/BUcash,BitzenyCoreDevelopers/bitzeny,syscoin/syscoin,bitcoinknots/bitcoin,GroestlCoin/bitcoin,deadalnix/bitcoin,jakeva/bitcoin-pwcheck,goldcoin/goldcoin,jonghyeopkim/bitcoinxt,xuyangcn/opalcoin,rustyrussell/bitcoin,funkshelper/woodcore,JeremyRand/namecore,oklink-dev/bitcoin,tjps/bitcoin,dgenr8/bitcoinxt,wangliu/bitcoin,dperel/bitcoin,ivansib/sib16,jambolo/bitcoin,lclc/bitcoin,Alonzo-Coeus/bitcoin,vertcoin/vertcoin,btc1/bitcoin,bcpki/nonce2,Bloom-Project/Bloom,jtimon/elements,Vsync-project/Vsync,paveljanik/bitcoin,oleganza/bitcoin-duo,Diapolo/bitcoin,robvanbentem/bitcoin,bitcoinknots/bitcoin,stevemyers/bitcoinxt,afk11/bitcoin,phplaboratory/psiacoin,experiencecoin/experiencecoin,jn2840/bitcoin,morcos/bitcoin,blocktrail/bitcoin,MazaCoin/mazacoin-new,destenson/bitcoin--bitcoin,shomeser/bitcoin,kbccoin/kbc,bcpki/nonce2,supcoin/supcoin,KibiCoin/kibicoin,dpayne9000/Rubixz-Coin,coinwarp/dogecoin,nathan-at-least/zcash,gwillen/elements,syscoin/syscoin,cryptodev35/icash,EthanHeilman/bitcoin,jrmithdobbs/bitcoin,tmagik/catcoin,arruah/ensocoin,hsavit1/bitcoin,namecoin/namecoin-core,starwels/starwels,stamhe/bitcoin,putinclassic/putic,fujicoin/fujicoin,capitalDIGI/DIGI-v-0-10-4,prark/bitcoinxt,psionin/smartcoin,Thracky/monkeycoin,ionomy/ion,gjhiggins/vcoincore,cheehieu/bitcoin,bitjson/hivemind,greencoin-dev/digitalcoin,cannabiscoindev/cannabiscoin420,RHavar/bitcoin,ShwoognationHQ/bitcoin,Christewart/bitcoin,jeromewu/bitcoin-opennet,inkvisit/sarmacoins,peercoin/peercoin,misdess/bitcoin,h4x3rotab/BTCGPU,sipsorcery/bitcoin,monacoinproject/monacoin,aniemerg/zcash,wangliu/bitcoin,oklink-dev/bitcoin,schildbach/bitcoin,steakknife/bitcoin-qt,bitcoin/bitcoin,h4x3rotab/BTCGPU,Bitcoinsulting/bitcoinxt,Friedbaumer/litecoin,wtogami/bitcoin,1185/starwels,GroundRod/anoncoin,credits-currency/credits,ediston/energi,marcusdiaz/BitcoinUnlimited,Justaphf/BitcoinUnlimited,shaolinfry/litecoin,aspirecoin/aspire,nbenoit/bitcoin,myriadteam/myriadcoin,shomeser/bitcoin,ajweiss/bitcoin,uphold/bitcoin,droark/elements,ahmedbodi/terracoin,mobicoins/mobicoin-core,particl/particl-core,goldcoin/Goldcoin-GLD,ardsu/bitcoin,bitcoinxt/bitcoinxt,gwillen/elements,haisee/dogecoin,segsignal/bitcoin,zander/bitcoinclassic,BTCTaras/bitcoin,ahmedbodi/temp_vert,mapineda/litecoin,capitalDIGI/litecoin,dogecoin/dogecoin,dogecoin/dogecoin,bitcoin/bitcoin,xuyangcn/opalcoin,Jcing95/iop-hd,argentumproject/argentum,sdaftuar/bitcoin,iosdevzone/bitcoin,s-matthew-english/bitcoin,untrustbank/litecoin,dmrtsvetkov/flowercoin,marlengit/hardfork_prototype_1_mvf-bu,destenson/bitcoin--bitcoin,zetacoin/zetacoin,kleetus/bitcoinxt,freelion93/mtucicoin,nailtaras/nailcoin,bitcoinsSG/bitcoin,bitbrazilcoin-project/bitbrazilcoin,bitcoinclassic/bitcoinclassic,funkshelper/woodcoin-b,48thct2jtnf/P,aniemerg/zcash,krzysztofwos/BitcoinUnlimited,s-matthew-english/bitcoin,Anfauglith/iop-hd,midnight-miner/LasVegasCoin,globaltoken/globaltoken,earonesty/bitcoin,lbrtcoin/albertcoin,TGDiamond/Diamond,n1bor/bitcoin,ClusterCoin/ClusterCoin,Electronic-Gulden-Foundation/egulden,pstratem/elements,pstratem/bitcoin,instagibbs/bitcoin,wederw/bitcoin,s-matthew-english/bitcoin,dcousens/bitcoin,drwasho/bitcoinxt,bespike/litecoin,fedoracoin-dev/fedoracoin,wellenreiter01/Feathercoin,Gazer022/bitcoin,truthcoin/blocksize-market,syscoin/syscoin2,Petr-Economissa/gvidon,simonmulser/bitcoin,pastday/bitcoinproject,joroob/reddcoin,tropa/axecoin,metacoin/florincoin,haobtc/bitcoin,aciddude/Feathercoin,iosdevzone/bitcoin,freelion93/mtucicoin,sipa/elements,Rav3nPL/polcoin,metacoin/florincoin,sipa/elements,welshjf/bitcoin,ftrader-bitcoinabc/bitcoin-abc,ColossusCoinXT/ColossusCoinXT,BTCfork/hardfork_prototype_1_mvf-core,loxal/zcash,Jeff88Ho/bitcoin,TrainMAnB/vcoincore,prark/bitcoinxt,neuroidss/bitcoin,senadmd/coinmarketwatch,elliotolds/bitcoin,ixcoinofficialpage/master,pinkevich/dash,Justaphf/BitcoinUnlimited,phelix/bitcoin,Metronotes/bitcoin,sugruedes/bitcoin,skaht/bitcoin,torresalyssa/bitcoin,cmgustavo/bitcoin,NicolasDorier/bitcoin,Flurbos/Flurbo,jtimon/elements,Jcing95/iop-hd,vcoin-project/vcoincore,funkshelper/woodcore,mapineda/litecoin,Alex-van-der-Peet/bitcoin,slingcoin/sling-market,11755033isaprimenumber/Feathercoin,donaloconnor/bitcoin,PRabahy/bitcoin,worldbit/worldbit,jnewbery/bitcoin,theuni/bitcoin,koharjidan/dogecoin,jambolo/bitcoin,dogecoin/dogecoin,apoelstra/elements,benzmuircroft/REWIRE.io,ingresscoin/ingresscoin,sebrandon1/bitcoin,wtogami/bitcoin,theuni/bitcoin,dagurval/bitcoinxt,btcdrak/bitcoin,krzysztofwos/BitcoinUnlimited,ahmedbodi/terracoin,fsb4000/bitcoin,Kangmo/bitcoin,Kenwhite23/litecoin,midnight-miner/LasVegasCoin,dexX7/mastercore,mapineda/litecoin,bitcoinknots/bitcoin,MeshCollider/bitcoin,Bitcoin-com/BUcash,coinkeeper/2015-06-22_19-00_ziftrcoin,maaku/bitcoin,21E14/bitcoin,litecoin-project/litecore-litecoin,globaltoken/globaltoken,puticcoin/putic,error10/bitcoin,Anfauglith/iop-hd,bitjson/hivemind,cryptoprojects/ultimateonlinecash,kaostao/bitcoin,chaincoin/chaincoin,goldcoin/goldcoin,ColossusCoinXT/ColossusCoinXT,GreenParhelia/bitcoin,presstab/PIVX,kazcw/bitcoin,bitcoinec/bitcoinec,jnewbery/bitcoin,alejandromgk/Lunar,cdecker/bitcoin,Flowdalic/bitcoin,StarbuckBG/BTCGPU,zenywallet/bitzeny,phplaboratory/psiacoin,roques/bitcoin,arruah/ensocoin,xurantju/bitcoin,stamhe/bitcoin,rawodb/bitcoin,blood2/bloodcoin-0.9,botland/bitcoin,FarhanHaque/bitcoin,coinkeeper/2015-06-22_18-36_darkcoin,Mrs-X/PIVX,uphold/bitcoin,bitcoin/bitcoin,ediston/energi,ahmedbodi/terracoin,sugruedes/bitcoin,se3000/bitcoin,BigBlueCeiling/augmentacoin,dexX7/bitcoin,tecnovert/particl-core,nathaniel-mahieu/bitcoin,dagurval/bitcoinxt,amaivsimau/bitcoin,domob1812/bitcoin,error10/bitcoin,daveperkins-github/bitcoin-dev,nmarley/dash,m0gliE/fastcoin-cli,TBoehm/greedynode,randy-waterhouse/bitcoin,gameunits/gameunits,achow101/bitcoin,aspirecoin/aspire,Alex-van-der-Peet/bitcoin,cryptodev35/icash,jtimon/elements,millennial83/bitcoin,lbrtcoin/albertcoin,48thct2jtnf/P,petertodd/bitcoin,MeshCollider/bitcoin,UFOCoins/ufo,n1bor/bitcoin,namecoin/namecore,JeremyRand/bitcoin,xuyangcn/opalcoin,11755033isaprimenumber/Feathercoin,domob1812/bitcoin,se3000/bitcoin,Gazer022/bitcoin,Darknet-Crypto/Darknet,BTCfork/hardfork_prototype_1_mvf-core,puticcoin/putic,jaromil/faircoin2,pascalguru/florincoin,ivansib/sibcoin,particl/particl-core,cculianu/bitcoin-abc,ArgonToken/ArgonToken,ticclassic/ic,hasanatkazmi/bitcoin,Kogser/bitcoin,npccoin/npccoin,btc1/bitcoin,gzuser01/zetacoin-bitcoin,peercoin/peercoin,vmp32k/litecoin,rustyrussell/bitcoin,Earlz/renamedcoin,TeamBitBean/bitcoin-core,viacoin/viacoin,shaulkf/bitcoin,digibyte/digibyte,nathaniel-mahieu/bitcoin,josephbisch/namecoin-core,Mrs-X/Darknet,morcos/bitcoin,ekankyesme/bitcoinxt,nmarley/dash,Earlz/renamedcoin,litecoin-project/litecore-litecoin,Mrs-X/Darknet,elecoin/elecoin,xieta/mincoin,Christewart/bitcoin,litecoin-project/litecoin,bitbrazilcoin-project/bitbrazilcoin,cheehieu/bitcoin,viacoin/viacoin,jlopp/statoshi,presstab/PIVX,coinwarp/dogecoin,alejandromgk/Lunar,habibmasuro/bitcoin,supcoin/supcoin,Bitcoinsulting/bitcoinxt,Darknet-Crypto/Darknet,rsdevgun16e/energi,pascalguru/florincoin,Bitcoin-ABC/bitcoin-abc,jakeva/bitcoin-pwcheck,marlengit/hardfork_prototype_1_mvf-bu,fullcoins/fullcoin,putinclassic/putic,arnuschky/bitcoin,rat4/bitcoin,unsystemizer/bitcoin,cannabiscoindev/cannabiscoin420,BTCDDev/bitcoin,loxal/zcash,dcousens/bitcoin,ahmedbodi/vertcoin,ahmedbodi/vertcoin,Ziftr/bitcoin,capitalDIGI/litecoin,zotherstupidguy/bitcoin,BitzenyCoreDevelopers/bitzeny,tdudz/elements,BitcoinHardfork/bitcoin,ptschip/bitcoinxt,omefire/bitcoin,HeliumGas/helium,1185/starwels,tjps/bitcoin,shaolinfry/litecoin,brandonrobertz/namecoin-core,BigBlueCeiling/augmentacoin,gandrewstone/bitcoinxt,nigeriacoin/nigeriacoin,jrick/bitcoin,mobicoins/mobicoin-core,ftrader-bitcoinabc/bitcoin-abc,phelix/bitcoin,metacoin/florincoin,likecoin-dev/bitcoin,arnuschky/bitcoin,ptschip/bitcoin,m0gliE/fastcoin-cli,acid1789/bitcoin,donaloconnor/bitcoin,Rav3nPL/bitcoin,ftrader-bitcoinunlimited/hardfork_prototype_1_mvf-bu,alejandromgk/Lunar,KibiCoin/kibicoin,ftrader-bitcoinunlimited/hardfork_prototype_1_mvf-bu,Kore-Core/kore,benosa/bitcoin,biblepay/biblepay,Chancoin-core/CHANCOIN,jn2840/bitcoin,CryptArc/bitcoin,litecoin-project/litecoin,ticclassic/ic,droark/elements,haraldh/bitcoin,midnight-miner/LasVegasCoin,domob1812/namecore,SoreGums/bitcoinxt,cryptodev35/icash,svost/bitcoin,octocoin-project/octocoin,PIVX-Project/PIVX,cdecker/bitcoin,marlengit/BitcoinUnlimited,vcoin-project/vcoincore,vcoin-project/vcoincore,uphold/bitcoin,biblepay/biblepay,ColossusCoinXT/ColossusCoinXT,pelorusjack/BlockDX,Mrs-X/Darknet,romanornr/viacoin,ripper234/bitcoin,zenywallet/bitzeny,EntropyFactory/creativechain-core,isle2983/bitcoin,braydonf/bitcoin,coinkeeper/2015-06-22_18-37_dogecoin,phelix/bitcoin,dashpay/dash,biblepay/biblepay,kazcw/bitcoin,ionomy/ion,cannabiscoindev/cannabiscoin420,cculianu/bitcoin-abc,prark/bitcoinxt,funbucks/notbitcoinxt,Bloom-Project/Bloom,collapsedev/cashwatt,isghe/bitcoinxt,mockcoin/mockcoin,bittylicious/bitcoin,jameshilliard/bitcoin,Xekyo/bitcoin,kfitzgerald/titcoin,elliotolds/bitcoin,dscotese/bitcoin,my-first/octocoin,GIJensen/bitcoin,rawodb/bitcoin,Horrorcoin/horrorcoin,MonetaryUnit/MUE-Src,kaostao/bitcoin,ctwiz/stardust,Rav3nPL/polcoin,zixan/bitcoin,bitcoinplusorg/xbcwalletsource,48thct2jtnf/P,koharjidan/dogecoin,zotherstupidguy/bitcoin,goldcoin/goldcoin,FeatherCoin/Feathercoin,botland/bitcoin,roques/bitcoin,BitcoinPOW/BitcoinPOW,andres-root/bitcoinxt,instagibbs/bitcoin,Bitcoin-com/BUcash,coinkeeper/2015-06-22_19-00_ziftrcoin,svost/bitcoin,bitcoin-hivemind/hivemind,DogTagRecon/Still-Leraning,zsulocal/bitcoin,CryptArc/bitcoin,Exgibichi/statusquo,bespike/litecoin,multicoins/marycoin,Krellan/bitcoin,upgradeadvice/MUE-Src,multicoins/marycoin,langerhans/dogecoin,aciddude/Feathercoin,btcdrak/bitcoin,ctwiz/stardust,sebrandon1/bitcoin,gazbert/bitcoin,BTCDDev/bitcoin,marlengit/BitcoinUnlimited,reddcoin-project/reddcoin,dev1972/Satellitecoin,sugruedes/bitcoin,SartoNess/BitcoinUnlimited,daveperkins-github/bitcoin-dev,oklink-dev/bitcoin,bittylicious/bitcoin,Lucky7Studio/bitcoin,Christewart/bitcoin,nbenoit/bitcoin,aspirecoin/aspire,elliotolds/bitcoin,KaSt/ekwicoin,DMDcoin/Diamond,Tetpay/bitcoin,mikehearn/bitcoinxt,coinerd/krugercoin,gameunits/gameunits,octocoin-project/octocoin,DigiByte-Team/digibyte,keo/bitcoin,anditto/bitcoin,MarcoFalke/bitcoin,reorder/viacoin,JeremyRand/namecoin-core,apoelstra/bitcoin,FinalHashLLC/namecore,bitcoin-hivemind/hivemind,achow101/bitcoin,oklink-dev/bitcoin,pstratem/elements,koharjidan/litecoin,Exceltior/dogecoin,brishtiteveja/sherlockcoin,zander/bitcoinclassic,martindale/elements,apoelstra/elements,bitcoinec/bitcoinec,thormuller/yescoin2,jrick/bitcoin,simonmulser/bitcoin,tropa/axecoin,x-kalux/bitcoin_WiG-B,MeshCollider/bitcoin,qtumproject/qtum,MazaCoin/maza,drwasho/bitcoinxt,blood2/bloodcoin-0.9,deeponion/deeponion,gjhiggins/vcoincore,andres-root/bitcoinxt,kirkalx/bitcoin,jn2840/bitcoin,jrmithdobbs/bitcoin,iosdevzone/bitcoin,Horrorcoin/horrorcoin,tjps/bitcoin,FeatherCoin/Feathercoin,bitcoinsSG/bitcoin,jamesob/bitcoin,crowning2/dash,48thct2jtnf/P,cotner/bitcoin,josephbisch/namecoin-core,EntropyFactory/creativechain-core,hasanatkazmi/bitcoin,jeromewu/bitcoin-opennet,EntropyFactory/creativechain-core,rsdevgun16e/energi,BTCGPU/BTCGPU,acid1789/bitcoin,bitjson/hivemind,monacoinproject/monacoin,ryanxcharles/bitcoin,dannyperez/bolivarcoin,misdess/bitcoin,rat4/bitcoin,hyperwang/bitcoin,simdeveloper/bitcoin,simonmulser/bitcoin,joshrabinowitz/bitcoin,royosherove/bitcoinxt,coinkeeper/2015-06-22_18-31_bitcoin,CTRoundTable/Encrypted.Cash,cddjr/BitcoinUnlimited,brishtiteveja/truthcoin-cpp,pinkevich/dash,AdrianaDinca/bitcoin,NateBrune/bitcoin-nate,Jeff88Ho/bitcoin,elecoin/elecoin,roques/bitcoin,Diapolo/bitcoin,jrmithdobbs/bitcoin,vericoin/vericoin-core,mitchellcash/bitcoin,spiritlinxl/BTCGPU,benma/bitcoin,funkshelper/woodcore,BitzenyCoreDevelopers/bitzeny,se3000/bitcoin,isghe/bitcoinxt,nmarley/dash,MazaCoin/maza,RibbitFROG/ribbitcoin,ctwiz/stardust,collapsedev/cashwatt,bitcoin-hivemind/hivemind,h4x3rotab/BTCGPU,PIVX-Project/PIVX,rat4/bitcoin,emc2foundation/einsteinium,reddink/reddcoin,adpg211/bitcoin-master,unsystemizer/bitcoin,ahmedbodi/temp_vert,skaht/bitcoin,jambolo/bitcoin,shouhuas/bitcoin,BTCDDev/bitcoin,greenaddress/bitcoin,stamhe/bitcoin,Krellan/bitcoin,gjhiggins/vcoincore,arruah/ensocoin,zixan/bitcoin,kleetus/bitcoinxt,zander/bitcoinclassic,wederw/bitcoin,jrick/bitcoin,vlajos/bitcoin,qtumproject/qtum,Vector2000/bitcoin,pelorusjack/BlockDX,trippysalmon/bitcoin,nikkitan/bitcoin,pastday/bitcoinproject,senadmd/coinmarketwatch,BTCfork/hardfork_prototype_1_mvf-bu,DGCDev/digitalcoin,mitchellcash/bitcoin,sarielsaz/sarielsaz,uphold/bitcoin,jiangyonghang/bitcoin,dcousens/bitcoin,kleetus/bitcoin,cyrixhero/bitcoin,dannyperez/bolivarcoin,jameshilliard/bitcoin,sirk390/bitcoin,ravenbyron/phtevencoin,lbryio/lbrycrd,Vsync-project/Vsync,KaSt/ekwicoin,40thoughts/Coin-QualCoin,coinkeeper/2015-06-22_18-36_darkcoin,florincoin/florincoin,GroestlCoin/bitcoin,nigeriacoin/nigeriacoin,sickpig/BitcoinUnlimited,martindale/elements,ElementsProject/elements,kleetus/bitcoin,dgenr8/bitcoin,reddcoin-project/reddcoin,plncoin/PLNcoin_Core,jimmykiselak/lbrycrd,habibmasuro/bitcoin,vericoin/vericoin-core,scmorse/bitcoin,markf78/dollarcoin,jameshilliard/bitcoin,domob1812/bitcoin,AllanDoensen/BitcoinUnlimited,pelorusjack/BlockDX,sbaks0820/bitcoin,neuroidss/bitcoin,unsystemizer/bitcoin,hophacker/bitcoin_malleability,174high/bitcoin,simdeveloper/bitcoin,Flurbos/Flurbo,tedlz123/Bitcoin,ShwoognationHQ/bitcoin,Kogser/bitcoin,antcheck/antcoin,wangxinxi/litecoin,isocolsky/bitcoinxt,Rav3nPL/PLNcoin,alecalve/bitcoin,adpg211/bitcoin-master,koharjidan/bitcoin,benzmuircroft/REWIRE.io,tdudz/elements,KnCMiner/bitcoin,dgarage/bc2,bitcoinsSG/zcash,shea256/bitcoin,habibmasuro/bitcoinxt,zotherstupidguy/bitcoin,knolza/gamblr,sipa/elements,octocoin-project/octocoin,TheBlueMatt/bitcoin,thesoftwarejedi/bitcoin,irvingruan/bitcoin,itmanagerro/tresting,gandrewstone/BitcoinUnlimited,royosherove/bitcoinxt,genavarov/ladacoin,zottejos/merelcoin,josephbisch/namecoin-core,brishtiteveja/sherlockcoin,bitcoinclassic/bitcoinclassic,trippysalmon/bitcoin,genavarov/brcoin,fsb4000/bitcoin,vtafaucet/virtacoin,ZiftrCOIN/ziftrcoin,coinkeeper/2015-06-22_18-39_feathercoin,wiggi/huntercore,daliwangi/bitcoin,Kixunil/keynescoin,alejandromgk/Lunar,dexX7/mastercore,gjhiggins/vcoincore,emc2foundation/einsteinium,steakknife/bitcoin-qt,amaivsimau/bitcoin,sipa/bitcoin,brandonrobertz/namecoin-core,terracoin/terracoin,RazorLove/cloaked-octo-spice,bitcoinxt/bitcoinxt,Petr-Economissa/gvidon,coinkeeper/2015-06-22_18-39_feathercoin,UASF/bitcoin,reddcoin-project/reddcoin,MikeAmy/bitcoin,Kangmo/bitcoin,djpnewton/bitcoin,Xekyo/bitcoin,mikehearn/bitcoinxt,dscotese/bitcoin,magacoin/magacoin,Kangmo/bitcoin,ryanofsky/bitcoin,coinkeeper/2015-06-22_18-36_darkcoin,joshrabinowitz/bitcoin,dan-mi-sun/bitcoin,BitcoinUnlimited/BitcoinUnlimited,nvmd/bitcoin,andres-root/bitcoinxt,slingcoin/sling-market,nikkitan/bitcoin,dmrtsvetkov/flowercoin,donaloconnor/bitcoin,mb300sd/bitcoin,omefire/bitcoin,crowning-/dash,arnuschky/bitcoin,stevemyers/bitcoinxt,mincoin-project/mincoin,domob1812/i0coin,capitalDIGI/DIGI-v-0-10-4,robvanbentem/bitcoin,se3000/bitcoin,untrustbank/litecoin,pouta/bitcoin,mikehearn/bitcoin,Rav3nPL/PLNcoin,my-first/octocoin,simdeveloper/bitcoin,domob1812/huntercore,Thracky/monkeycoin,puticcoin/putic,gavinandresen/bitcoin-git,BitcoinUnlimited/BitcoinUnlimited,dashpay/dash,czr5014iph/bitcoin4e,senadmd/coinmarketwatch,Alonzo-Coeus/bitcoin,antcheck/antcoin,m0gliE/fastcoin-cli,prusnak/bitcoin,cannabiscoindev/cannabiscoin420,prusnak/bitcoin,trippysalmon/bitcoin,Rav3nPL/doubloons-0.10,butterflypay/bitcoin,MikeAmy/bitcoin,RyanLucchese/energi,BTCGPU/BTCGPU,Rav3nPL/bitcoin,ahmedbodi/temp_vert,faircoin/faircoin,coinerd/krugercoin,Rav3nPL/bitcoin,unsystemizer/bitcoin,pouta/bitcoin,digibyte/digibyte,knolza/gamblr,randy-waterhouse/bitcoin,MarcoFalke/bitcoin,daveperkins-github/bitcoin-dev,ZiftrCOIN/ziftrcoin,Vsync-project/Vsync,guncoin/guncoin,Bloom-Project/Bloom,CryptArc/bitcoinxt,constantine001/bitcoin,gmaxwell/bitcoin,bcpki/testblocks,jonasnick/bitcoin,matlongsi/micropay,antonio-fr/bitcoin,shouhuas/bitcoin,bitreserve/bitcoin,NicolasDorier/bitcoin,MarcoFalke/bitcoin,lbryio/lbrycrd,litecoin-project/bitcoinomg,odemolliens/bitcoinxt,fedoracoin-dev/fedoracoin,rnicoll/dogecoin,worldbit/worldbit,cqtenq/feathercoin_core,Vsync-project/Vsync,mitchellcash/bitcoin,Exgibichi/statusquo,GroestlCoin/GroestlCoin,starwels/starwels,DGCDev/argentum,initaldk/bitcoin,tropa/axecoin,dmrtsvetkov/flowercoin,MikeAmy/bitcoin,SoreGums/bitcoinxt,isghe/bitcoinxt,2XL/bitcoin,andreaskern/bitcoin,Alex-van-der-Peet/bitcoin,deuscoin/deuscoin,mycointest/owncoin,Kenwhite23/litecoin,ionomy/ion,lclc/bitcoin,particl/particl-core,Cloudsy/bitcoin,ptschip/bitcoinxt,sstone/bitcoin,kirkalx/bitcoin,Anfauglith/iop-hd,dexX7/bitcoin,drwasho/bitcoinxt,grumpydevelop/singularity,gravio-net/graviocoin,acid1789/bitcoin,mikehearn/bitcoinxt,funkshelper/woodcoin-b,jonghyeopkim/bitcoinxt,Anfauglith/iop-hd,wangxinxi/litecoin,Rav3nPL/bitcoin,Bitcoinsulting/bitcoinxt,JeremyRand/namecore,syscoin/syscoin2,inutoshi/inutoshi,NunoEdgarGub1/elements,keo/bitcoin,coinkeeper/2015-06-22_18-39_feathercoin,Har01d/bitcoin,trippysalmon/bitcoin,wbchen99/bitcoin-hnote0,dogecoin/dogecoin,tmagik/catcoin,peercoin/peercoin,Theshadow4all/ShadowCoin,Mrs-X/PIVX,cheehieu/bitcoin,loxal/zcash,RHavar/bitcoin,gmaxwell/bitcoin,benzmuircroft/REWIRE.io,neuroidss/bitcoin,untrustbank/litecoin,haisee/dogecoin,LIMXTEC/DMDv3,isghe/bitcoinxt,freelion93/mtucicoin,zottejos/merelcoin,Kore-Core/kore,pascalguru/florincoin,haobtc/bitcoin,bitcoinsSG/zcash,bitcoinplusorg/xbcwalletsource,cybermatatu/bitcoin,prark/bitcoinxt,chaincoin/chaincoin,Gazer022/bitcoin,iosdevzone/bitcoin,TripleSpeeder/bitcoin,genavarov/ladacoin,nailtaras/nailcoin,brandonrobertz/namecoin-core,cotner/bitcoin,nathaniel-mahieu/bitcoin,rebroad/bitcoin,martindale/elements,Thracky/monkeycoin,tuaris/bitcoin,projectinterzone/ITZ,puticcoin/putic,romanornr/viacoin,welshjf/bitcoin,nailtaras/nailcoin,shelvenzhou/BTCGPU,shea256/bitcoin,Jeff88Ho/bitcoin,collapsedev/cashwatt,bmp02050/ReddcoinUpdates,willwray/dash,xawksow/GroestlCoin,BitcoinUnlimited/BitcoinUnlimited,ClusterCoin/ClusterCoin,bittylicious/bitcoin,langerhans/dogecoin,nomnombtc/bitcoin,cyrixhero/bitcoin,royosherove/bitcoinxt,jamesob/bitcoin,theuni/bitcoin,DMDcoin/Diamond,llluiop/bitcoin,Mirobit/bitcoin,reddcoin-project/reddcoin,HashUnlimited/Einsteinium-Unlimited,phelix/namecore,21E14/bitcoin,metacoin/florincoin,kirkalx/bitcoin,appop/bitcoin,tdudz/elements,LIMXTEC/DMDv3,bittylicious/bitcoin,Kixunil/keynescoin,coinkeeper/2015-06-22_18-52_viacoin,Lucky7Studio/bitcoin,superjudge/bitcoin,marlengit/BitcoinUnlimited,MazaCoin/mazacoin-new,JeremyRubin/bitcoin,schildbach/bitcoin,kallewoof/bitcoin,keesdewit82/LasVegasCoin,OmniLayer/omnicore,MonetaryUnit/MUE-Src,joulecoin/joulecoin,drwasho/bitcoinxt,MasterX1582/bitcoin-becoin,pataquets/namecoin-core,Kangmo/bitcoin,Mirobit/bitcoin,prusnak/bitcoin,BlockchainTechLLC/3dcoin,core-bitcoin/bitcoin,Christewart/bitcoin,kleetus/bitcoinxt,LIMXTEC/DMDv3,willwray/dash,myriadcoin/myriadcoin,patricklodder/dogecoin,NateBrune/bitcoin-nate,mm-s/bitcoin,superjudge/bitcoin,stevemyers/bitcoinxt,axelxod/braincoin,NicolasDorier/bitcoin,dashpay/dash,tedlz123/Bitcoin,zetacoin/zetacoin,habibmasuro/bitcoinxt,deadalnix/bitcoin,sebrandon1/bitcoin,174high/bitcoin,sbaks0820/bitcoin,HeliumGas/helium,btcdrak/bitcoin,Mrs-X/Darknet,ericshawlinux/bitcoin,tjth/lotterycoin,oklink-dev/bitcoin_block,gavinandresen/bitcoin-git,cryptoprojects/ultimateonlinecash,sbellem/bitcoin,sbellem/bitcoin,dgarage/bc3,Exceltior/dogecoin,theuni/bitcoin,hyperwang/bitcoin,Mrs-X/PIVX,ionomy/ion,bankonmecoin/bitcoin,NunoEdgarGub1/elements,funkshelper/woodcoin-b,jrick/bitcoin,pinkevich/dash,ptschip/bitcoin,ajweiss/bitcoin,tjps/bitcoin,KaSt/ekwicoin,gapcoin/gapcoin,bitreserve/bitcoin,NateBrune/bitcoin-fio,n1bor/bitcoin,bickojima/bitzeny,sugruedes/bitcoinxt,GreenParhelia/bitcoin,TeamBitBean/bitcoin-core,nsacoin/nsacoin,Bitcoin-ABC/bitcoin-abc,greencoin-dev/digitalcoin,basicincome/unpcoin-core,appop/bitcoin,zander/bitcoinclassic,marlengit/hardfork_prototype_1_mvf-bu,Christewart/bitcoin,jeromewu/bitcoin-opennet,alecalve/bitcoin,greencoin-dev/digitalcoin,plncoin/PLNcoin_Core,jameshilliard/bitcoin,nigeriacoin/nigeriacoin,pinheadmz/bitcoin,GlobalBoost/GlobalBoost,shea256/bitcoin,senadmd/coinmarketwatch,coinkeeper/2015-06-22_19-07_digitalcoin,ivansib/sibcoin,truthcoin/blocksize-market,kleetus/bitcoinxt,mitchellcash/bitcoin,koharjidan/dogecoin,vericoin/vericoin-core,qtumproject/qtum,OmniLayer/omnicore,nlgcoin/guldencoin-official,ericshawlinux/bitcoin,imton/bitcoin,meighti/bitcoin,mycointest/owncoin,Kore-Core/kore,Kcoin-project/kcoin,wangxinxi/litecoin,Bitcoin-ABC/bitcoin-abc,world-bank/unpay-core,bickojima/bitzeny,vericoin/vericoin-core,TierNolan/bitcoin,koharjidan/litecoin,RyanLucchese/energi,oklink-dev/bitcoin,RongxinZhang/bitcoinxt,segwit/atbcoin-insight,DGCDev/digitalcoin,elliotolds/bitcoin,x-kalux/bitcoin_WiG-B,vtafaucet/virtacoin,xurantju/bitcoin,inutoshi/inutoshi,DMDcoin/Diamond,litecoin-project/litecore-litecoin,leofidus/glowing-octo-ironman,wcwu/bitcoin,nmarley/dash,1185/starwels,pouta/bitcoin,monacoinproject/monacoin,mockcoin/mockcoin,mockcoin/mockcoin,parvez3019/bitcoin,Justaphf/BitcoinUnlimited,ingresscoin/ingresscoin,midnightmagic/bitcoin,balajinandhu/bitcoin,ArgonToken/ArgonToken,janko33bd/bitcoin,cculianu/bitcoin-abc,bitcoinplusorg/xbcwalletsource,dagurval/bitcoinxt,ingresscoin/ingresscoin,magacoin/magacoin,haraldh/bitcoin,vlajos/bitcoin,ivansib/sib16,spiritlinxl/BTCGPU,karek314/bitcoin,KibiCoin/kibicoin,tjth/lotterycoin,truthcoin/truthcoin-cpp,amaivsimau/bitcoin,xieta/mincoin,jl2012/litecoin,Diapolo/bitcoin,wiggi/huntercore,dperel/bitcoin,DSPay/DSPay,sbellem/bitcoin,nightlydash/darkcoin,ixcoinofficialpage/master,nomnombtc/bitcoin,bitcoinplusorg/xbcwalletsource,ixcoinofficialpage/master,droark/bitcoin,JeremyRand/namecore,dannyperez/bolivarcoin,midnight-miner/LasVegasCoin,FinalHashLLC/namecore,cannabiscoindev/cannabiscoin420,cdecker/bitcoin,Vector2000/bitcoin,gandrewstone/BitcoinUnlimited,axelxod/braincoin,OmniLayer/omnicore,florincoin/florincoin,freelion93/mtucicoin,trippysalmon/bitcoin,OstlerDev/florincoin,royosherove/bitcoinxt,safecoin/safecoin,nvmd/bitcoin,llluiop/bitcoin,shelvenzhou/BTCGPU,40thoughts/Coin-QualCoin,jl2012/litecoin,rebroad/bitcoin,deuscoin/deuscoin,NateBrune/bitcoin-nate,tuaris/bitcoin,yenliangl/bitcoin,keo/bitcoin,ppcoin/ppcoin,ftrader-bitcoinabc/bitcoin-abc,welshjf/bitcoin,Petr-Economissa/gvidon,aspanta/bitcoin,pataquets/namecoin-core,BitcoinHardfork/bitcoin,digideskio/namecoin,isocolsky/bitcoinxt,metacoin/florincoin,isghe/bitcoinxt,awemany/BitcoinUnlimited,GIJensen/bitcoin,GlobalBoost/GlobalBoost,spiritlinxl/BTCGPU,pascalguru/florincoin,zcoinofficial/zcoin,sipsorcery/bitcoin,likecoin-dev/bitcoin,TBoehm/greedynode,romanornr/viacoin,sirk390/bitcoin,vmp32k/litecoin,thelazier/dash,jmgilbert2/energi,keesdewit82/LasVegasCoin,ptschip/bitcoin,fedoracoin-dev/fedoracoin,Flowdalic/bitcoin,Bitcoin-com/BUcash,KaSt/ekwicoin,Chancoin-core/CHANCOIN,sipsorcery/bitcoin,dashpay/dash,rdqw/sscoin,apoelstra/elements,oklink-dev/bitcoin_block,viacoin/viacoin,2XL/bitcoin,safecoin/safecoin,jonasschnelli/bitcoin,litecoin-project/litecoin,MasterX1582/bitcoin-becoin,destenson/bitcoin--bitcoin,litecoin-project/litecoin,HashUnlimited/Einsteinium-Unlimited,Michagogo/bitcoin,nlgcoin/guldencoin-official,kallewoof/elements,brishtiteveja/truthcoin-cpp,wbchen99/bitcoin-hnote0,nsacoin/nsacoin,rnicoll/bitcoin,rat4/bitcoin,gapcoin/gapcoin,zcoinofficial/zcoin,patricklodder/dogecoin,cqtenq/feathercoin_core,putinclassic/putic,Ziftr/bitcoin,CryptArc/bitcoinxt,sirk390/bitcoin,GroundRod/anoncoin,ZiftrCOIN/ziftrcoin,apoelstra/elements,AllanDoensen/BitcoinUnlimited,Ziftr/bitcoin,lakepay/lake,BTCfork/hardfork_prototype_1_mvf-bu,BitcoinPOW/BitcoinPOW,butterflypay/bitcoin,awemany/BitcoinUnlimited,dan-mi-sun/bitcoin,btc1/bitcoin,PRabahy/bitcoin,itmanagerro/tresting,nailtaras/nailcoin,accraze/bitcoin,JeremyRubin/bitcoin,bitjson/hivemind,111t8e/bitcoin,brishtiteveja/sherlockcoin,r8921039/bitcoin,wtogami/bitcoin,ekankyesme/bitcoinxt,BTCfork/hardfork_prototype_1_mvf-bu,marcusdiaz/BitcoinUnlimited,CoinProjects/AmsterdamCoin-v4,kaostao/bitcoin,syscoin/syscoin,fussl/elements,ahmedbodi/test2,antcheck/antcoin,nightlydash/darkcoin,HeliumGas/helium,kallewoof/elements,Cocosoft/bitcoin,CodeShark/bitcoin,zottejos/merelcoin,ahmedbodi/terracoin,cerebrus29301/crowncoin,reddcoin-project/reddcoin,ardsu/bitcoin,namecoin/namecoin-core,mobicoins/mobicoin-core,nsacoin/nsacoin,bitjson/hivemind,jeromewu/bitcoin-opennet,pelorusjack/BlockDX,xieta/mincoin,goldcoin/goldcoin,prusnak/bitcoin,stevemyers/bitcoinxt,coinkeeper/2015-06-22_18-52_viacoin,bitcoinknots/bitcoin,paveljanik/bitcoin,joshrabinowitz/bitcoin,marklai9999/Taiwancoin,CoinProjects/AmsterdamCoin-v4,JeremyRubin/bitcoin,imton/bitcoin,kaostao/bitcoin,NicolasDorier/bitcoin,wangxinxi/litecoin,sugruedes/bitcoinxt,digibyte/digibyte,CTRoundTable/Encrypted.Cash,fussl/elements,cerebrus29301/crowncoin,wtogami/bitcoin,PRabahy/bitcoin,ShwoognationHQ/bitcoin,OstlerDev/florincoin,thesoftwarejedi/bitcoin,rnicoll/bitcoin,hasanatkazmi/bitcoin,npccoin/npccoin,jmgilbert2/energi,awemany/BitcoinUnlimited,lclc/bitcoin,nomnombtc/bitcoin,funkshelper/woodcoin-b,bcpki/testblocks,phelix/bitcoin,DMDcoin/Diamond,blocktrail/bitcoin,braydonf/bitcoin,MasterX1582/bitcoin-becoin,segsignal/bitcoin,DigiByte-Team/digibyte,ColossusCoinXT/ColossusCoinXT,bitcoinec/bitcoinec,gavinandresen/bitcoin-git,benosa/bitcoin,aniemerg/zcash,funbucks/notbitcoinxt,digideskio/namecoin,thormuller/yescoin2,daveperkins-github/bitcoin-dev,REAP720801/bitcoin,joshrabinowitz/bitcoin,bespike/litecoin,namecoin/namecore,botland/bitcoin,namecoin/namecoin-core,ediston/energi,masterbraz/dg,h4x3rotab/BTCGPU,benzmuircroft/REWIRE.io,ahmedbodi/vertcoin,DSPay/DSPay,mycointest/owncoin,habibmasuro/bitcoin,dexX7/bitcoin,matlongsi/micropay,GreenParhelia/bitcoin,itmanagerro/tresting,Flurbos/Flurbo,kazcw/bitcoin,oklink-dev/bitcoin_block,Flowdalic/bitcoin,imton/bitcoin,ixcoinofficialpage/master,111t8e/bitcoin,torresalyssa/bitcoin,goku1997/bitcoin,coinkeeper/2015-06-22_18-31_bitcoin,thelazier/dash,Exgibichi/statusquo,kazcw/bitcoin,DynamicCoinOrg/DMC,CodeShark/bitcoin,MazaCoin/mazacoin-new,domob1812/i0coin,Flowdalic/bitcoin,rromanchuk/bitcoinxt,worldbit/worldbit,mruddy/bitcoin,pelorusjack/BlockDX,sipa/elements,PIVX-Project/PIVX,zixan/bitcoin,Kcoin-project/kcoin,ShadowMyst/creativechain-core,Bitcoin-ABC/bitcoin-abc,cyrixhero/bitcoin,NateBrune/bitcoin-nate,shaulkf/bitcoin,joulecoin/joulecoin,lbrtcoin/albertcoin,Flurbos/Flurbo,earonesty/bitcoin,globaltoken/globaltoken,AllanDoensen/BitcoinUnlimited,2XL/bitcoin,NateBrune/bitcoin-fio,pinheadmz/bitcoin,r8921039/bitcoin,Bitcoin-ABC/bitcoin-abc,vertcoin/vertcoin,bitcoinplusorg/xbcwalletsource,Kangmo/bitcoin,czr5014iph/bitcoin4e,gravio-net/graviocoin,mockcoin/mockcoin,jeromewu/bitcoin-opennet,gazbert/bitcoin,mm-s/bitcoin,Alonzo-Coeus/bitcoin,zsulocal/bitcoin,marklai9999/Taiwancoin,benma/bitcoin,domob1812/huntercore,supcoin/supcoin,genavarov/ladacoin,magacoin/magacoin,ajtowns/bitcoin,mikehearn/bitcoinxt,gavinandresen/bitcoin-git,ajtowns/bitcoin,digibyte/digibyte,joulecoin/joulecoin,midnightmagic/bitcoin,daliwangi/bitcoin,jrmithdobbs/bitcoin,capitalDIGI/litecoin,GroestlCoin/bitcoin,argentumproject/argentum,cddjr/BitcoinUnlimited,Kenwhite23/litecoin,zetacoin/zetacoin,brandonrobertz/namecoin-core,daveperkins-github/bitcoin-dev,joulecoin/joulecoin,sirk390/bitcoin,ajweiss/bitcoin,JeremyRand/bitcoin,nathaniel-mahieu/bitcoin,Vector2000/bitcoin,hophacker/bitcoin_malleability,jimmykiselak/lbrycrd,midnightmagic/bitcoin,puticcoin/putic,thrasher-/litecoin,crowning-/dash,domob1812/namecore,RongxinZhang/bitcoinxt,loxal/zcash,ludbb/bitcoin,syscoin/syscoin,markf78/dollarcoin,odemolliens/bitcoinxt,psionin/smartcoin,andreaskern/bitcoin,Electronic-Gulden-Foundation/egulden,UASF/bitcoin,nightlydash/darkcoin,ptschip/bitcoin,wangxinxi/litecoin,greenaddress/bitcoin,DigitalPandacoin/pandacoin,truthcoin/truthcoin-cpp,zcoinofficial/zcoin,inutoshi/inutoshi,cqtenq/feathercoin_core,cybermatatu/bitcoin,theuni/bitcoin,superjudge/bitcoin,48thct2jtnf/P,dgarage/bc3,DSPay/DSPay,mapineda/litecoin,dexX7/bitcoin,BTCDDev/bitcoin,DynamicCoinOrg/DMC,BitcoinHardfork/bitcoin,se3000/bitcoin,pinkevich/dash,isocolsky/bitcoinxt,BTCDDev/bitcoin,Michagogo/bitcoin,Rav3nPL/polcoin,KnCMiner/bitcoin,prark/bitcoinxt,cryptoprojects/ultimateonlinecash,earonesty/bitcoin,TripleSpeeder/bitcoin,ericshawlinux/bitcoin,iosdevzone/bitcoin,aspanta/bitcoin,shouhuas/bitcoin,mb300sd/bitcoin,apoelstra/bitcoin,RyanLucchese/energi,Cocosoft/bitcoin,cryptodev35/icash,nailtaras/nailcoin,Alonzo-Coeus/bitcoin,Flowdalic/bitcoin,bitpay/bitcoin,pouta/bitcoin,benzmuircroft/REWIRE.io,BitcoinPOW/BitcoinPOW,biblepay/biblepay,okinc/bitcoin,rustyrussell/bitcoin,hsavit1/bitcoin,worldbit/worldbit,Kore-Core/kore,wangxinxi/litecoin,174high/bitcoin,sbaks0820/bitcoin,worldbit/worldbit,ftrader-bitcoinunlimited/hardfork_prototype_1_mvf-bu,brishtiteveja/truthcoin-cpp,bmp02050/ReddcoinUpdates,masterbraz/dg,practicalswift/bitcoin,collapsedev/cashwatt,Kore-Core/kore,droark/bitcoin,coinkeeper/2015-06-22_19-00_ziftrcoin,knolza/gamblr,REAP720801/bitcoin,earonesty/bitcoin,TheBlueMatt/bitcoin,BitzenyCoreDevelopers/bitzeny,balajinandhu/bitcoin,parvez3019/bitcoin,meighti/bitcoin,vmp32k/litecoin,antcheck/antcoin,MeshCollider/bitcoin,segsignal/bitcoin,segwit/atbcoin-insight,Chancoin-core/CHANCOIN,PIVX-Project/PIVX,royosherove/bitcoinxt,TheBlueMatt/bitcoin,JeremyRand/namecoin-core,koharjidan/bitcoin,ppcoin/ppcoin,ludbb/bitcoin,antcheck/antcoin,oklink-dev/bitcoin,habibmasuro/bitcoin,atgreen/bitcoin,uphold/bitcoin,tuaris/bitcoin,oklink-dev/bitcoin_block,pelorusjack/BlockDX,jonasnick/bitcoin,Jcing95/iop-hd,xuyangcn/opalcoin,hophacker/bitcoin_malleability,namecoin/namecore,rjshaver/bitcoin,habibmasuro/bitcoin,karek314/bitcoin,midnightmagic/bitcoin,core-bitcoin/bitcoin,gameunits/gameunits,koharjidan/litecoin,ahmedbodi/test2,bitreserve/bitcoin,bitcoinsSG/zcash,ryanxcharles/bitcoin,scippio/bitcoin,KnCMiner/bitcoin,ptschip/bitcoinxt,HashUnlimited/Einsteinium-Unlimited,ediston/energi,joulecoin/joulecoin,koharjidan/litecoin,coinwarp/dogecoin,coinkeeper/2015-06-22_18-36_darkcoin,TripleSpeeder/bitcoin,krzysztofwos/BitcoinUnlimited,AkioNak/bitcoin,Sjors/bitcoin,phplaboratory/psiacoin,multicoins/marycoin,paveljanik/bitcoin,freelion93/mtucicoin,Darknet-Crypto/Darknet,PRabahy/bitcoin,bitcoin-hivemind/hivemind,mobicoins/mobicoin-core,dgarage/bc2,hsavit1/bitcoin,sdaftuar/bitcoin,constantine001/bitcoin,llluiop/bitcoin,OmniLayer/omnicore,RibbitFROG/ribbitcoin,lbrtcoin/albertcoin,bankonmecoin/bitcoin,benzmuircroft/REWIRE.io,Theshadow4all/ShadowCoin,elliotolds/bitcoin,reorder/viacoin,kleetus/bitcoinxt,svost/bitcoin,credits-currency/credits,wiggi/huntercore,sdaftuar/bitcoin,11755033isaprimenumber/Feathercoin,genavarov/lamacoin,phelix/bitcoin,r8921039/bitcoin,mrbandrews/bitcoin,CryptArc/bitcoin,SartoNess/BitcoinUnlimited,putinclassic/putic,ravenbyron/phtevencoin,oklink-dev/bitcoin_block,thesoftwarejedi/bitcoin,nbenoit/bitcoin,crowning2/dash,DigitalPandacoin/pandacoin,genavarov/brcoin,dan-mi-sun/bitcoin,langerhans/dogecoin,jarymoth/dogecoin,knolza/gamblr,vcoin-project/vcoincore,cheehieu/bitcoin,okinc/bitcoin,cryptodev35/icash,kazcw/bitcoin,zcoinofficial/zcoin,kirkalx/bitcoin,zcoinofficial/zcoin,fussl/elements,RHavar/bitcoin,daliwangi/bitcoin,pstratem/elements,GwangJin/gwangmoney-core,Sjors/bitcoin,Cocosoft/bitcoin,zenywallet/bitzeny,vlajos/bitcoin,goku1997/bitcoin,myriadcoin/myriadcoin,Bitcoin-ABC/bitcoin-abc,practicalswift/bitcoin,coinkeeper/2015-06-22_18-31_bitcoin,initaldk/bitcoin,grumpydevelop/singularity,ptschip/bitcoinxt,presstab/PIVX,haisee/dogecoin,reddink/reddcoin,upgradeadvice/MUE-Src,bitreserve/bitcoin,REAP720801/bitcoin,Anfauglith/iop-hd,domob1812/huntercore,cerebrus29301/crowncoin,ZiftrCOIN/ziftrcoin,knolza/gamblr,DogTagRecon/Still-Leraning,x-kalux/bitcoin_WiG-B,Jeff88Ho/bitcoin,Thracky/monkeycoin,tedlz123/Bitcoin,bitcoin/bitcoin,emc2foundation/einsteinium,truthcoin/truthcoin-cpp,globaltoken/globaltoken,RazorLove/cloaked-octo-spice,truthcoin/blocksize-market,syscoin/syscoin,Jcing95/iop-hd,metacoin/florincoin,leofidus/glowing-octo-ironman,rnicoll/dogecoin,pstratem/bitcoin,practicalswift/bitcoin,sickpig/BitcoinUnlimited,gandrewstone/bitcoinxt,denverl/bitcoin,GreenParhelia/bitcoin,accraze/bitcoin,skaht/bitcoin,fsb4000/bitcoin,chaincoin/chaincoin,karek314/bitcoin,oklink-dev/bitcoin_block,thelazier/dash,Anoncoin/anoncoin,fullcoins/fullcoin,diggcoin/diggcoin,bitcoinsSG/zcash,kbccoin/kbc,rnicoll/bitcoin,antonio-fr/bitcoin,TGDiamond/Diamond,atgreen/bitcoin,bcpki/nonce2,wcwu/bitcoin,cddjr/BitcoinUnlimited,ravenbyron/phtevencoin,mycointest/owncoin,tropa/axecoin,fanquake/bitcoin,Bushstar/UFO-Project,Electronic-Gulden-Foundation/egulden,GIJensen/bitcoin,RibbitFROG/ribbitcoin,RibbitFROG/ribbitcoin,Lucky7Studio/bitcoin,digideskio/namecoin,mastercoin-MSC/mastercore,KibiCoin/kibicoin,GroestlCoin/GroestlCoin,Kogser/bitcoin,laudaa/bitcoin,magacoin/magacoin,imton/bitcoin,tmagik/catcoin,xawksow/GroestlCoin,mincoin-project/mincoin,Sjors/bitcoin,janko33bd/bitcoin,meighti/bitcoin,bankonmecoin/bitcoin,droark/bitcoin,goldcoin/Goldcoin-GLD,namecoin/namecore,basicincome/unpcoin-core,BitcoinUnlimited/BitcoinUnlimited,lateminer/bitcoin,zixan/bitcoin,pataquets/namecoin-core,TeamBitBean/bitcoin-core,emc2foundation/einsteinium,credits-currency/credits,irvingruan/bitcoin,vertcoin/vertcoin,CodeShark/bitcoin,ShadowMyst/creativechain-core,fedoracoin-dev/fedoracoin,mruddy/bitcoin,jonasnick/bitcoin,myriadcoin/myriadcoin,riecoin/riecoin,BigBlueCeiling/augmentacoin,florincoin/florincoin,simonmulser/bitcoin,starwels/starwels,RazorLove/cloaked-octo-spice,syscoin/syscoin2,MonetaryUnit/MUE-Src,goldcoin/Goldcoin-GLD,brandonrobertz/namecoin-core,jakeva/bitcoin-pwcheck,174high/bitcoin,11755033isaprimenumber/Feathercoin,thormuller/yescoin2,CryptArc/bitcoin,2XL/bitcoin,globaltoken/globaltoken,Chancoin-core/CHANCOIN,magacoin/magacoin,litecoin-project/bitcoinomg,ludbb/bitcoin,reddink/reddcoin,shaolinfry/litecoin,fujicoin/fujicoin,romanornr/viacoin,Bloom-Project/Bloom,NateBrune/bitcoin-fio,core-bitcoin/bitcoin,jimmysong/bitcoin,robvanbentem/bitcoin,funkshelper/woodcoin-b,domob1812/huntercore,Rav3nPL/doubloons-0.10,FeatherCoin/Feathercoin,JeremyRand/namecoin-core,diggcoin/diggcoin,Rav3nPL/PLNcoin,ahmedbodi/test2,earonesty/bitcoin,40thoughts/Coin-QualCoin,loxal/zcash,segsignal/bitcoin,mb300sd/bitcoin,ElementsProject/elements,habibmasuro/bitcoinxt,nlgcoin/guldencoin-official,gameunits/gameunits,instagibbs/bitcoin,projectinterzone/ITZ,scmorse/bitcoin,NunoEdgarGub1/elements,TGDiamond/Diamond,SartoNess/BitcoinUnlimited,Bitcoinsulting/bitcoinxt,BTCfork/hardfork_prototype_1_mvf-core,goldcoin/Goldcoin-GLD,cheehieu/bitcoin,dgenr8/bitcoinxt,hyperwang/bitcoin,slingcoin/sling-market,romanornr/viacoin,tjth/lotterycoin,cddjr/BitcoinUnlimited,1185/starwels,JeremyRand/bitcoin,bcpki/nonce2,ryanxcharles/bitcoin,cmgustavo/bitcoin,Anoncoin/anoncoin,GlobalBoost/GlobalBoost,apoelstra/bitcoin,DGCDev/argentum,marklai9999/Taiwancoin,cotner/bitcoin,111t8e/bitcoin,qtumproject/qtum,bespike/litecoin,MonetaryUnit/MUE-Src,zsulocal/bitcoin,bdelzell/creditcoin-org-creditcoin,ClusterCoin/ClusterCoin,phelix/namecore,GIJensen/bitcoin,braydonf/bitcoin,dgarage/bc2,xawksow/GroestlCoin,KibiCoin/kibicoin,bcpki/testblocks,segwit/atbcoin-insight,GwangJin/gwangmoney-core,morcos/bitcoin,Tetpay/bitcoin,jonasnick/bitcoin,lbrtcoin/albertcoin,diggcoin/diggcoin,axelxod/braincoin,goku1997/bitcoin,bankonmecoin/bitcoin,starwels/starwels,upgradeadvice/MUE-Src,arruah/ensocoin,gavinandresen/bitcoin-git,GlobalBoost/GlobalBoost,diggcoin/diggcoin,fussl/elements,AdrianaDinca/bitcoin,OstlerDev/florincoin,ashleyholman/bitcoin,ftrader-bitcoinabc/bitcoin-abc,bitcoinsSG/zcash,denverl/bitcoin,aburan28/elements,BitcoinHardfork/bitcoin,syscoin/syscoin,bitpay/bitcoin,constantine001/bitcoin,hsavit1/bitcoin,robvanbentem/bitcoin,marlengit/hardfork_prototype_1_mvf-bu,pinheadmz/bitcoin,imharrywu/fastcoin,cheehieu/bitcoin,gandrewstone/bitcoinxt,Kcoin-project/kcoin,pascalguru/florincoin,Bitcoin-ABC/bitcoin-abc,fujicoin/fujicoin,bdelzell/creditcoin-org-creditcoin,sugruedes/bitcoinxt,reddcoin-project/reddcoin,Cloudsy/bitcoin,droark/bitcoin,gzuser01/zetacoin-bitcoin,xieta/mincoin,dgarage/bc2,vcoin-project/vcoincore,ahmedbodi/vertcoin,Vector2000/bitcoin,willwray/dash,jtimon/bitcoin,syscoin/syscoin2,nvmd/bitcoin,bespike/litecoin,dcousens/bitcoin,adpg211/bitcoin-master,wangliu/bitcoin,daliwangi/bitcoin,zixan/bitcoin,wbchen99/bitcoin-hnote0,RongxinZhang/bitcoinxt,segsignal/bitcoin,Mrs-X/PIVX,greencoin-dev/digitalcoin,GlobalBoost/GlobalBoost,vmp32k/litecoin,amaivsimau/bitcoin,arnuschky/bitcoin,x-kalux/bitcoin_WiG-B,UFOCoins/ufo,dev1972/Satellitecoin,sipsorcery/bitcoin,arnuschky/bitcoin,kfitzgerald/titcoin,RongxinZhang/bitcoinxt,xieta/mincoin,ColossusCoinXT/ColossusCoinXT,lbryio/lbrycrd,torresalyssa/bitcoin,zenywallet/bitzeny,lclc/bitcoin,zetacoin/zetacoin,djpnewton/bitcoin,coinkeeper/2015-06-22_18-31_bitcoin,sstone/bitcoin,bcpki/nonce2testblocks,octocoin-project/octocoin,gapcoin/gapcoin,Gazer022/bitcoin,KnCMiner/bitcoin,Electronic-Gulden-Foundation/egulden,jmgilbert2/energi,crowning-/dash,lbryio/lbrycrd,my-first/octocoin,tecnovert/particl-core,isle2983/bitcoin,torresalyssa/bitcoin,cybermatatu/bitcoin,BTCTaras/bitcoin,pascalguru/florincoin,goldcoin/goldcoin,dannyperez/bolivarcoin,blocktrail/bitcoin,ptschip/bitcoinxt,ColossusCoinXT/ColossusCoinXT,deuscoin/deuscoin,mikehearn/bitcoin,thrasher-/litecoin,ludbb/bitcoin,sugruedes/bitcoin,isocolsky/bitcoinxt,haisee/dogecoin,jiangyonghang/bitcoin,fanquake/bitcoin,gameunits/gameunits,tecnovert/particl-core,bitbrazilcoin-project/bitbrazilcoin,loxal/zcash,dgenr8/bitcoin,braydonf/bitcoin,jmcorgan/bitcoin,Exceltior/dogecoin,bankonmecoin/bitcoin,my-first/octocoin,keesdewit82/LasVegasCoin,r8921039/bitcoin,kevcooper/bitcoin,sarielsaz/sarielsaz,Exceltior/dogecoin,ripper234/bitcoin,awemany/BitcoinUnlimited,pouta/bitcoin,TrainMAnB/vcoincore,benma/bitcoin,dan-mi-sun/bitcoin,andres-root/bitcoinxt,morcos/bitcoin,afk11/bitcoin,Bitcoin-ABC/bitcoin-abc,thrasher-/litecoin,imharrywu/fastcoin,dannyperez/bolivarcoin,kbccoin/kbc,zcoinofficial/zcoin,truthcoin/truthcoin-cpp,bitcoinsSG/bitcoin,keo/bitcoin,BTCGPU/BTCGPU,zsulocal/bitcoin,BTCfork/hardfork_prototype_1_mvf-bu,argentumproject/argentum,JeremyRand/namecore,Flurbos/Flurbo,pstratem/bitcoin,emc2foundation/einsteinium,earonesty/bitcoin,Bushstar/UFO-Project,lbryio/lbrycrd,qtumproject/qtum,butterflypay/bitcoin,GroestlCoin/bitcoin,djpnewton/bitcoin,millennial83/bitcoin,dmrtsvetkov/flowercoin,bitcoin-hivemind/hivemind,collapsedev/cashwatt,paveljanik/bitcoin,Bitcoin-com/BUcash,pinheadmz/bitcoin,cddjr/BitcoinUnlimited,NunoEdgarGub1/elements,vertcoin/vertcoin,jaromil/faircoin2,jtimon/elements,shaulkf/bitcoin,simdeveloper/bitcoin,LIMXTEC/DMDv3,sebrandon1/bitcoin,yenliangl/bitcoin,Justaphf/BitcoinUnlimited,Michagogo/bitcoin,randy-waterhouse/bitcoin,pataquets/namecoin-core,dpayne9000/Rubixz-Coin,deeponion/deeponion,Michagogo/bitcoin,ArgonToken/ArgonToken,zander/bitcoinclassic,keo/bitcoin,jmcorgan/bitcoin,faircoin/faircoin,Ziftr/bitcoin,kbccoin/kbc,josephbisch/namecoin-core,domob1812/i0coin,bitcoinxt/bitcoinxt,gwillen/elements,rjshaver/bitcoin,JeremyRubin/bitcoin,destenson/bitcoin--bitcoin,wiggi/huntercore,xawksow/GroestlCoin,DigiByte-Team/digibyte,Horrorcoin/horrorcoin,atgreen/bitcoin,lbrtcoin/albertcoin,UFOCoins/ufo,randy-waterhouse/bitcoin,pastday/bitcoinproject,nikkitan/bitcoin,jn2840/bitcoin,Alex-van-der-Peet/bitcoin,syscoin/syscoin2,aspanta/bitcoin,Rav3nPL/polcoin,hasanatkazmi/bitcoin,domob1812/namecore,111t8e/bitcoin,initaldk/bitcoin,rat4/bitcoin,marlengit/BitcoinUnlimited,ripper234/bitcoin,aspanta/bitcoin,stamhe/bitcoin,projectinterzone/ITZ,coinkeeper/2015-06-22_18-52_viacoin,segsignal/bitcoin,sugruedes/bitcoinxt,balajinandhu/bitcoin,neuroidss/bitcoin,lbrtcoin/albertcoin,thormuller/yescoin2,marcusdiaz/BitcoinUnlimited,joroob/reddcoin,masterbraz/dg,yenliangl/bitcoin,sugruedes/bitcoin,accraze/bitcoin,thrasher-/litecoin,supcoin/supcoin,coinkeeper/2015-06-22_18-36_darkcoin,likecoin-dev/bitcoin,vcoin-project/vcoincore,DigitalPandacoin/pandacoin,PIVX-Project/PIVX,ravenbyron/phtevencoin,Cloudsy/bitcoin,Har01d/bitcoin,morcos/bitcoin,FinalHashLLC/namecore,litecoin-project/litecore-litecoin,fedoracoin-dev/fedoracoin,argentumproject/argentum,matlongsi/micropay,ryanofsky/bitcoin,truthcoin/truthcoin-cpp,neuroidss/bitcoin,ryanofsky/bitcoin,domob1812/i0coin,gmaxwell/bitcoin,sipa/bitcoin,cdecker/bitcoin,nsacoin/nsacoin,Earlz/renamedcoin,haraldh/bitcoin,omefire/bitcoin,jrick/bitcoin,Anoncoin/anoncoin,jimmysong/bitcoin,atgreen/bitcoin,nathan-at-least/zcash,jimmykiselak/lbrycrd,joulecoin/joulecoin,mb300sd/bitcoin,vlajos/bitcoin,vtafaucet/virtacoin,ftrader-bitcoinabc/bitcoin-abc,thrasher-/litecoin,AkioNak/bitcoin,kallewoof/bitcoin,vtafaucet/virtacoin,lakepay/lake,MarcoFalke/bitcoin,sbellem/bitcoin,world-bank/unpay-core,oleganza/bitcoin-duo,crowning2/dash,CoinProjects/AmsterdamCoin-v4,parvez3019/bitcoin,thesoftwarejedi/bitcoin,NunoEdgarGub1/elements,JeremyRand/namecoin-core,Kangmo/bitcoin,midnightmagic/bitcoin,kirkalx/bitcoin,Bitcoin-ABC/bitcoin-abc,sstone/bitcoin,zsulocal/bitcoin,nbenoit/bitcoin,greenaddress/bitcoin,blood2/bloodcoin-0.9,gravio-net/graviocoin,AkioNak/bitcoin,CTRoundTable/Encrypted.Cash,ShwoognationHQ/bitcoin,cybermatatu/bitcoin,afk11/bitcoin,ericshawlinux/bitcoin,magacoin/magacoin,constantine001/bitcoin,jakeva/bitcoin-pwcheck,djpnewton/bitcoin,NunoEdgarGub1/elements,TeamBitBean/bitcoin-core,ajweiss/bitcoin,PandaPayProject/PandaPay,ravenbyron/phtevencoin,bitcoinec/bitcoinec,funbucks/notbitcoinxt,UdjinM6/dash,2XL/bitcoin,mruddy/bitcoin,DigiByte-Team/digibyte,czr5014iph/bitcoin4e,ajtowns/bitcoin,MazaCoin/maza,droark/elements,aspanta/bitcoin,gandrewstone/BitcoinUnlimited,jlopp/statoshi,plncoin/PLNcoin_Core,SartoNess/BitcoinUnlimited,namecoin/namecoin-core,steakknife/bitcoin-qt,capitalDIGI/DIGI-v-0-10-4,MarcoFalke/bitcoin,Bloom-Project/Bloom,krzysztofwos/BitcoinUnlimited,mobicoins/mobicoin-core,phelix/namecore,morcos/bitcoin,ahmedbodi/test2,GIJensen/bitcoin,pinheadmz/bitcoin,jrmithdobbs/bitcoin,blocktrail/bitcoin,m0gliE/fastcoin-cli,OmniLayer/omnicore,nikkitan/bitcoin,sbaks0820/bitcoin,czr5014iph/bitcoin4e,paveljanik/bitcoin,174high/bitcoin,instagibbs/bitcoin,drwasho/bitcoinxt,funbucks/notbitcoinxt,hsavit1/bitcoin,freelion93/mtucicoin,GroestlCoin/GroestlCoin,gzuser01/zetacoin-bitcoin,nigeriacoin/nigeriacoin,GreenParhelia/bitcoin,gandrewstone/bitcoinxt,elecoin/elecoin,yenliangl/bitcoin,fujicoin/fujicoin,afk11/bitcoin,laudaa/bitcoin,cyrixhero/bitcoin,jarymoth/dogecoin,funbucks/notbitcoinxt,cddjr/BitcoinUnlimited,btcdrak/bitcoin,TripleSpeeder/bitcoin,braydonf/bitcoin,emc2foundation/einsteinium,xieta/mincoin,SoreGums/bitcoinxt,pataquets/namecoin-core,joshrabinowitz/bitcoin,NateBrune/bitcoin-nate,cerebrus29301/crowncoin,apoelstra/bitcoin,okinc/bitcoin,marklai9999/Taiwancoin,cculianu/bitcoin-abc,domob1812/i0coin,zottejos/merelcoin,axelxod/braincoin,sirk390/bitcoin,MikeAmy/bitcoin,drwasho/bitcoinxt,namecoin/namecoin-core,martindale/elements,jamesob/bitcoin,DGCDev/argentum,Rav3nPL/bitcoin,parvez3019/bitcoin,petertodd/bitcoin,BigBlueCeiling/augmentacoin,vericoin/vericoin-core,PIVX-Project/PIVX,parvez3019/bitcoin,kfitzgerald/titcoin,cqtenq/feathercoin_core,wbchen99/bitcoin-hnote0,iQcoin/iQcoin,BTCfork/hardfork_prototype_1_mvf-core,unsystemizer/bitcoin,ivansib/sibcoin,okinc/bitcoin,bcpki/nonce2testblocks,projectinterzone/ITZ,mrbandrews/bitcoin,maaku/bitcoin,Electronic-Gulden-Foundation/egulden,gmaxwell/bitcoin,MarcoFalke/bitcoin,kallewoof/elements,BitzenyCoreDevelopers/bitzeny,mapineda/litecoin,DigiByte-Team/digibyte,nightlydash/darkcoin,lbrtcoin/albertcoin,untrustbank/litecoin,BigBlueCeiling/augmentacoin,vmp32k/litecoin,randy-waterhouse/bitcoin,Christewart/bitcoin,jl2012/litecoin,putinclassic/putic,ftrader-bitcoinunlimited/hardfork_prototype_1_mvf-bu,superjudge/bitcoin,jameshilliard/bitcoin,Bloom-Project/Bloom,Kenwhite23/litecoin,capitalDIGI/DIGI-v-0-10-4,mikehearn/bitcoin,TBoehm/greedynode,initaldk/bitcoin,millennial83/bitcoin,awemany/BitcoinUnlimited,schinzelh/dash,rustyrussell/bitcoin,jmcorgan/bitcoin,aburan28/elements,isocolsky/bitcoinxt,ctwiz/stardust,bitpay/bitcoin,superjudge/bitcoin,BigBlueCeiling/augmentacoin,dev1972/Satellitecoin,MasterX1582/bitcoin-becoin,ElementsProject/elements,tedlz123/Bitcoin,knolza/gamblr,fussl/elements,NateBrune/bitcoin-fio,shomeser/bitcoin,lbrtcoin/albertcoin,imharrywu/fastcoin,yenliangl/bitcoin,ardsu/bitcoin,bcpki/nonce2,mitchellcash/bitcoin,shaulkf/bitcoin,rdqw/sscoin,MeshCollider/bitcoin,arruah/ensocoin,domob1812/bitcoin,afk11/bitcoin,cmgustavo/bitcoin,keo/bitcoin,ftrader-bitcoinabc/bitcoin-abc,genavarov/lamacoin,FinalHashLLC/namecore,argentumproject/argentum,gwillen/elements,MazaCoin/mazacoin-new,DigitalPandacoin/pandacoin,florincoin/florincoin,MikeAmy/bitcoin,mincoin-project/mincoin,sipa/elements,tdudz/elements,grumpydevelop/singularity,schildbach/bitcoin,tmagik/catcoin,bitcoinec/bitcoinec,krzysztofwos/BitcoinUnlimited,bitjson/hivemind,domob1812/huntercore,coinwarp/dogecoin,accraze/bitcoin,uphold/bitcoin,sickpig/BitcoinUnlimited,zsulocal/bitcoin,BlockchainTechLLC/3dcoin,faircoin/faircoin2,Alonzo-Coeus/bitcoin,StarbuckBG/BTCGPU,aburan28/elements,jambolo/bitcoin,wederw/bitcoin,dscotese/bitcoin,faircoin/faircoin,jtimon/bitcoin,ShadowMyst/creativechain-core,aniemerg/zcash,StarbuckBG/BTCGPU,Har01d/bitcoin,phelix/namecore,jiangyonghang/bitcoin,irvingruan/bitcoin,habibmasuro/bitcoinxt,RyanLucchese/energi,DSPay/DSPay,BlockchainTechLLC/3dcoin,hasanatkazmi/bitcoin,deadalnix/bitcoin,btc1/bitcoin,BTCfork/hardfork_prototype_1_mvf-bu,likecoin-dev/bitcoin,sarielsaz/sarielsaz,shelvenzhou/BTCGPU,ctwiz/stardust,CryptArc/bitcoinxt,Theshadow4all/ShadowCoin,aciddude/Feathercoin,jrick/bitcoin,StarbuckBG/BTCGPU,ryanxcharles/bitcoin,patricklodder/dogecoin,Mirobit/bitcoin,DynamicCoinOrg/DMC,bitcoinknots/bitcoin,aciddude/Feathercoin,dexX7/bitcoin,gravio-net/graviocoin,jarymoth/dogecoin,npccoin/npccoin,koharjidan/dogecoin,dev1972/Satellitecoin,dgarage/bc2,practicalswift/bitcoin,simonmulser/bitcoin,LIMXTEC/DMDv3,Earlz/renamedcoin,jakeva/bitcoin-pwcheck,wangliu/bitcoin,AdrianaDinca/bitcoin,zetacoin/zetacoin,truthcoin/blocksize-market,puticcoin/putic,lateminer/bitcoin,droark/elements,sstone/bitcoin,jimmykiselak/lbrycrd,fullcoins/fullcoin,jl2012/litecoin,ftrader-bitcoinunlimited/hardfork_prototype_1_mvf-bu,mincoin-project/mincoin,Chancoin-core/CHANCOIN,Alex-van-der-Peet/bitcoin,mikehearn/bitcoin,haisee/dogecoin,nathaniel-mahieu/bitcoin,OstlerDev/florincoin,Friedbaumer/litecoin,mm-s/bitcoin,kleetus/bitcoinxt,andres-root/bitcoinxt,multicoins/marycoin,hyperwang/bitcoin,arruah/ensocoin,isghe/bitcoinxt,ionomy/ion,rjshaver/bitcoin,botland/bitcoin,koharjidan/bitcoin,Kogser/bitcoin,coinkeeper/2015-06-22_19-07_digitalcoin,rsdevgun16e/energi,rdqw/sscoin,OmniLayer/omnicore,r8921039/bitcoin,EthanHeilman/bitcoin,DogTagRecon/Still-Leraning,wcwu/bitcoin,FarhanHaque/bitcoin,koharjidan/bitcoin,bickojima/bitzeny,40thoughts/Coin-QualCoin,pastday/bitcoinproject,roques/bitcoin,vtafaucet/virtacoin,gwillen/elements,andreaskern/bitcoin,millennial83/bitcoin,RyanLucchese/energi,czr5014iph/bitcoin4e,axelxod/braincoin,GreenParhelia/bitcoin,syscoin/syscoin2,argentumproject/argentum,tjps/bitcoin,domob1812/namecore,svost/bitcoin,lclc/bitcoin,bitcoinclassic/bitcoinclassic,nvmd/bitcoin,ahmedbodi/terracoin,pastday/bitcoinproject,putinclassic/putic,rebroad/bitcoin,ionomy/ion,Alonzo-Coeus/bitcoin,nlgcoin/guldencoin-official,n1bor/bitcoin,genavarov/ladacoin,butterflypay/bitcoin,CoinProjects/AmsterdamCoin-v4,bdelzell/creditcoin-org-creditcoin,Vector2000/bitcoin,supcoin/supcoin,projectinterzone/ITZ,Lucky7Studio/bitcoin,phelix/namecore,benosa/bitcoin,mikehearn/bitcoin,prusnak/bitcoin,daliwangi/bitcoin,bitcoinxt/bitcoinxt,argentumproject/argentum,alejandromgk/Lunar,laudaa/bitcoin,ardsu/bitcoin,dscotese/bitcoin,haobtc/bitcoin,sdaftuar/bitcoin,iQcoin/iQcoin,odemolliens/bitcoinxt,peercoin/peercoin,deeponion/deeponion,Xekyo/bitcoin,Justaphf/BitcoinUnlimited,qtumproject/qtum,jl2012/litecoin,Theshadow4all/ShadowCoin,nbenoit/bitcoin,cqtenq/feathercoin_core,andreaskern/bitcoin,Flurbos/Flurbo,cannabiscoindev/cannabiscoin420,EntropyFactory/creativechain-core,rjshaver/bitcoin,rsdevgun16e/energi,thelazier/dash,nikkitan/bitcoin,particl/particl-core,namecoin/namecoin-core,cerebrus29301/crowncoin,nlgcoin/guldencoin-official,wcwu/bitcoin,deeponion/deeponion,kleetus/bitcoin,wellenreiter01/Feathercoin,cyrixhero/bitcoin,x-kalux/bitcoin_WiG-B,cybermatatu/bitcoin,yenliangl/bitcoin,sipa/bitcoin,mm-s/bitcoin,laudaa/bitcoin,rebroad/bitcoin,brandonrobertz/namecoin-core,goku1997/bitcoin,imharrywu/fastcoin,vertcoin/vertcoin,rdqw/sscoin,Exgibichi/statusquo,mastercoin-MSC/mastercore,oleganza/bitcoin-duo,40thoughts/Coin-QualCoin,reorder/viacoin,dperel/bitcoin,ryanofsky/bitcoin,joroob/reddcoin,adpg211/bitcoin-master,jonasschnelli/bitcoin,rebroad/bitcoin,spiritlinxl/BTCGPU,ahmedbodi/terracoin,MeshCollider/bitcoin,senadmd/coinmarketwatch,lateminer/bitcoin,gzuser01/zetacoin-bitcoin,masterbraz/dg,DigiByte-Team/digibyte,domob1812/namecore,Petr-Economissa/gvidon,kevcooper/bitcoin,kallewoof/bitcoin,truthcoin/truthcoin-cpp,axelxod/braincoin,bitbrazilcoin-project/bitbrazilcoin,KibiCoin/kibicoin,nomnombtc/bitcoin,slingcoin/sling-market,roques/bitcoin,Petr-Economissa/gvidon,dgarage/bc3,lateminer/bitcoin,Kore-Core/kore,Mrs-X/Darknet,multicoins/marycoin,s-matthew-english/bitcoin,BTCTaras/bitcoin,tjps/bitcoin,nlgcoin/guldencoin-official,maaku/bitcoin,oleganza/bitcoin-duo,jnewbery/bitcoin,world-bank/unpay-core,faircoin/faircoin,welshjf/bitcoin,jambolo/bitcoin,mastercoin-MSC/mastercore,phplaboratory/psiacoin,thesoftwarejedi/bitcoin,psionin/smartcoin,dexX7/mastercore,bitcoinplusorg/xbcwalletsource,Krellan/bitcoin,tropa/axecoin,gmaxwell/bitcoin,inkvisit/sarmacoins,DynamicCoinOrg/DMC,bitreserve/bitcoin,bdelzell/creditcoin-org-creditcoin,josephbisch/namecoin-core,Cloudsy/bitcoin,wiggi/huntercore,alecalve/bitcoin,inkvisit/sarmacoins,droark/bitcoin,sstone/bitcoin,gazbert/bitcoin,wbchen99/bitcoin-hnote0,jonasschnelli/bitcoin,litecoin-project/bitcoinomg,apoelstra/bitcoin,ivansib/sibcoin,gavinandresen/bitcoin-git,isle2983/bitcoin,fujicoin/fujicoin,wbchen99/bitcoin-hnote0,florincoin/florincoin,DigitalPandacoin/pandacoin,2XL/bitcoin,inkvisit/sarmacoins,xawksow/GroestlCoin,phplaboratory/psiacoin,OstlerDev/florincoin,iQcoin/iQcoin,theuni/bitcoin,koharjidan/litecoin,gzuser01/zetacoin-bitcoin,nigeriacoin/nigeriacoin,biblepay/biblepay,mapineda/litecoin,greenaddress/bitcoin,CryptArc/bitcoinxt,StarbuckBG/BTCGPU,Rav3nPL/bitcoin,gandrewstone/bitcoinxt,Anfauglith/iop-hd,robvanbentem/bitcoin,HashUnlimited/Einsteinium-Unlimited,blood2/bloodcoin-0.9,phplaboratory/psiacoin,llluiop/bitcoin,jtimon/bitcoin,pstratem/bitcoin,BitcoinHardfork/bitcoin,plncoin/PLNcoin_Core,MazaCoin/mazacoin-new,KnCMiner/bitcoin,Bitcoin-ABC/bitcoin-abc,zcoinofficial/zcoin,mrbandrews/bitcoin,se3000/bitcoin,jaromil/faircoin2,torresalyssa/bitcoin,denverl/bitcoin,zotherstupidguy/bitcoin,ticclassic/ic,bdelzell/creditcoin-org-creditcoin,TheBlueMatt/bitcoin,shelvenzhou/BTCGPU,karek314/bitcoin,ahmedbodi/test2,rromanchuk/bitcoinxt,TierNolan/bitcoin,Theshadow4all/ShadowCoin,EthanHeilman/bitcoin,karek314/bitcoin,jtimon/bitcoin,hophacker/bitcoin_malleability,daliwangi/bitcoin,achow101/bitcoin,Rav3nPL/doubloons-0.10,midnight-miner/LasVegasCoin,reorder/viacoin,UASF/bitcoin,CodeShark/bitcoin,ftrader-bitcoinabc/bitcoin-abc,EthanHeilman/bitcoin,itmanagerro/tresting,cmgustavo/bitcoin,Har01d/bitcoin,GroestlCoin/GroestlCoin,gmaxwell/bitcoin,sarielsaz/sarielsaz,experiencecoin/experiencecoin,ekankyesme/bitcoinxt,coinerd/krugercoin,PandaPayProject/PandaPay,Kcoin-project/kcoin,domob1812/i0coin,Bitcoin-com/BUcash | ccf3af77c10c3b06acde8ee55930051a862bd728 |
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_
#define WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_
#include "third_party/ppapi/c/pp_var.h"
#define PPB_PRIVATE_INTERFACE "PPB_Private;1"
typedef enum _ppb_ResourceString {
PPB_RESOURCE_STRING_PDF_GET_PASSWORD = 0,
} PP_ResourceString;
typedef struct _ppb_Private {
// Returns a localized string.
PP_Var (*GetLocalizedString)(PP_ResourceString string_id);
} PPB_Private;
#endif // WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_
| // Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_
#define WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_
#include "ppapi/c/pp_var.h"
#define PPB_PRIVATE_INTERFACE "PPB_Private;1"
typedef enum _ppb_ResourceString {
PPB_RESOURCE_STRING_PDF_GET_PASSWORD = 0,
} PP_ResourceString;
typedef struct _ppb_Private {
// Returns a localized string.
PP_Var (*GetLocalizedString)(PP_ResourceString string_id);
} PPB_Private;
#endif // WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_
| ---
+++
@@ -5,7 +5,7 @@
#ifndef WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_
#define WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_
-#include "ppapi/c/pp_var.h"
+#include "third_party/ppapi/c/pp_var.h"
#define PPB_PRIVATE_INTERFACE "PPB_Private;1"
| Add third_party/ prefix to ppapi include for checkdeps.
The only users of this ppb should be inside chrome so this should work fine.
[email protected]
Review URL: http://codereview.chromium.org/3019006
git-svn-id: http://src.chromium.org/svn/trunk/src@52766 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Former-commit-id: b5583121378597058f8f083243d2299fd262e509 | bsd-3-clause | meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser | 822b9fd29f6ce8b69dc2705f04cae44fbb3e78f7 |
// Copyright (c) 2020 The Orbit Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ORBIT_BASE_RESULT_H_
#define ORBIT_BASE_RESULT_H_
#include <string>
#include <type_traits>
#include "outcome.hpp"
class [[nodiscard]] ErrorMessage final {
public:
ErrorMessage() = default;
explicit ErrorMessage(std::string message) : message_(std::move(message)) {}
[[nodiscard]] const std::string& message() const { return message_; }
private:
std::string message_;
};
template <typename T, typename E>
using Result = outcome::result<T, E, outcome::policy::terminate>;
template <typename T>
class [[nodiscard]] ErrorMessageOr : public Result<T, ErrorMessage> {
public:
using Result<T, ErrorMessage>::Result;
operator bool() = delete;
operator bool() const = delete;
};
template <typename T>
struct IsErrorMessageOr : std::false_type {};
template <typename T>
struct IsErrorMessageOr<ErrorMessageOr<T>> : std::true_type {};
#endif // ORBIT_BASE_RESULT_H_
| // Copyright (c) 2020 The Orbit Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ORBIT_BASE_RESULT_H_
#define ORBIT_BASE_RESULT_H_
#include <string>
#include <type_traits>
#include "outcome.hpp"
class ErrorMessage final {
public:
ErrorMessage() = default;
explicit ErrorMessage(std::string message) : message_(std::move(message)) {}
[[nodiscard]] const std::string& message() const { return message_; }
private:
std::string message_;
};
template <typename T, typename E>
using Result = outcome::result<T, E, outcome::policy::terminate>;
template <typename T>
class ErrorMessageOr : public Result<T, ErrorMessage> {
public:
using Result<T, ErrorMessage>::Result;
operator bool() = delete;
operator bool() const = delete;
};
template <typename T>
struct IsErrorMessageOr : std::false_type {};
template <typename T>
struct IsErrorMessageOr<ErrorMessageOr<T>> : std::true_type {};
#endif // ORBIT_BASE_RESULT_H_
| ---
+++
@@ -10,7 +10,7 @@
#include "outcome.hpp"
-class ErrorMessage final {
+class [[nodiscard]] ErrorMessage final {
public:
ErrorMessage() = default;
explicit ErrorMessage(std::string message) : message_(std::move(message)) {}
@@ -25,7 +25,7 @@
using Result = outcome::result<T, E, outcome::policy::terminate>;
template <typename T>
-class ErrorMessageOr : public Result<T, ErrorMessage> {
+class [[nodiscard]] ErrorMessageOr : public Result<T, ErrorMessage> {
public:
using Result<T, ErrorMessage>::Result;
| Add nodiscard to ErrorMessage and ErrorMessageOr
Test: builds
| bsd-2-clause | google/orbit,google/orbit,google/orbit,google/orbit | 0ef3023b55fd36cace3db6e95dfa650485e54569 |
/*
* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef WEBRTC_EXPERIMENTS_H_
#define WEBRTC_EXPERIMENTS_H_
#include "webrtc/typedefs.h"
namespace webrtc {
struct RemoteBitrateEstimatorMinRate {
RemoteBitrateEstimatorMinRate() : min_rate(30000) {}
RemoteBitrateEstimatorMinRate(uint32_t min_rate) : min_rate(min_rate) {}
uint32_t min_rate;
};
struct AimdRemoteRateControl {
AimdRemoteRateControl() : enabled(false) {}
explicit AimdRemoteRateControl(bool set_enabled)
: enabled(set_enabled) {}
virtual ~AimdRemoteRateControl() {}
const bool enabled;
};
} // namespace webrtc
#endif // WEBRTC_EXPERIMENTS_H_
| /*
* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef WEBRTC_EXPERIMENTS_H_
#define WEBRTC_EXPERIMENTS_H_
#include "webrtc/typedefs.h"
namespace webrtc {
struct RemoteBitrateEstimatorMinRate {
RemoteBitrateEstimatorMinRate() : min_rate(30000) {}
RemoteBitrateEstimatorMinRate(uint32_t min_rate) : min_rate(min_rate) {}
uint32_t min_rate;
};
struct SkipEncodingUnusedStreams {
SkipEncodingUnusedStreams() : enabled(false) {}
explicit SkipEncodingUnusedStreams(bool set_enabled)
: enabled(set_enabled) {}
virtual ~SkipEncodingUnusedStreams() {}
const bool enabled;
};
struct AimdRemoteRateControl {
AimdRemoteRateControl() : enabled(false) {}
explicit AimdRemoteRateControl(bool set_enabled)
: enabled(set_enabled) {}
virtual ~AimdRemoteRateControl() {}
const bool enabled;
};
} // namespace webrtc
#endif // WEBRTC_EXPERIMENTS_H_
| ---
+++
@@ -21,15 +21,6 @@
uint32_t min_rate;
};
-struct SkipEncodingUnusedStreams {
- SkipEncodingUnusedStreams() : enabled(false) {}
- explicit SkipEncodingUnusedStreams(bool set_enabled)
- : enabled(set_enabled) {}
- virtual ~SkipEncodingUnusedStreams() {}
-
- const bool enabled;
-};
-
struct AimdRemoteRateControl {
AimdRemoteRateControl() : enabled(false) {}
explicit AimdRemoteRateControl(bool set_enabled) | Remove no longer used SkipEncodingUnusedStreams.
[email protected]
Review URL: https://webrtc-codereview.appspot.com/18829004
git-svn-id: 03ae4fbe531b1eefc9d815f31e49022782c42458@6753 4adac7df-926f-26a2-2b94-8c16560cd09d
| bsd-3-clause | Alkalyne/webrtctrunk,xin3liang/platform_external_chromium_org_third_party_webrtc,geekboxzone/lollipop_external_chromium_org_third_party_webrtc,bpsinc-native/src_third_party_webrtc,svn2github/webrtc-Revision-8758,jgcaaprom/android_external_chromium_org_third_party_webrtc,xin3liang/platform_external_chromium_org_third_party_webrtc,PersonifyInc/chromium_webrtc,geekboxzone/lollipop_external_chromium_org_third_party_webrtc,bpsinc-native/src_third_party_webrtc,jchavanton/webrtc,sippet/webrtc,aleonliao/webrtc-trunk,Alkalyne/webrtctrunk,android-ia/platform_external_chromium_org_third_party_webrtc,bpsinc-native/src_third_party_webrtc,jchavanton/webrtc,bpsinc-native/src_third_party_webrtc,jgcaaprom/android_external_chromium_org_third_party_webrtc,krieger-od/webrtc,bpsinc-native/src_third_party_webrtc,android-ia/platform_external_chromium_org_third_party_webrtc,krieger-od/nwjs_chromium_webrtc,geekboxzone/lollipop_external_chromium_org_third_party_webrtc,jgcaaprom/android_external_chromium_org_third_party_webrtc,aleonliao/webrtc-trunk,sippet/webrtc,aleonliao/webrtc-trunk,krieger-od/nwjs_chromium_webrtc,jgcaaprom/android_external_chromium_org_third_party_webrtc,Omegaphora/external_chromium_org_third_party_webrtc,Omegaphora/external_chromium_org_third_party_webrtc,Alkalyne/webrtctrunk,PersonifyInc/chromium_webrtc,Alkalyne/webrtctrunk,MIPS/external-chromium_org-third_party-webrtc,MIPS/external-chromium_org-third_party-webrtc,Omegaphora/external_chromium_org_third_party_webrtc,bpsinc-native/src_third_party_webrtc,aleonliao/webrtc-trunk,sippet/webrtc,MIPS/external-chromium_org-third_party-webrtc,MIPS/external-chromium_org-third_party-webrtc,android-ia/platform_external_chromium_org_third_party_webrtc,sippet/webrtc,Omegaphora/external_chromium_org_third_party_webrtc,jchavanton/webrtc,aleonliao/webrtc-trunk,android-ia/platform_external_chromium_org_third_party_webrtc,xin3liang/platform_external_chromium_org_third_party_webrtc,Alkalyne/webrtctrunk,android-ia/platform_external_chromium_org_third_party_webrtc,jgcaaprom/android_external_chromium_org_third_party_webrtc,xin3liang/platform_external_chromium_org_third_party_webrtc,krieger-od/nwjs_chromium_webrtc,geekboxzone/lollipop_external_chromium_org_third_party_webrtc,android-ia/platform_external_chromium_org_third_party_webrtc,MIPS/external-chromium_org-third_party-webrtc,jchavanton/webrtc,krieger-od/webrtc,svn2github/webrtc-Revision-8758,bpsinc-native/src_third_party_webrtc,svn2github/webrtc-Revision-8758,xin3liang/platform_external_chromium_org_third_party_webrtc,jgcaaprom/android_external_chromium_org_third_party_webrtc,Alkalyne/webrtctrunk,krieger-od/webrtc,geekboxzone/lollipop_external_chromium_org_third_party_webrtc,PersonifyInc/chromium_webrtc,xin3liang/platform_external_chromium_org_third_party_webrtc,krieger-od/nwjs_chromium_webrtc,MIPS/external-chromium_org-third_party-webrtc,svn2github/webrtc-Revision-8758,krieger-od/webrtc,krieger-od/webrtc,svn2github/webrtc-Revision-8758,Omegaphora/external_chromium_org_third_party_webrtc,Alkalyne/webrtctrunk,MIPS/external-chromium_org-third_party-webrtc,jgcaaprom/android_external_chromium_org_third_party_webrtc,xin3liang/platform_external_chromium_org_third_party_webrtc,Omegaphora/external_chromium_org_third_party_webrtc,geekboxzone/lollipop_external_chromium_org_third_party_webrtc,Alkalyne/webrtctrunk,krieger-od/nwjs_chromium_webrtc,android-ia/platform_external_chromium_org_third_party_webrtc,Omegaphora/external_chromium_org_third_party_webrtc,geekboxzone/lollipop_external_chromium_org_third_party_webrtc,jchavanton/webrtc,jchavanton/webrtc,android-ia/platform_external_chromium_org_third_party_webrtc,PersonifyInc/chromium_webrtc,krieger-od/nwjs_chromium_webrtc,aleonliao/webrtc-trunk,sippet/webrtc,sippet/webrtc,PersonifyInc/chromium_webrtc,jgcaaprom/android_external_chromium_org_third_party_webrtc,svn2github/webrtc-Revision-8758,PersonifyInc/chromium_webrtc,krieger-od/webrtc,Omegaphora/external_chromium_org_third_party_webrtc,jchavanton/webrtc,geekboxzone/lollipop_external_chromium_org_third_party_webrtc,bpsinc-native/src_third_party_webrtc,MIPS/external-chromium_org-third_party-webrtc | 00f7b82571bef17086f65cd6c2f827c565eff40e |
Subsets and Splits